@import url('https://fonts.googleapis.com/css2?family=Delius&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: delius;
}

body{
    background-color: #ddd;
    cursor: pointer;
}

.header{
    width: 100%;
    height: 55px;
    background-color: #3f88c5;
    position: fixed;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 4px 8px;
}

.navbar{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 4%;
}

.burger_menu{
    display: none;
    color: white;
}

.home{
    font-size: 1.2em;
    font-weight: bold;
    color: white;
    padding: 16px 18px 18px 18px;
    text-decoration: none;
    margin-right: 4vw;
}
.home:hover{
    background-color: white;
    color: black;
}

.sidebar{
    position: fixed;
    padding-top: 55px;
    width: 20%;
    height: 100%;
    background-color: white;
    z-index: 2;
    overflow: scroll;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 4px 8px;
}

.sidebar::-webkit-scrollbar{
    display: none;
}

.content_menu{
    width: 100%;
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 70px;
    font-weight: bold;
}
.content_menu .title{
    border: 2px gray dashed;
    padding: 5px 20px 5px 20px;
    background-color: white;
    border-radius: 4px;
    margin-bottom: 20px;
}

.list_menu{
    width: 90%;
}

.list_menu a{
    color: black;
    text-decoration: none;
}

.list_menu div{
    padding: 10px;
    border-top: 2px dotted gray;
    cursor: pointer;
}

.sub_kesimpulan{
    list-style-type: none;
    background-color: #ddd;
    border-radius: 5px;
    overflow: hidden;
    max-height: 0;
    
}

.sub_kesimpulan.active{
    max-height: 200px;
    transition: 0.6s;
}

.sub_kesimpulan li{
    padding: 10px;
}

.aktif{
    background-color: #3f88c5;
    color: white;
    border-radius: 5px;
}

.shadow{
    position: fixed;
    top: 55px;
    background-color:rgba(0, 0, 0, 0.354);
    width: 100%;
    height: 100%;
    z-index: 1;
    display: none;
}

.shadow2{
    position: fixed;
    background-color:rgba(0, 0, 0, 0.354);
    width: 100%;
    height: 100%;
    z-index: 4;
    display: none;
}

.login{
    background-color: #ddd;
    width: fit-content;
    display: flex;
    font-size: 1em;
    text-align: center;
    font-weight: bold;
    border:none;
    padding: 9px 15px;
    border-radius: 5px;
}


.form_tambah_siswa{
    background-color: white;
    border-radius: 10px;
    width: 30%;
    position: fixed;
    z-index: 5;
    left: 45%;
    top: 95px;
    font-size: 1em;
    display: none;
}
.form_tambah_siswa select{
    background-color: #ddd;
}

.form_tambah_siswa #peringatan{
    color: red;
    font-weight: bold;
    margin: 15px 0 15px 0;
    text-align: center;
}

.exit_form{
    width: 97.4%;
    font-size: 1.3em;
    display: flex;
    justify-content: flex-end;
    padding: 5px 10px 0 0;
}

.form_tambah_siswa h2{
    text-align: center;
    margin-top: 20px;
}

.form_tambah_siswa table{
    width: 90%;
    margin: 20px auto 30px auto;
}

.form_tambah_siswa table tr td{
    padding: 5px;
}

.form_tambah_siswa .button_tambah_siswa{
    background-color: #3f88c5;
    padding: 5px;
    width: fit-content;
    border-radius: 5px;
    margin: auto;
    color: white;
    font-weight: bold;
    margin-bottom: 20px;
}

.form_tambah_siswa .button_tambah_siswa:hover{
    background-color: #87a2b8;
}

.btn_tabel{
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
}
.btn_tabel .btn_edit{
    background-color: #198754;
    padding: 5px;
    border-radius: 5px;
}
.btn_tabel .btn_hapus{
    background-color: red;
    padding: 5px;
    border-radius: 5px; 
}

.btn_tabel_2{
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
}

.btn_kesimpulan{
    background-color: #3f88c5;
    padding: 5px;
    border-radius: 5px; 
}


.content{
    width: 75%;
    position: absolute;
    left: 22.5%;
    top: 95px;
    height: auto;
}

.content_1{
    box-shadow: rgba(0, 0, 0, 0.35) 0px 4px 8px;
    background-color: white;
    padding: 30px 0 50px 0;
    width: 100%;
    min-height: 52vh;
}

.content_1 h1{
    text-align: center;
    margin-bottom: 60px;
}

.tombol_form_akun_siswa{
    display: flex;
    flex-direction: column;
    gap: 8vh;
    width: 90%;
    margin: 0 auto 8vh auto;
    justify-content: center;
    align-items: center;
}


.tombol_kkm{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 80%;
    margin: 0 auto 5vh auto;
}

.tombol_kkm input{
    height: fit-content;
    font-size: 1.1em;
    width: 10%;
}

.tombol_kkm div{
    background-color: #3f88c5;
    padding: 5px;
    box-shadow: 2px 2px 5px gray;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    color: white;
    width: fit-content;
}
.tombol_kkm div:hover{
    background-color: #87a2b8;
}

