     /* General Styles */
     body {
        margin: 0;
        padding: 0;
        background-color: black;
        font-family: 'Poppins', sans-serif;
        color: white;
        min-height: 100vh;
        justify-content: center;
        align-items: center;
    }

    section {
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        scroll-behavior: smooth;
    }

    header {
        background-color: transparent;
        color: white;
        padding: 1rem 2rem;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
    }

    /* Navbar */
    .navbar {
        position: fixed;
        top: 30px;
        right: 20px;
        width: 90%;
        max-width: 400px;
        background: white;
        padding: 15px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 9999;
        height: 20px;
        border-radius: 50px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        overflow: hidden;
    }

    .navbar::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.8);
        clip-path: circle(0% at 50% -30px);
        transition: clip-path 0.5s ease-in-out;
    }

    .navbar.active::before {
        clip-path: circle(150% at 50% -30px);
    }

    .navbar a {
        text-decoration: none;
        color: #0a3979;
        font-size: 24px;
        position: relative;
        transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
    }

    .navbar a:hover {
        transform: translateY(-5px);
        color: #ff4757;
    }

    .profile {
        background: rgb(136, 0, 0);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: -30px;
        left: 50%;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
        transition: left 0.3s ease-in-out, transform 0.3s ease-in-out;
        z-index: 9999;
    }

    .profile i {
        color: white;
        font-size: 24px;
    }

    .logo {
        font-size: 1.5rem;
        font-weight: 600;
    }

    /* Hero Section */
    .hero {
        height: 100vh;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
    }

    .main {
        display: flex;
        justify-content: space-between;
        gap: 50vh;
    }

    .hero img {
        width: 50vh;
    }

    .hero-content h2 {
        font-size: 3rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        animation: fadeIn 2s ease-in-out;
    }

    .hero-content h3 {
        font-size: 2rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        animation: fadeIn 2s ease-in-out;
    }

    .hero-content p {
        font-size: 1.5rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        animation: fadeIn 3s ease-in-out;
    }

    .cta-button {
        background-color: #f39c12;
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        text-decoration: none;
        font-size: 1.2rem;
        transition: background-color 0.3s;
    }

    .cta-button:hover {
        background-color: #e67e22;
    }

    /* About Section */
    .about {
        padding: 3rem;
        text-align: center;
    }

    .about video {
        width: 95%;
        justify-content: center;
        align-items: center;
        border-radius: 10px;
    }

    .about h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .about p {
        font-size: 1.2rem;
        max-width: 800px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        margin: 0 auto;
    }

 /* Gallery Section */
.gallery {
position: relative;
padding: 2rem 1rem; /* Mengurangi padding pada perangkat ponsel */
overflow: hidden;
min-height: 100vh;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
}

.gallery::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
}

.gallery h2 {
font-size: 2rem; /* Mengurangi ukuran font pada perangkat ponsel */
margin-bottom: 1rem; /* Mengurangi margin pada perangkat ponsel */
text-align: center;
z-index: 1;
text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Menyesuaikan ukuran grid pada perangkat ponsel */
gap: 1rem; /* Mengurangi gap pada perangkat ponsel */
max-width: 1200px;
margin: 0 auto;
z-index: 1;
}

.gallery-item {
position: relative;
overflow: hidden;
border-radius: 15px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img, .gallery-item video {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
border-radius: 15px;
transition: transform 0.3s ease;
}

.gallery-item:hover {
transform: translateY(-10px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover img, .gallery-item:hover video {
transform: scale(1.1);
}

@keyframes morph {
0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}
50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
}
100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}
}

.gallery-item.morph-animation {
animation: morph 8s ease-in-out infinite;
}

