@media screen and (min-width:768px) and (max-width: 1023px) {
    /* bagian container navbar */
    header {
        display: flex;
        justify-content: center;
    }

    .navbar-container {
        z-index: 999;
        width: fit-content;
        height: fit-content;
        box-sizing: border-box;
        background-color: var(--darkcolor);
        position: fixed;
        top: 55px;
        padding: 7px 25px;
        border-radius: 40px;
        -webkit-border-radius: 40px;
        -moz-border-radius: 40px;
        -ms-border-radius: 40px;
        -o-border-radius: 40px;
    }

    .navbar-container div {
        text-align: center;
        display: flex;
    }

    .navbar-container div ul {
        display: flex;
        flex-direction: row;
        text-align: center;
        margin: auto;
        gap: 35px;
    }

    .navbar-container div .left {
        margin-right: 120px;
    }

    .navbar-container div .right {
        margin-left: 90px;
    }

    .navbar-container div ul a:hover {
        background-color: rgb(74, 140, 181);
    }

    .navbar-container div a {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 40px;
        -webkit-border-radius: 40px;
        -moz-border-radius: 40px;
        -ms-border-radius: 40px;
        -o-border-radius: 40px;
        height: 30px;
        padding: 0px 8px;
    }

    .navbar-container div a img {
        position: absolute;
        width: 180px;
    }





    /* bagian puter" */
    .puter {
        position: absolute;
        display: none;
    }

    .satu {
        width: 200px;
        right: -35%;
        top: 150px;
        animation: muter1 23s infinite linear;
        -webkit-animation: muter1 23s infinite linear;
    }

    .dua {
        width: 600px;
        left: -35%;
        top: -300px;
        animation: muter2 23s infinite linear;
        -webkit-animation: muter2 23s infinite linear;
    }

    .tiga {
        animation: muter1 23s infinite linear;
        -webkit-animation: muter1 23s infinite linear;
    }

    .empat {
        width: 600px;
        left: -35%;
        top: 440px;
        animation: muter1 25s infinite linear;
        -webkit-animation: muter1 25s infinite linear;
    }

    .lima {
        display: none;
        width: 200px;
        right: -35px;
        top: -50px;
        animation: muter2 25s infinite linear;
        -webkit-animation: muter2 25s infinite linear;
    }


    /* bagian footer */
    /* footer */
    footer {
        background-color: #333;
        height: 50px;
        display: flex;
        flex-wrap: wrap;
        text-align: center;
    }

    footer div {
        color: #eaeaea;
        margin: auto;
        font-size: 15px;
        font-family: Arial, Helvetica, sans-serif;
    }

    footer p {
        margin: auto;
    }

    footer a {
        text-decoration: none;
        color: white;
    }

    footer a.designed:hover {
        text-decoration: underline;
        color: red;
    }

    footer a {
        cursor: pointer;
        color: gold;
    }


    /* bagian main */
    main {
        width: 100%;
        height: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    main section {
        width: 100%;
        height: 744px;
        box-sizing: border-box;
    }





    /* bagian home */
    .home {
        background-image: url("img/bg_home1.jpg");
        background-repeat: no-repeat;
        background-position: top;
        background-size: cover;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0px;
    }

    .logo_feast2025 {
        width: 400px;
        position: absolute;
        top: 70px;
        /* margin: auto; */
        z-index: 0;
        animation: logo_feast 2s;
        animation-timeline: reload();
        /*transform: translateY(-150px);
    transition: all 2s ease;
    opacity: 0;
    -webkit-transform: translateY(-150px);
    -moz-transform: translateY(-150px);
    -ms-transform: translateY(-150px);
    -o-transform: translateY(-150px);
    */
        -webkit-animation: logo_feast 2s;
    }

    /* main .home div {
    transform: translateX(-150px);
    transition: all 2s ease;
    opacity: 0;
} */

    main .home div h2 {
        font-family: indonesia;
        color: #1995FD;
        font-size: 44px;
        margin: auto;
        margin-top: 160px;
        animation: home_h2 2s;
        animation-timeline: reload();
        text-shadow:
            -1px -1px 0 white,
            1px -1px 0 white,
            -1px  1px 0 white,
            1px  1px 0 white,
            0px  2px 0 white,
            2px  0px 0 white,
            0px -2px 0 white,
            -2px  0px 0 white;
    }

    main .comingSoon {
        width: 150px;
        height: 35px;
        background-color: var(--darkcolor);
        color: white;
        margin-top: 10px;
        border: 3px solid black;
        box-sizing: border-box;
        text-align: center;
        padding-top: 2px;
        cursor: pointer;
    }

    main .comingSoon a {
        text-decoration: none;
        color: white;
    }

    main .comingSoon p {
        font-weight: bold;
    }

    main div.comingSoon:hover {
        background-color: gold;
        color: black;
        transform: rotate(10deg) scale(1);
        transition: 0.3s;
        -webkit-transform: rotate(10deg) scale(1);
        -moz-transform: rotate(10deg) scale(1);
        -ms-transform: rotate(10deg) scale(1);
        -o-transform: rotate(10deg) scale(1);
        -webkit-transition: 0.3s;
        -moz-transition: 0.3s;
        -ms-transition: 0.3s;
        -o-transition: 0.3s;
    }

    main div.comingSoon.activeSoon {
        animation: comingSoon2 1.2s;
        -webkit-animation: comingSoon2 1.2s;
    }






    /* bagian about */
    main .about {
        border-top: 23px solid #181145;
        background-image: url(img/bg_about.png);
        /* background-position: 0px -370px; */
        background-repeat: no-repeat;
        background-size: cover;
        display: flex;
        align-items: center;    
        justify-content: center;
        position: relative;
    }

    main .about .container {
        width: 95%;
        height: 500px;
        padding: 10px;
        border-radius: 10px;
        display: grid;
        grid-template-areas: "explain video";
        grid-template-columns: 1.5fr 1.5fr;
        grid-gap: 10px;
        position: absolute;
    }

    .about .explain {
        grid-area: explain;
        display: flex;
        text-align: justify;
        align-items: center;
        justify-content: center;
        padding: 10px;
    }

    .about .explain h1 {
        color: #7c512b;
            text-shadow:
            -4px -2px 0 #333333,
            -4px -2px 0 #333333;
        font-family: indonesia;
        font-size: 29px;
        text-transform: capitalize;
        width: 200px;
    }

    .about .explain .h1 {
        transform: translateX(-90px);
        transition: all .3s ease;
        opacity: 0.2;
}

    .about .explain .h1.active {
        transform: translateX(0deg);
        opacity: 1;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
    }

    .about .explain p {
        color: #7c512b;
        font-size: 15px;
        font-family: nusantara;
        text-transform: capitalize;
    }

    .about .explain div.p {
        transform: translateY(190px);
        transition: all .2s ease;
        opacity: 0.3;
        -webkit-transform: translateY(190px);
        -moz-transform: translateY(190px);
        -ms-transform: translateY(190px);
        -o-transform: translateY(190px);
        -webkit-transition: all .2s ease;
        -moz-transition: all .2s ease;
        -ms-transition: all .2s ease;
        -o-transition: all .2s ease;
}

    .about .explain div.p.active {
        transform: translateY(0px);
        opacity: 1;
        -webkit-transform: translateY(0px);
        -moz-transform: translateY(0px);
        -ms-transform: translateY(0px);
        -o-transform: translateY(0px);
    }


    .about .video {
        grid-area: video;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .about .video iframe {
        width: 300px;
        height: 200px;
    }

    .about .video div {
        display: flex;
        justify-content: center;
        align-items: end;
        transform: translateX(90px);
        transition: all .3s ease;
        opacity: 0.5;
        -webkit-transform: translateX(90px);
        -moz-transform: translateX(90px);
        -ms-transform: translateX(90px);
        -o-transform: translateX(90px);
        -webkit-transition: all .3s ease;
        -moz-transition: all .3s ease;
        -ms-transition: all .3s ease;
        -o-transition: all .3s ease;
}

    .about .video div.active {
        transform: translateX(0px);
        opacity     : 1;
        -webkit-transform: translateX(0px);
        -moz-transform: translateX(0px);
        -ms-transform: translateX(0px);
        -o-transform: translateX(0px);
    }

    .about .video img {
            position: absolute;
            width: 340px;
            height: 240px;
            /* top: -10px; */
            transform: translateX(90px);
            transition: all .3s ease;
            opacity: 0.5;
        }

        .about .video img.active {
            transform: translateX(0px);
            opacity: 1;
            -webkit-transform: translateX(0px);
            -moz-transform: translateX(0px);
            -ms-transform: translateX(0px);
            -o-transform: translateX(0px);
        }



    


    /* bagian nusantara */
        main section.nusantara {
            background-image: url(img/bg_nusantara.png);
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        
        .nusantara h2 {
            font-family: indonesia;
            color: #7C512B;
            font-size: 30px;
            margin-top: -30px;
            margin-bottom: 120px;
            text-shadow:            -4px -2px 0 #333333,            -4px -2px 0 #333333;
            transition: .3s ease;
            transform: translateY(-80px);
            opacity: 0.5;
}

        .nusantara h2.active {
            transition: .3s ease;
            transform: translateY(0px);
            opacity: 1;
}

        .nusantara img {
            width: 85%;
            margin-bottom: -90px;
            transition: .3s ease;
            transform: translateY(80px);
            opacity: 0.5;
}
    
        .nusantara img.active {
            opacity: 1;
            transform: translateY(0px);
            transition: .3s ease;
}






    /* bagian sponsor */
    main section.sponsorship {
        width: 100%;
        height: 370px;
        box-sizing: border-box;
        background-image: url(img/bg_sponsor.png);
        background-repeat: no-repeat;
        background-size: cover;
        display: flex;
        flex-direction: column;
    }

    main section .sponsorcontent {
        white-space: nowrap;
        overflow: hidden;
        padding: 60px 0;
    }

    main section .sponsorcontent .logos {
        display: inline-block;
        animation: 20s slider infinite linear;
        -webkit-animation: 15s slider infinite linear;
    }

    main section .sponsorcontent:hover .logos {
        animation-play-state: paused;
    }

    main section .sponsorcontent img {
        height: 50px;
        margin: 0px 40px;
    }

    main section .sponsortitle h1 {
        color: #7c512b;
            text-shadow:
            -4px -2px 0 #333333,
            -4px -2px 0 #333333;
        text-align: center;
        font-size: 45px;
    }

    /* bagian acara */
    main section .acara1 {
        overflow: hidden;
        height: 20px;
        background-color: var(--darkcolor);
        margin-bottom: 54px;
    }

    main section .acara {
        overflow: hidden;
        height: 20px;
        background-color: var(--darkcolor);
        margin-top: 44px;
    }







    /* bagian contact */
    main section.contact {
        color: #181145;
        width: 100%;
        height: 330px;
        box-sizing: border-box;
        display: grid;
        grid-template-areas: "contact media map";
        grid-template-columns: 1fr 1fr 1fr;
        overflow: hidden;
        background-color: #1474AF;
    }

    .contact h4,
    .ourContact a {
        font-weight: bold;
    }

    .ourContact {
        grid-area: contact;
        justify-items: center;
        padding: 20px 0 0 0;
        margin-left: 20px;
        transform: translateX(-100px);
        transition: all .3s ease;
        opacity: 0;
}

    .ourContact div {
        width: 350px;
        display: flex;
        flex-direction: column;
        justify-items: start;
    }

    .ourContact div img {
        width: 40px;
    }

    .ourContact div a {
        font-size: 15px;
        text-decoration: none;
        color: #181145;
    }

    .ourContact div a:hover {
        color: red;
    }

    .ourMedia {
        grid-area: media;
    }

    .ourMap {
        grid-area: map;
        justify-items: center;
        box-sizing: border-box;
        padding: 20px 0 0 0;
        transform: translateX(100px);
        transition: all .3s ease;
        opacity: 0;
}

    .ourMap div {
        justify-items: end;
    }


    .ourMap iframe {
        width: 260px;
        height: 150px;
        border: 1px solid black;
    }

    .ourMedia {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateY(100px);
        transition: all .3s ease;
        opacity: 0;
}

    .ourMedia .igMedia {
        width: 40px;
    }

    .ourMedia .fbMedia {
        width: 54px;
    }

    .ourMedia .ytMedia {
        width: 35px;
    }

    .ourMedia a img {
        transform: scale(1);
        transition: all 0.5s ease;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -ms-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
    }

    .ourMedia a:hover img {
        transform: scale(1.2);
        transition: all 0.5s ease;
        -webkit-transform: scale(1.2);
        -moz-transform: scale(1.2);
        -ms-transform: scale(1.2);
        -o-transform: scale(1.2);
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -ms-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
    }





    /* bagian comp2 */
main section.competition {
    width: 100%;
    height: fit-content;
    display: flex;
    padding: 30px 0;  
    border-bottom: 23px solid var(--darkcolor);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url(img/bg_kompetisi.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.competition h1 strong {
    color: #7c512b;
            text-shadow:
            -4px -2px 0 #333333,
            -4px -2px 0 #333333;
    font-size: 40px;
    font-weight: bolder;
}

.competition h1 {
    transform: translateX(-100px);
    transition: all .3s ease;
    opacity: 0.5;
}

.card {
    box-shadow: rgba(0, 0, 0, 0.3) 5px 5px;
    padding: 10px;
    width: 200px;
    transition: all 0.5s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover {
    transform: scale(1.05);
    transition: all 0.5s ease;
}

.competition .pilih_gender {
    box-sizing: border-box;
    width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 120px;
    margin: 10px;
    margin-top: 50px;
}

.pilih_gender {
    transform: translateX(100px);
    transition: all .3s ease;
    opacity: 0.5;
}

.pilih_gender img {
    width: 120px;
}

.pilih_gender img:hover {
    transform: scale(1.1);
    transition: all 0.5s ease;
}

.pilih_gender h6 {
    margin-top: 20px;
}




    


/* bagian animasi */
.relative {
    position: relative;
}

.reveal.active {
    transform: translateY(0px);
    transform: translateX(0px);
    /* transform: rotateY(0deg);
    transform: rotateX(0deg); */
    opacity: 1;
} 

@keyframes logo_feast {
    0% {
        transform: translateY(-150px);
        transition: all 2s ease;
        opacity: 0;
    }
    100% {
        transform: translateY(0px);
        transition: all 2s ease;
        opacity: 1;
        -webkit-transform: translateY(0px);
        -moz-transform: translateY(0px);
        -ms-transform: translateY(0px);
        -o-transform: translateY(0px);
    }
}

@keyframes home_h2 {
    0% {
        transform: translateX(-150px);
        transition: all 2s ease;
        opacity: 0;
    }
    100% {
        transform: translateX(0px);
        transition: all 2s ease;
        opacity: 1;
        -webkit-transform: translateX(0px);
        -moz-transform: translateX(0px);
        -ms-transform: translateX(0px);
        -o-transform: translateX(0px);
}
}


@keyframes comingSoon2 {
    0% {
        transform: rotate(10deg);
        transition: all 2ms ease;
        -webkit-transform: rotate(10deg);
        -moz-transform: rotate(10deg);
        -ms-transform: rotate(10deg);
        -o-transform: rotate(10deg);
        -webkit-transition: all 2ms ease;
        -moz-transition: all 2ms ease;
        -ms-transition: all 2ms ease;
        -o-transition: all 2ms ease;
}
    25% {
        transform: rotate(-10deg);
        transition: all 2s ease;
        -webkit-transform: rotate(-10deg);
        -moz-transform: rotate(-10deg);
        -ms-transform: rotate(-10deg);
        -o-transform: rotate(-10deg);
        -webkit-transition: all 2s ease;
        -moz-transition: all 2s ease;
        -ms-transition: all 2s ease;
        -o-transition: all 2s ease;
}
    50% {
        transform: rotate(10deg);
        transition: all 2s ease;
        -webkit-transform: rotate(10deg);
        -moz-transform: rotate(10deg);
        -ms-transform: rotate(10deg);
        -o-transform: rotate(10deg);
        -webkit-transition: all 2s ease;
        -moz-transition: all 2s ease;
        -ms-transition: all 2s ease;
        -o-transition: all 2s ease;
}   
    75% {
        transform: rotate(-10deg);
        transition: all 2s ease;
        -webkit-transform: rotate(-10deg);
        -moz-transform: rotate(-10deg);
        -ms-transform: rotate(-10deg);
        -o-transform: rotate(-10deg);
        -webkit-transition: all 2s ease;
        -moz-transition: all 2s ease;
        -ms-transition: all 2s ease;
        -o-transition: all 2s ease;
}
    100% {
        transform: rotate(0deg);
        transition: all 2s ease;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -webkit-transition: all 2s ease;
        -moz-transition: all 2s ease;
        -ms-transition: all 2s ease;
        -o-transition: all 2s ease;
}
}

@keyframes muter1 {
    0% {
        transform: rotate(-360deg);
        -webkit-transform: rotate(-360deg);
        -moz-transform: rotate(-360deg);
        -ms-transform: rotate(-360deg);
        -o-transform: rotate(-360deg);
        transition: all 10s ease;
        -webkit-transition: all 10s ease;
        -moz-transition: all 10s ease;
        -ms-transition: all 10s ease;
        -o-transition: all 10s ease;
}
    100% {
            transform: rotate(360deg);
            -webkit-transform: rotate(360deg);
            -moz-transform: rotate(360deg);
            -ms-transform: rotate(360deg);
            -o-transform: rotate(360deg);
            transition:all 10s ease ;
            -webkit-transition:all 10s ease ;
            -moz-transition:all 10s ease ;
            -ms-transition:all 10s ease ;
            -o-transition:all 10s ease ;
}
}

@keyframes muter2 {
    0% {
        transform: rotate(360deg);
        transition: all 10s ease;
    }
    100% {
        transform: rotate(-360deg);
        transition: all 10s ease;
    }
}

@keyframes slider {
    0% {
        transform: translateX(0);
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
        -moz-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
        -o-transform: translateX(-100%);
}
}

@keyframes slider2 {
    0% {
        transform: translateX(0);
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
    }
    to {
        transform: translateX(100%);
        -webkit-transform: translateX(100%);
        -moz-transform: translateX(100%);
        -ms-transform: translateX(100%);
        -o-transform: translateX(100%);
    }
}
}