@import url('https://fonts.googleapis.com/css2?family=Cuprum:ital,wght@0,400..700;1,400..700&family=DynaPuff:wght@400..700&family=Lilita+One&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gasoek+One&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin-top: 1980px;
    background-color: #005dd6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow-x: hidden;
}

body {
    background-color: #005dd6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.navbar {
    display: flex;
    position: fixed;
    justify-content: center;
    align-items: center;
    top: 0;
    background-color: #f8f8f8;
    margin: 20px 25px;
    padding: 8px 40px;
    border: 2px solid black;
    border-radius: 30px;
    box-shadow: 3px 3px 0 black;
    z-index: 99;
}

.navbar a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    margin: 0 10px;
    font-family: 'Cuprum';
    padding: 5px;
    transition: 0.3s;
}

.navbar a button {
    font-family: 'Cuprum';
    font-size: 15px;
    font-weight: bold;
    border-radius: 20px;
    padding: 8px 15px;
    background-color: rgb(255, 217, 0);
}

.navbar a:hover {
    color: rgb(243, 223, 9);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0);
}

.nav-links {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0;
}

.dropdown-pendahuluan,
.dropdown-rencana,
.dropdown-hasil,
.dropdown-penutup {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.dropdown-pendahuluan:hover .dropdown-pendahuluan-content,
.dropdown-rencana:hover .dropdown-rencana-content,
.dropdown-hasil:hover .dropdown-hasil-content,
.dropdown-penutup:hover .dropdown-penutup-content {
    display: block;
}

.dropdown-pendahuluan-content,
.dropdown-rencana-content,
.dropdown-hasil-content,
.dropdown-penutup-content {
    display: none;
    position: absolute;
    top: 100%;
    transform: none;
    border-radius: 5px;
    border: 3px solid black;
    z-index: 10;
    padding: 0;
}

.dropdown-pendahuluan-content a,
.dropdown-rencana-content a,
.dropdown-hasil-content a,
.dropdown-penutup-content a {
    color: black;
    background-color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    display: block;
    text-align: center;
    width: 100%;
    margin: 0;
}

.title {
    margin-top: 2000px;
    margin-bottom: -5px;
}

.YOGIS {
    margin-top: 1000;
    color: white;
    text-align: center;
    font-size: 100px;
    font-family: 'Gasoek One';
    -webkit-text-stroke: 2px black;
    text-shadow: 5px 5px black;
    margin-bottom: -100px;
}

.PENDAHULUAN {
    margin-top: -10px;
    color: rgb(255, 196, 0);
    margin-top: 50px;
    text-align: center;
    font-size: 100px;
    font-family: 'lilita one';
    -webkit-text-stroke: 2px black;
    text-shadow: 5px 5px black;
}

.clouds {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.moving {
    font-family: 'Pixelify Sans';
    font-size: 30px;
    background-color: white;
    padding-bottom: 45px;
    border: 4px solid black;
}

.title {
    font-family: 'Gasoek One';
    text-align: center;
    margin-top: 20px;
    font-size: 50px;
    color: white;
    -webkit-text-stroke: 2px black;
    text-shadow: 5px 5px black;
}

.title-pelaksanaan {
    font-family: 'Gasoek One';
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 50px;
    color: white;
    -webkit-text-stroke: 2px black;
    text-shadow: 5px 5px black;
}

.keuangan {
    margin-top: 20px;
}

.pelaksanaan {
    font-family: 'cuprum';
    font-size: 15px;
    margin-left: 70px;
    margin-right: 70px;
    color: rgb(17, 16, 16);
    text-align: justify;
    padding: 30px;
    background-color: #ebe8e2;
    border-radius: 20px;
}

p {
    margin-top: 20px;
}

.refleksi .container {
    align-items: center;
    border-radius: 10px;
    padding: 20px;
    padding-bottom: -5px;
    margin: 20px;
    border: 3px solid black;
    box-shadow: 3px 3px 0 black;
    background-color: #fff;
}

.refleksi,
.proses {
    flex: 1;
    min-width: 0;
}

.accordion {
    width: 100%;
    margin: 20px 0;
}

.accordion li {
    width: 100%;
    margin: 10px 0;
    box-sizing: border-box;
}

.container1 {
    display: flex;
    justify-content: center;
    /* Centers images horizontally */
    align-items: center;
    /* Aligns them vertically */
    gap: 20px;
    /* Space between images */
    flex-wrap: wrap;
    /* Prevents images from wrapping to a new row */
    margin-top: 20px;
}

.imgstats img {
    width: 350px;
    /* Adjust size as needed */
    height: auto;
    /* Maintains aspect ratio */
}

/* Text animation for moving marquee */
@keyframes textGlow {

    0%,
    100% {
        color: #000;
        text-shadow: 0 0 0 transparent;
    }

    50% {
        color: #c28100;
        text-shadow: 0 0 10px rgba(255, 170, 0, 0.5);
    }
}

.moving {
    animation: gradientBG 10s ease infinite, textGlow 3s ease-in-out infinite;
}

.navbar a button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.navbar a button:hover {
    background-color: #ffcc00;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 217, 0, 0.4);
}

.navbar a button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.navbar a button:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

.navbar {
    animation: slideDown 1s ease forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-links a {
    position: relative;
    overflow: hidden;
}

.home {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.agama {
    font-family: 'cuprum';
    font-size: 15px;
    margin-left: 70px;
    margin-right: 70px;
    color: rgb(255, 255, 255);
    text-align: justify;
    padding: 30px;
    background-color: #2f732d;
    border-radius: 20px;
    border: 2px solid white;
}

video{
    width: 800px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Section Fade-In Animation */
.pelaksanaan,
.refleksi .container,
.agama {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.2s;
}

/* Image and Video Hover Effects */
.imgstats img,
video {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.imgstats img:hover,
video:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
}