.gallery-item {
opacity: 0;
transform: translateY(50px);
transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.gallery-item.in-view {
opacity: 1;
transform: translateY(0);
}


    /* Info Section */
    .info {
        padding: 4rem 2rem;
        text-align: center;
    }

    .info h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        color: #ffffff;
    }

    .attendance-form {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .form-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .form-group label {
        font-size: 1rem;
        color: #ffffff;
    }

    .form-group input,
    .form-group select {
        padding: 0.75rem;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 1rem;
        outline: none;
        transition: border-color 0.3s;
    }

    .form-group input:focus,
    .form-group select:focus {
        border-color: #007BFF;
    }

    .submit-button {
        padding: 0.75rem;
        background-color: #007BFF;
        color: white;
        border: none;
        border-radius: 5px;
        font-size: 1rem;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .submit-button:hover {
        background-color: #0056b3;
    }

    /* Pop-up */
    .popup {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }

    .popup-content {
        background: linear-gradient(135deg, #6a11cb, #2575fc);
        padding: 2.5rem;
        border-radius: 15px;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        color: white;
        position: relative;
        animation: fadeInScale 0.5s ease-out;
        max-width: 400px;
        width: 90%;
    }

    @keyframes fadeInScale {
        from {
            transform: scale(0.8);
            opacity: 0;
        }
        to {
            transform: scale(1);
            opacity: 1;
        }
    }

    .popup-content p {
        font-size: 1.2rem;
        margin: 0;
    }

    .close-popup {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 1.5rem;
        cursor: pointer;
        color: white;
        transition: color 0.3s ease;
    }

    .close-popup:hover {
        color: #ff4757;
    }

    .close-popup {
        animation: bounce 2s infinite;
    }

    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {
            transform: translateY(0);
        }
        40% {
            transform: translateY(-10px);
        }
        60% {
            transform: translateY(-5px);
        }
    }

    /* Contact Section */
    .contact {
        padding: 4rem 2rem;
        background-color: #2c3e50;
        color: white;
        text-align: center;
    }

    .contact h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    #contact-form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #contact-form input, #contact-form textarea {
        width: 80%;
        padding: 10px;
        margin: 10px 0;
        border: none;
        border-radius: 5px;
    }

    #contact-form button {
        background-color: #f39c12;
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    #contact-form button:hover {
        background-color: #e67e22;
    }

    /* Footer */
    footer {
        background-color: #34495e;
        color: white;
        text-align: center;
        padding: 1rem;
    }

    .social-icons a {
        color: white;
        margin: 0 10px;
        font-size: 1.5rem;
        transition: color 0.3s;
    }

    .social-icons a:hover {
        color: #f39c12;
    }

    /* Animations */
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-20px); }
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .navbar {
            top: 10px;
            right: 10px;
            width: 90%;
            max-width: 300px;
        }

        .hero-content h2 {
            font-size: 2rem;
        }

        .hero-content h3 {
            font-size: 1.5rem;
        }

        .hero-content p {
            font-size: 1rem;
        }

        .main {
            flex-direction: column;
            gap: 20px;
        }

        .hero img {
            width: 100%;
            max-width: 300px;
        }

        .about video {
            width: 100%;
        }

      

   /* Media Queries untuk Responsiveness */
.gallery {
    padding: 1rem; /* Mengurangi padding lebih lanjut pada perangkat ponsel */
}

.gallery h2 {
    font-size: 1.5rem; /* Mengurangi ukuran font lebih lanjut pada perangkat ponsel */
}

.gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Menyesuaikan ukuran grid lebih lanjut pada perangkat ponsel */
    gap: 0.5rem; /* Mengurangi gap lebih lanjut pada perangkat ponsel */
}


        .info h2 {
            font-size: 1.5rem;
        }

        .contact h2 {
            font-size: 2rem;
        }

        #contact-form input, #contact-form textarea {
            width: 90%;
        }
    }

    @media (max-width: 480px) {
        .navbar {
            bottom: 0px;
            right: 5px;
            width: 90%;
            max-width: 250px;
        }
        section{
            height: auto;
            scroll-behavior: smooth;
        }

        .hero-content h2 {
            font-size: 1.5rem;
        }

        .hero-content h3 {
            font-size: 1.2rem;
        }

        .hero-content p {
            font-size: 0.9rem;
        }

        .hero img {
            width: 100%;
            max-width: 200px;
        }

        .about video {
            width: 100%;
        }
        
        


.gallery-grid {
    grid-template-columns: 1fr; /* Menampilkan satu kolom pada perangkat ponsel kecil */
}
.gallery img{
width: 20vh;
}

        .info h2 {
            font-size: 1.2rem;
        }

        .contact h2 {
            font-size: 1.5rem;
        }

        #contact-form input, #contact-form textarea {
            width: 95%;
        }
    }