.popup .overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    z-index: 1;
    display: none; 
}
.popup .content {
    position: fixed;
    display: flex;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 70vw;
    height: 80vh;
    z-index: 2;
    text-align: center;
    box-sizing: border-box;
    background-color: #fff;
    box-sizing: border-box;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 15px 0 hsla(0,0%,9%,.1);
}

.popup-navbar .content-navbar {
    position: fixed;
    top: 80px;
    right: 20px;
    transform: scale(0);
    width: 185px;
    height: 255px;
    z-index: 2;
    box-sizing: border-box;
    background-color: #fff;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 5px 15px 0 hsla(0,0%,9%,.1);
    padding: 5px;
}
.content-navbar .text a {
    text-decoration: none;
    font: 16px;
    display: block;
    font-weight: 500;
    color: hsl(225, 11%, 59%);
    width:100%;
    padding: 5px;
    height: 45px;
    border-radius: 20px;
    line-height: 35px;
    border-radius: 5px;
    margin-bottom: 5px;
    box-sizing: border-box;
}
.text a:hover {color: #000000; background-color: hsla(0,0%,9%,.1);}
.text p {line-height: 150%;}
.text b {font-weight: 600;}
.text i.bx {font-size: 16px;}
.popup .pamflet {
    width: 40%;
    height: 100%;
}
.pamflet img {
    height: 100%;
    /* jangan pakek width 100 % nanti meleber */
}
.content .text {
    margin-left: 30px;
    width: 60%;
    text-align: justify;
    display: block;
}
.content .text .redaksi{
    margin-bottom: 10px;
    overflow: scroll;
    height: 60%;
    padding-right: 10px;
}

.popup h1 {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 15px;
}

.popup .close-btn {
    cursor: pointer;
    position: absolute;
    right: 40px;
    top: 20px;
    width: 30px;
    height: 30px;
    color: #000000;
    font-size: 25px;
    font-weight: 600;
    line-height: 30px;
    text-align: center;
}

.popup.active .overlay {
    display: block;
}
/* .popup-navbar.active .overlay {   
    display: block;   #overlay tak kupakai
} */
.popup.active .content {
    transition: all 100ms ease-in-out;
    transform: translate(-50%, -50%) scale(1);
}
.popup-navbar.active .content-navbar {
    transition: all 100ms ease-in-out;
    transform: scale(1); 
}
.button-lomba {text-align: left;}
.content input,
.button-lomba input {
    font-size: 16px;
    color: hsl(225, 11%, 59%);
    font-weight: 600;
    height: 40px;
    background-color: #fff;;
    border: 1px solid hsl(188, 64%, 60%);;
    padding: 4px 10px;
    border-radius: 20px;
    margin: 8px 8px 0 0;
}
input.register {
    width: 100%;
    background-color: #FAEDCB;
    border: 1px solid #ffb700;
}
input.register:hover {
    background-color: #ffb700;

}
input:hover{
    background-color: rgb(65,88,208);
    color: #fff;
}



@media (max-width: 768px) {
    .popup .content {
        display: block;
        width: 90vw;
        height: 600px;
        overflow: auto;
        padding: 20px;
    }
    .popup .pamflet {
        width: 100%;
        height: 100%;
        margin-bottom: 30px;
    }
    .popup .close-btn {
        cursor: pointer;
        position: absolute;
        right: 20px;
        top: 10px;
        position: fixed;
    }
    .content .text {
        width: 100%;
        text-align: justify;
        display: block;
        margin-left: 0;
    }
    .content .text .redaksi {overflow: visible; padding-right: 0; margin-bottom: 5px;}
}

@media (max-width: 540px) {
    .popup .content {
        display: block;
        width: 90vw;
        height: 80vh;
        overflow: auto;
    }
    .popup .pamflet {
        margin-bottom: 30px;
        margin-top: 30px;
    }
    .pamflet img {
        width: 100%;
    }
    .popup .close-btn {
        cursor: pointer;
        position: fixed;
        right: 20px;
        top: 5px;
    }
    .content .text {
        width: 100%;
        text-align: justify;
        display: block;
        margin-left: 0;
    }
    .content .text .redaksi {overflow: visible; padding-right: 0;}
}

button.logo-navbar {
    background-color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    box-shadow: 0 0 3px 1px hsla(0,0%,9%,.1);
    border:none;
    cursor: pointer;
    display: none;
}
@media (max-width: 768px) {button.logo-navbar {display: block;}}

.logo-navbar i {font-size:30px; margin-left: -3.5px;}


@media (max-width: 540px) {
    .popup .content {
        display: block;
        width: 90vw;
        height: auto;
        max-height: 80vh;
        overflow: auto;
        padding: 20px;
    }
    .popup .pamflet {
        margin-bottom: 30px;
        margin-top: 30px;
        width: 100%;
    }
    .pamflet img {
        width: 100%;
    }
    .popup .close-btn {
        cursor: pointer;
        position: fixed;
        right: 20px;
        top: 5px;
    }
    .content .text {
        width: 100%;
        text-align: justify;
        display: block;
        margin-left: 0;
    }
    .content .text .redaksi {
        overflow: visible;
        padding-right: 0;
        margin-bottom: 5px; /* Tambahkan margin-bottom untuk memberi ruang pada tombol */
    }
    .content input,
    .button-lomba input {
        font-size: 16px;
        color: hsl(225, 11%, 59%);
        font-weight: 600;
        height: 40px;
        background-color: #fff;
        border: 1px solid hsl(188, 64%, 60%);
        padding: 4px 10px;
        border-radius: 20px;
        margin: 8px 0; /* Ubah margin untuk menghindari overlapping */
        width: 100%; /* Pastikan tombol mengambil lebar penuh untuk tampilan yang lebih baik */
    }
    input.register {
        width: 100%;
        background-color: #FAEDCB;
        border: 1px solid #ffb700;
    }
    input.register:hover {
        background-color: #ffb700;
    }
    input:hover {
        background-color: rgb(65,88,208);
        color: #fff;
    }
}
