*,body,html{
    margin: 0;
    padding: 0;
}

nav{
    width:100%;
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 9989;
}

.running-text-container {
    background-color: #f8f9fa;
    padding: 1px 0;
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

.marquee-item {
    margin: 0 10px;
    font-size: 12px;
    color: #333;
    text-decoration: none;
    vertical-align: middle;
}

.marquee-item:hover {
    color: #2973bc;
}

.marquee-separator {
    margin: 0 10px;
    color: #797979;
}

.navatas{
    width: 100%;
    background-color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    box-shadow: 0 8px 24px -2px rgba(0,0,0,0.22);
}

.navatas > a > img{
    width: 350px;
    height: 60px;
    margin-left: 10px;
}

.navhum {
    display: none;
}

.navbawah{
    background: linear-gradient(to right, rgb(41, 115, 188), rgb(197, 58, 209));
    width: 100%;
    height: 40px;
    overflow: scroll;
    display:flex ;
    flex-direction: row;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    align-items: center;
    justify-content: center;
}
.navbawah::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.navbawah  a {
    text-decoration: none;
    color:white;
    margin-left: 5px;
    margin-right: 5px;
    font-size: 0.8rem;
    padding:10px;
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    font-style: normal;
    
}

.navbawah a:hover {
    background-color: rgb(32, 114, 188);
}

.navcariatas{
    margin-right: 40px;
    height: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.nav-search{
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}


.nav-search  input{
    width:240px;
    height: 40px;
    padding-left: 10px;
    border: 1px solid rgb(33, 121, 192);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.nav-search input::placeholder{
    color: linear-gradient(to right, rgb(41, 115, 188), rgb(197, 58, 209));
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 1rem;
}

.nav-search input:focus{
    outline: none;
    border: 2px solid rgb(33, 121, 192);
    box-shadow: 0 0 5px rgba(33, 121, 192 , 0.5);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    transition: border 0.3s ease, box-shadow 0.3s ease;
    padding-left: 10px;
}

.nav-search button{
    width: 50px;
    height: 42px;
    color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
    border: 1px solid rgb(33, 121, 192);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.nav-profile {
    display: none;
}

.nav-profile > a{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.navcariatas > .nav-profile {
    max-width: 300px;
    max-height: 40px;
    gap: 10px;
    align-items: center;
}

.nav-overlay > .nav-profile {
    width: 96%;
    max-height: 60px;
    margin: 0 auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.navcariatas > .nav-profile a{
    display: flex;
}

.navcariatas > .nav-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgb(33, 121, 192);
}

.nav-overlay > .nav-profile img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgb(33, 121, 192);
}

.nav-profile-child {
    display: flex;
    max-height: 30px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.nav-profile-child .profile-name {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: rgb(33, 121, 192);
    margin: 0;
    display: flex;
}

.nav-profile-child #button-login {
    text-decoration: none;
    color: rgb(33, 121, 192);
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 1rem;
}


.nav-overlay {
    /* Properti posisi dan ukuran */
    position: fixed;
    top: 0;
    right: 0; /* Posisikan di kanan untuk animasi geser dari kanan */
    width: 80%; /* Lebar overlay */
    height: 100vh;
    z-index: 9999; /* Pastikan di atas konten lain */

    /* Properti background dan flexbox */
    background: rgb(234, 234, 234);
    display: flex; /* Tetap flex untuk layout internal saat aktif */
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 30px;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2); /* Bayangan di sisi kiri overlay */
    border-radius: 8px 0 0 8px; /* Sudut membulat di sisi kiri */

    /* --- Properti Animasi (PENTING!) --- */
    /* Awalnya sembunyikan di luar layar ke kanan */
    transform: translateX(100%); /* Geser 100% dari lebarnya ke kanan */
    opacity: 0; /* Buat transparan */
    visibility: hidden; /* Sembunyikan sepenuhnya dari interaksi */

    /* Transisi untuk animasi geser dan fade */
    /* Properti 'visibility' juga ditransisikan untuk penundaan */
    transition: transform 0.4s ease-out, opacity 0.4s ease-out, visibility 0.4s;
}

.nav-overlay.active {
    transform: translateX(0); /* Geser kembali ke posisi normal (terlihat) */
    opacity: 1; /* Buat sepenuhnya terlihat */
    visibility: visible; /* Buat interaktif */
}

.sosmed{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    gap: 20px;
}

.sosmed a {
    text-decoration: none;
    color:  rgb(41, 115, 188);
    font-size: 2rem;
}

.navbawah-overlay {
    display: flex;
    flex-direction: column;
}
.navbawah-overlay a {
    text-decoration: none;
    color: black;
    width: 240px;
    padding: 10px 20px;
    font-size: 1rem;
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    border-bottom: 1px solid #ccc;

    
}

.nav-overlay.active {
    transform: translateX(0); /* Slide into view */
    opacity: 1;
    visibility: visible;
}

.navbawah-overlay a:last-child {
    border-bottom: none;
}

.navbawah-overlay .focusopt {
    color: rgb(33, 121, 192);
}

.banner {
    margin: 20px auto;
    width: 80%;
    max-width: 970px; /* Ukuran banner umum */
    text-align: center;
    display: none;
}
.banner img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

@media screen and (max-width: 900px) {
    .navatas >a> img{
        width: 224px;
        height: 32px;
    }
    .navatas{
        height: 72px;
    }
    .navhum{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .navhum i {
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .navbawah{
        width: 100%;
        height: 34px;
        justify-content: flex-start;
    }

    .navcariatas{
        display: none;
    }
    
    .nav-search{
        width: 96%;
        margin: 0 auto;
    }

    main{
        min-width: 100%;
    }
    .footer-container {
        padding: 24px 4vw 12px 4vw;
    }
    .footer-logo img {
        height: 20px;
    }
    .footer-address p {
        font-size: 0.95em;
    }

    .banner {
        width: 95%;
    }
}

main{
    width: 50%;
    padding-top: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    margin: 0 auto;
    gap: 20px;
}
main::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, rgb(41, 115, 188), rgb(197, 58, 209));
    color: #fff;
    padding: 32px 10px 18px 10px;
    margin-top: 40px;
}
.footer-logo img {
    height: 65px;
    width: auto;
    margin-bottom: 16px;
}
.footer-sosmed {
    display: flex;
    gap: 18px;
    margin-top: 10px;
}
.footer-sosmed a {
    color: #fff;
    font-size: 1.7em;
    transition: color 0.2s;
}
.footer-sosmed a:hover {
    color: rgb(33, 121, 192);
}
.footer-address p {
    margin: 0;
    font-size: 1em;
    color: #ccc;
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
}

.footer-info {
    display: inline;
    flex-direction: row;
    width: 90%;
    text-align: center;
    gap: 2px;
    margin-top: 10px;
}

.footer-info a{
    font-size: 1em;
    color: #ccc;
    text-align: center;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    text-decoration: none;

}