#manga-info{
    display: flex;
    flex-direction: row;
    max-width: 930px;
    margin: auto;
}

#manga-info p,#manga-info-right h2{
    color: #aaa;
}

#manga-info-left{
    width: 235px;
    float: left;
}

#manga-info-right{
    overflow: hidden;
    width: 100%;
    margin-left: 0.8em;
}

#manga-info-right h1{
    font-size:2rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0;
}
#manga-info-right h2{
    margin-bottom: 1em;
    font-size: 1.2em;
}


.manga-thumb{
    border-radius: 10px;
    display: block;
    aspect-ratio: 2 / 3;
}



.info-desc,#chapter-list{
    padding: 0.5em;
    border-radius: 10px;
    width: 100%;
    background-color: rgb(41, 41, 41);
    padding-right: 1em;
    margin-bottom: 15px;
}

.info-desc-line{
    background-color: #22A7F0;
    height: 3px;
}


.desc{
    color: #f1f1f1;
}
.genre-list{
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 1em;
}

.genre-list-item{
    background-color: #1C1C1C;
    padding: 5px 10px;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    border-bottom: 2px solid #22A7F0;
}

#rating-box{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 10px;
    color: #ffc900;
    justify-content: center;
    font-size: 1.2em;
}

#rating-box i:hover{
    text-shadow: 0px 0px 10px #ffc900;
    cursor: pointer;
}

.extra-manga-info{
    background-color: rgb(41, 41, 41);
    padding: 0.5em;
    width: 100%;
    border-radius: 10px;
    
}

.extra-manga-info p{
    margin-bottom: 10px;
    font-size: 0.8em;
}

.extra-manga-info span{
    color: #d6d6d6;
    font-size: 1.2em;
}

.extra-manga-info-right{
    display: none;
}

#chapter-list{
    min-height: 300px;
}

#chapter-list hr{
    height: 3px;
    background-color: #22A7F0;
    margin-top: 0;
}

.chapter-list-title{
    font-size: 1.5em;
    color: #f1f1f1!important;
    margin-bottom: 10px;
}


#switch-list-order{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    width: 30px;
    background-color: #22A7F0;
    color: #f1f1f1;
    
    box-shadow: 0px 0px 5px #1C1C1C;
}

.chapter-start-end{
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 1em;
}

.chapter-start-end a{
    display: block;
    width: 100%;
    padding: 10px 0px;
    text-align: center;
    background-color: #1C1C1C;
    border-radius: 10px;
    color: #f1f1f1;
    font-size: 1.2em;
    font-weight: bold;
    transition: 0.5s;
}

.chapter-start-end a span{
    color: #aaa;
    font-size: 0.8em;
    font-weight: normal;
}

.chapter-start-end a:hover{
    background-color: #22A7F0;
}


#search-chapter-list{
    background-color: #1C1C1C;
    border: none;
    color: #f1f1f1;
    border-radius: 10px;
    border-bottom: 2px solid #22A7F0;
}

.chapter-list-holder{
    background-color: #1C1C1C;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    min-height: 40px;
    max-height: 300px;
    overflow-y: scroll;
}


.chapter-list-holder{
    --sb-track-color: #232E33;
    --sb-thumb-color: #22a7f0;
    --sb-size: 10px;
  }
  
  .chapter-list-holder::-webkit-scrollbar {
    width: var(--sb-size);
  }
  
  .chapter-list-holder::-webkit-scrollbar-track {
    background: var(--sb-track-color);
    border-radius: 6px;
  }
  
  .chapter-list-holder::-webkit-scrollbar-thumb {
    background: var(--sb-thumb-color);
    border-radius: 6px;
  }
  
  @supports not selector(::-webkit-scrollbar) {
    .chapter-list-holder {
        scrollbar-color: var(--sb-thumb-color)
                       var(--sb-track-color);
    }
  }

.chapter-list-item{
    background-color: #1C1C1C;
    border: 0.5px solid #464646;
    transition: 0.2s;
    color: #f1f1f1;
    padding: 0.3em 1em;
    margin: 0.4em 0;
    border-radius: 10px;
    font-size: 1.2em;
}

.chapter-list-item:visited{
    color: #22A7F0 !important;
}

.chapter-list-item span{
    display: block;
}

.chapter-date{
    font-size: 0.7em;
    color: #aaa;
}

.chapter-list-item:hover{
    background-color: rgb(41, 41, 41);
}


.mangosm-keywords{
    font-size: 12px;
    
}

@media (max-width: 768px){
    #manga-info{
        flex-direction: column;
        position: relative;
    }

    #manga-info-left{
        width: 100%;
        float: none!important;
    }

    #manga-info-right{
        margin-left: 0!important;
    }

    .info-desc,#chapter-list{
        padding-right:0.5em!important;
    }

    

    .manga-thumb{
        max-width: 235px;
        margin: auto;
        display: block;
    }

    .container{
        max-width: 600px;
    }

    .extra-manga-info-right{
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-bottom: 15px;
        padding: 0.5em;
    }

    .extra-manga-info-left{
        display: none;
    }
    
}