.content_1 .tambah_siswa{
    background-color: #3f88c5;
    width: fit-content;
    padding: 5px 8px 5px 8px;
    color: white;
    font-weight: bold;
    border-radius: 5px;
}
.tambah_siswa:hover{
    background-color: #87a2b8;
}
.content_1 .kembali{
    background-color: #198754;
    width: fit-content;
    padding: 5px 8px 5px 8px;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 2px 2px 5px gray;
}
.kembali:hover{
    background-color: #608875;
}


.content_1 .menu{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4%;
    height:fit-content;
}

.btn_nilai_siswa{
    background-color: #f4a261;
    width: 25%;
    height: 40vh;
    border-radius: 10px;
    font-size: 1.8em;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.btn_nilai_siswa i{
    font-size: 2.5em;
}

.btn_akun_siswa{
    background-color: #2a9d8f;
    width: 25%;
    height: 40vh;
    border-radius: 10px;
    font-size: 1.8em;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.btn_akun_siswa i{
    font-size: 2.5em;
}

.btn_akun_siswa:hover,.btn_nilai_siswa:hover{
    background-color: #ddd;
}

.content_1_7{
    display: none;
}

.content_1_7 table{
    margin-bottom: 5vh;
}

.content_1_2_1{
    width: 70%;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#kesimpulan_1{
    border: 1.5px solid black;
    border-radius: 5px;
    padding: 2px;
}
.content_1_2_1 video{
    margin: 4vh 0 2vh 0;
    width: 60%;
}

.penilaian_kesimpulan{
    text-align: center;
    margin:  4vh auto 0 auto;
    width: fit-content;
}
.penilaian_kesimpulan input{
    width: 62%;
    margin-top: 1vh;
    font-size: 1.1em;
}
.kirim_nilai_kesimpulan{
    background-color: #3f88c5;
    padding: 5px;
    border-radius: 5px;
    font-weight: bold;
    color: white;
    margin: 2vh auto 0 auto;
    width: fit-content;
}

.progres_bar{
    background-color: #ddd;
    width: 80%;
    border-radius: 5px;
}
.progres{
    background-color: #198754;
    width: fit-content;
    border-radius: 5px;
    color: white;
    padding: 3px;
    text-align: center;
}

#tabel_kkm{
    border-collapse: collapse;
    margin: auto;
}

#tabel_kkm td,#tabel_kkm th{
    border: 1px solid black;
    padding: 8px;
    text-align: center;
}

#tabel_kkm tr:nth-child(1){
    background-color: #ddd;
}

.ubah_kkm_kuis{
    background-color: #198754;
    color: white;
    padding: 5px;
    border-radius: 5px;
    font-weight: bold;
}

.form_ubah_kkm{
    background-color: white;
    border-radius: 10px;
    width: 30%;
    position: fixed;
    z-index: 5;
    left: 45%;
    top: 230px;
    font-size: 1em;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.form_ubah_kkm input{
    width: fit-content;
    margin: 15px;
}
.form_ubah_kkm h2{
    margin-top: 20px;
}
.form_ubah_kkm .simpan_kkm_1{
    background-color: #198754;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    padding: 5px;
    margin: 0 0 15px 0;
}

.footer{
    box-shadow: rgba(0, 0, 0, 0.35) 0px 4px 8px;
    background-color: #3f88c5;
    height: 80px;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1em;
    font-weight: bold;
}

@media screen and (max-width:680px){

    .form_tambah_siswa{
        font-size: 0.9em;
        left: 5%;
        top: 75px;
        width: 90%;
    }    

    .home{
        font-size: 1em;
        margin-right: unset;
    }

    .navbar{
        font-size: 0.8em;
        gap: 10px;
    }

    .burger_menu{
        display: unset;
    }

    .sidebar{
        display: block;
        width: 0%;
        font-size: 0.8em;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 4px 8px;
    }
    .sidebar.responsive{
        width: 60%;
        transition: 0.4s;
    }
    .sidebar_box{
        width: 60vw;
    }

    .shadow.responsive{
        display: block;
    }

    .content{
        top: 80px;
        font-size: 0.9em;
        width: 90%;
        left: 5%;
    }

    .content_1 h1{
        margin-bottom: 40px;
        font-size: 1.3em;
    }

    .btn_nilai_siswa{
        background-color: #f4a261;
        width: 40%;
        border-radius: 10px;
        font-size: 1.2em;
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }
    .btn_nilai_siswa i{
        font-size: 2.5em;
    }
    
    .btn_akun_siswa{
        background-color: #2a9d8f;
        width: 40%;
        border-radius: 10px;
        font-size: 1.2em;
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }
    .btn_akun_siswa i{
        font-size: 2.5em;
    }


    .form_tambah_siswa h2{
        text-align: center;
        margin-top: 10px;
    }    
    .form_tambah_siswa table{
        width: 90%;
        margin: 10px auto 10px auto;
    }

    .content_1_2_1{
        width: 90%;
        gap: 20px;
    }

    #tabel_kkm{
        font-size: 0.9em;
    }
    .form_ubah_kkm{
        width: 90%;
        z-index: 5;
        left: 5%;
        top: 80px;
        font-size: 0.9em;
    }

    .content_1_2_1 video{
        margin: 4vh 0 2vh 0;
        width: 90%;
    }
    

    .footer{
        font-size: 0.9em;
    }

}