@font-face {
    font-family: Ysabeau_SC;
    src: url(Ysabeau_SC/YsabeauSC-VariableFont_wght.ttf);
}

/* Section Settings */
html, body {
    height: 100%;
    margin: 0;
    background: rgb(75, 75, 120);
  }

body {
    background: rgb(26, 26, 26);
    color: rgb(230, 230, 230);
    margin: 0;
    padding: 0;
    font-family: Ysabeau_SC;
}

.body {
    display: none;
}

header {
    background: rgb(26, 26, 26);
    color: rgb(230, 230, 230);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

section {
    background: rgb(75, 75, 120);
    margin: 0;
    padding: 0;
}

div {
    margin: 0;
    padding: 0;
    background-color: rgb(26, 26, 26);
}


/* Sorter */
#sorter_container {
    display: flex;
    justify-content: center;
    background-color: rgb(75, 75, 120);
}

#sorter {
    margin: 0 0 50px 0;
    font-family: Ysabeau_SC;
    font-weight: bold;
}

/* Image Navigation Settings */
nav ol {
    display: flex;
    justify-content: space-around;
    list-style: none;
    flex-wrap: wrap;
    padding: 0;
}

nav ol li {
    font-size: 110%;
    margin: 0px 10px;
    text-align: center;
    
}

nav ol li img{
    width: 100px;
    aspect-ratio: 1 / 1;
    
}

nav ol li figure {
    margin: 0 0 60px 0;
    padding: 0;
    text-align: center;
}

nav ol li figure figcaption {
    margin: 0;
    padding: 0;
    font-size: 200%;
}

nav ol li figure img {
    margin: 0;
    padding: 0;
    width: 350px;
    aspect-ratio: 3 / 4 ;
    object-fit: cover;
}

nav ol li figure img:hover {
    opacity: 0.5;
}

.img_count, .comic_count {
    font-size: 140%;
}

#patreon_text {
    display: flex;
    flex-wrap: wrap;
    width: 100px;
    font-weight: bold;
    color: white;
}

/* Misc Collection */
.collection {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.collection li {
    font-size: 110%;
    margin: 0;
}

.collection li figure {
    margin: 0 0 60px 0;
    padding: 0;
}

.collection li figure img {
    margin: 0 10px;
    padding: 0;
    height: 400px;
}

.collection li figure img:hover {
    opacity: 0.5;
}

#fullscreen {   
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .7); 
}

#fullscreen_img {  
    max-width: 85%;
    max-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#fullscreen_close_button {
    color: white;
    position: absolute;
    font-size: 300%;
    top: -25px;
    right: 2px;
    cursor: pointer;
}

#fullscreen_zoom {
    color: white;
    position: absolute;
    font-size: 300%;
    top: -25px;
    left: 2px;
    cursor: pointer;
}

.fullscreen_arrow_left, .fullscreen_arrow_right {
    cursor: pointer;
    font-size: 500%;
}

@media screen and (max-width: 800px) {
    .fullscreen_arrow_left, .fullscreen_arrow_right {
        font-size: 300%;
    }
}

@media screen and (max-width: 600px) {
    .fullscreen_arrow_left, .fullscreen_arrow_right {
        font-size: 200%;
    }

    .collection li figure img {
        height: 200px;
    }
}

@media screen and (max-width: 400px) {
    .fullscreen_arrow_left, .fullscreen_arrow_right {
        font-size: 150%;
    }
}

.fullscreen_arrow_left {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translate(0%, -50%);
}

.fullscreen_arrow_right {
    position: fixed;
    top: 50%;
    right: 10px;
    transform: translate(0%, -50%);
}

.collection_pages {
    display: flex;
    justify-content: center;
    margin: 0 0 10px 0;
    font-size: 200%;
}

.page_selector {
    margin: 0 10px;
}

/* Comic Info */

#comic_info {
    display: flex;
    justify-content: space-evenly;
    padding-bottom: 20px;
}

/* Gallery */
.gallery {
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    background: rgb(75, 75, 120);
}

.gallery_image {
    max-height: 100%;
    max-width: 80%;
    margin: 0;
    cursor: pointer;
}

.gallery_arrows {
    cursor: pointer;
    margin: 0 20px;
    font-size: 600%;
}

#current_page {
    background-color: rgb(75, 75, 120);
    text-align: center;
    font-size: 150%;
    margin: 0;
}

#current_page p{
    margin: 3px;
}

/* Selector Settings */
#gallery_selector_div {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 6.25% 12.5% 12.5% 12.5% 12.5% 12.5% 12.5% 12.5% 6.25%;
    
}

.gallery_selector_div {
    margin: 0;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    background: rgb(75, 75, 120);
}

.gallery_selector_div img {
    cursor: pointer;
    max-width: 90%;
}
.gallery_selector_div img:hover {
    opacity: 0.5;
}

.selector_arrows {
    text-align: center;
    margin: auto;
    background: rgb(75, 75, 120);
    font-size: 150%;
}

.selector_arrows_l, .selector_arrows_r {
    cursor: pointer;
    font-size: 200%;
}

.selector_arrows_l {
    grid-column: 1/1;
}

.selector_arrows_r {
    grid-column: 9/9;
}

.c {
    box-shadow: 0 0 5px black;
    border: solid 1px black;
    opacity: 0.5;
}

/* Class Settings */
.hide {
    display: none;
}

/* Misc Text Settings */
p {
    margin: 10px 0 0 0;
    padding: 0;
    text-align: center;
    font-size: 120%;
}

.warning {
    background-color: rgb(117, 0, 0);
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
    font-size: 140%;
}

.text_para {
    padding: 20px;
    font-size: 120%;
    line-height: 1.5;
    margin: 0;
}

a:visited { 
    text-decoration: none; color:white; 
}

.download_link {
    text-align: center;
    padding-top: 10px;
}

.download_text {
    color: white;
    font-size: 200%;
}

ol, li {
    margin: 0;
}

h1 {
    margin: 0;
    padding: 0;
}

h2 {
    margin: 0;
    padding: 0;
    font-size: 400%;
    text-align: center;
}

h3 {
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 160%;
}

footer {
    background: rgb(26, 26, 26);
    color: rgb(230, 230, 230);
    padding-bottom: 0;
    display: none;
}