@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html, body{
    font-family: "Nunito", sans-serif;
    width: 100%;
    height: 100%;
    position: relative;
}

body{
    overflow: hidden;
}

.loading-screen{
    background-color: white;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
}

.text-attr-none{
    text-decoration: unset;
}

.btn-rounded{
    border-radius: 17px;
}

.btn-w100{
    width: 100px;
}

.text-green{
    color: #00dc64;
}

.form-control:focus{
    box-shadow: unset;
}

.input-group .form-search{
    border-radius: 0.25rem !important;
    border-bottom-right-radius: 0!important;
    border-top-right-radius: 0!important;
}

.btn.dropdown-toggle{
    border: 1px solid #ced4da;
}

.overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #49505744;
}

/*
=========== NAVBAR ============
*/

#main-navbar{
    background-color: #ffffff;
}

#main-navbar .nav-link{
    font-size: 20px;
    line-height: 22px;
    cursor: pointer;
    font-weight: 500;
    color: #000000;
    padding: 18px;
}

#main-navbar-bottom .navbar-nav{
    flex-direction: row !important;
}

#main-navbar-bottom .navbar-nav .dropdown-menu{
    position: absolute;
}

#main-navbar-bottom .nav-link:hover,
#main-navbar-bottom .nav-link.active{
    color: #00dc64;
}

#main-navbar-bottom{
    background-color: #ffffff;
}

#main-navbar-bottom .nav-link{
    font-size: 20px;
    line-height: 22px;
    cursor: pointer;
    font-weight: 500;
    color: #000000;
    padding: 18px;
}
#main-navbar-bottom .nav-link i,
#main-navbar-bottom .nav-link img{
    margin-bottom: 5px;
}

@media only screen and (max-width: 575px) {
    #main-navbar-bottom .nav-link{
        font-size: 14px;
        padding: 5px;
    }
}

#main-navbar-bottom .nav-link:hover,
#main-navbar-bottom .nav-link.active{
    color: #00dc64;
}

/*
=========== CAROUSEL ============
*/

.image-wraper{
    position: relative;
    height: 290px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media only screen and (max-width: 1399px){
    .image-wraper{
        height: 240px;
    }
}

@media only screen and (max-width: 1199px) {
    .image-wraper{
        height: 220px;
    }
}
@media only screen and (max-width: 444px) {
    .image-wraper{
        height: 150px;
    }
}

.carousel-item .wraper{
    position: relative;
}

.carousel-item .komik-status{
    position: absolute;
    top: 11px;
    left: 11px;
    right: 11px;
}

.carousel-control-prev, .carousel-control-next{
    width: auto!important;
}

.carousel-control-prev-icon{
    margin-left: -17px;
}

.carousel-control-next-icon{
    margin-right: -17px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon{
    background-color: #00dc64;
    border-radius: 50%;
    width: 35px;
    height: 35px;
}

/*
=========== PAGINATION ============
*/

.pagination .page-item{
    width: 40px;
    height: 40px;
    margin-left: 5px;
}

.page-item.disabled{
    /*display: none;*/
}

.page-item.active .page-link{
    background-color: #00dc64;
    border-color: #00dc64;
}

.pagination .page-link{
    padding: 0.375rem;
    align-items: center;
    color: #6c757d;
    border-radius: 25px!important;
}

/*
=========== LIST-KOMIK ============
*/

#list-komik{
    min-height: 80%;
    margin-top: 20px;
    padding-bottom: 100px;
}

#list-komik .link-item{
    position: relative;
}

#list-komik .link-item a{
    text-decoration: none!important;
}

#list-komik .item-title{
    word-wrap: break-word;
    color: #000000;
    font-weight: 500;
    font-size: 18px;
}

#list-komik .komik-deskripsi{
    line-height: 1.5;
    text-align: justify;
}

#list-komik .card-body{
    height: 290px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#list-komik .capter .card-body{
    height: auto;
}

@media only screen and (max-width: 1399px){
    #list-komik .card-body{
        height: 240px;
    }

    #list-komik .card-footer a{
        font-size: .75rem;
    }
}

@media only screen and (max-width: 1199px) {
    #list-komik .card-body{
        height: 290px;
    }

    #list-komik .card-footer a{
        font-size: 1rem;
    }
}
@media only screen and (max-width: 444px) {
    #list-komik .card-body{
        height: 150px;
    }

    #list-komik .card-footer span{
        display: none;
    }
}


#list-komik .list-capter{
    height: 400px;
    overflow-y: scroll;
}

#list-komik .list-capter a{
    font-weight: 500;
    text-decoration: none;
    font-size: 18px;
}

#list-komik .list-capter a:visited{
    color: #adb5bd;
}

@media only screen and (max-width: 992px){
    .form-search{
        width: 200px!important;
        flex: unset!important;
    }

    .input-group{
        margin-bottom: 15px;
    }
}

/*
=========== NIGHT MODE ============
*/

.night-mode{
    background: #000000;
}

.night-mode #list-komik h2,
.night-mode #list-komik .komik-deskripsi,
.night-mode #list-komik{
    color: #ffffff;
}

.night-mode #list-komik .capter{
    background-color: #000000;
    border: 1px solid #ffffff;
}

.night-mode #main-navbar .nav-link,
.night-mode #main-navbar-bottom .nav-link{
    color: #ffffff;
}

.night-mode #main-navbar .nav-link:hover,
.night-mode #main-navbar .nav-link.active,
.night-mode #main-navbar-bottom .nav-link:hover,
.night-mode #main-navbar-bottom .nav-link.active{
    color: #00dc64;
}

.night-mode #footer p{
    color: #ffffff;
}
