*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'poopins', sans-serif;
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url('assets/bckgrnd2.jpg');
    background-size: cover;
    background-position: center;
}


/*untuk navigasi*/
header{
    background-color: #2c5038;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 100px;
    background-color: rgba(34, 31, 31, 0.76);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
    
    display: block;
    list-style-type: disc;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}


/*untuk list di navigasi*/
header .navigation ul {
    float: right;
    margin-right: 10px;
}

header .navigation ul li{
    display: inline-block;
    line-height: 42px;
    margin: 0 4px;
}


/*untuk warna teks pada navigasi*/
header .navigation ul li a{
    position: relative;
    font-size: 1.1em;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 40px;
    padding: 5px 11px;
    border-radius: 3px;
    text-transform: uppercase;
}


/*Untuk mengatur garis di bawah list pada navigasi*/
header .navigation ul li a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 3px;
    border-radius: 5px;
    transform-origin: 50% 50%;
    transform: scaleX(0);
    transition: transform .5s;
    box-shadow: 0 0 10px rgba(255,255,255,0.8);
    background: linear-gradient(to right, #fff, #f3f3f3);
}

header .navigation ul li a:hover::after{
    transform-origin: center;
    transform: scaleX(1);
}


/*untuk tombol login pada navigasi*/
header .navigation ul li .btnlogin_popup{
    width: 100px;
    height: 40px;
    background: transparent;
    border: 2px solid #fff;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1em;
    color: #fff;
    font-weight: 500;
    margin-left: 50px;
}

header .navigation ul li .btnlogin_popup:hover{
    background-color: #05190A;
    color: #ffffff;
}

ul li a.active, ul li a:hover{
    background-color: #05190A;
    transition: .5s;
}


/* menu untuk andro */
.check_btn{
    font-size: 25px;
    color: white;
    float: left;
    line-height: 50px;
    margin-right: 10px;
    cursor: pointer;
    display: none;
}

#check{
    display: none;
}


/* popup menu di andro */
@media(max-width:858px){
    .check_btn{
        display: block;
    }

    ul{
        position: fixed;
        width: 42%;
        height: 40vh;
        background: #2c5038;
        top: 100px;
        left: -350px;
        text-align: left;
        transition: all .7s;
        border: 2px solid #c9c8c8;
        border-radius: 6px;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    }

    header .navigation ul li{
        display: block;
        margin: 15px 0;
        margin-left: -25px;
        line-height: 50px;
    }

    header .navigation ul li a{
        font-size: 18px
    }

    #check:checked ~ ul {
        left: 0;
    }
}


/*logo*/
.logo {
    color: white;
    user-select: none;
    font-size: 25px;
    line-height: 50px;
    padding: 0 10px;
    font-family: 'poppins', sans-serif;
    font-weight: bold;
    text-shadow: 10px 5px 30px black;
}

.about_box{
    position: relative;
    width: 700px;
    height: 650px;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

/*Desain layout login popup */
.cover_box{
    position: relative;
    width: 400px;
    height: 440px;
    background: transparent;
    border: 2px solid #c9c9c9;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0);
    overflow: hidden;
    transition: transform .5s ease, height .2s ease, border-color 0.5s ease;
}

.cover_box:hover{
    border-color: white;
    animation: border-glow 1s infinite alternate;
}

/* glow di luar border login */
@keyframes border-glow{
    from{
        border-color:#f6f8f8 ;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    }
    to{
        border-color: #ffffff;
        box-shadow: 0 0 20px rgba(255,255,255,0.8);
    }
}


/* untuk popup cmd java */
.cover_box.active-popup{
    transform: scale(1);
}
.cover_box.active{
    height: 520px;
}
.cover_box .form-box{
    width: 100%;
    padding: 40px;
}
.cover_box .form-box.login{
    transition: transform 1s ease;
    transform: translateX(0);
}
.cover_box.active .form-box.login{
    transition: none;
    transform: translateX(-400px);
}
.cover_box .form-box.register{
    position: absolute;
    transition: none;
    transform: translateX(400px);
}
.cover_box.active .form-box.register{
    transition: transform 1s ease;
    transform: translateX(0);
}

.cover_box .icon_close{
    position: absolute;
    top: 4px;
    right:4px;
    width: 45px;
    height: 45px;   
    font-size: 2em;
    color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    z-index: 1;
    cursor: pointer;
}   

.cover_box .icon_close:hover{
    color: #7b7b7b;
}


/* desain tampilan login */
.form-box h2{
    font-size: 2em;
    color: #FFF;
    text-align: center;
}

.input_box{
    position: relative;
    width: 100%;
    height: 50px;
    margin: 30px 0;
}

.input_box label{
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    font-size: 1em;
    color: black;
    font-weight: 500;
    pointer-events: none;
    transition: .6s;
}

.input_box input:focus~label,
.input_box input:valid~label{
    top: -10px;
}

.input_box input{
    width: 100%;
    height: 100%;
    background: transparent;
    border: 1px solid #FFF;
    border-radius: 10px;
    outline: none;
    font-size: 1em;
    color: grey;
    font-weight: 600;
    padding: 0 35px 0 5px;
}

.input_box .icon{
    position: absolute;
    right: 8px;
    font-size: 1.2em;
    color: white;
    line-height: 58px;
}

.remember_forgot{
    font-size: .9em;
    color: #8cb71d;
    font-weight: 500;
    margin: -15px 0 15px;
    display: flex;
    justify-content: space-between;
}

.remember_forgot label input{
    accent-color: white;
    margin-right: 3px;
}

.remember_forgot a{
    color: #8cb71d;
    text-decoration: underline;
}

.remember_forgot a:hover{
    text-decoration: underline;
}

.btn{
    width: 100%;
    height: 45px;
    background-color: #2c5038;
    border: 2px solid black;
    border-radius: 15px;
    cursor: pointer;
    font-size: 1em;
    color: #FFF;
    font-weight: 500;
}

.btn:hover{
    background-color: #212f26;
}

.login_register{
    font-size: .9em;
    color: #c9c8c8;
    text-align: center;
    font-weight: 500;
    margin: 10px 0 40px;
}

.login_register p a{
    color: #8cb71d;
    text-decoration: none;
    font-weight: 600S;
}

.login_register p a:hover{
    text-decoration: underline;
}


/* untuk copyright */
.footer{
    position: absolute;
    bottom: -8px;
    width: 100%;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    background-color: rgba(34, 31, 31, 0.76);
    backdrop-filter: blur(10px);
}

.footer_content{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 10px;
}

.social_icons a{
    justify-content: center;
    align-items: center;
    color: #FFF;
    font-size: 1.5em;
    margin: 0 3px; 
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}