@font-face {
    font-family: "IBM_VGA";
    src: url(./resources/IBM_VGA.woff);
    font-weight: normal;
}
@font-face {
    font-family: "iosevka";
    src: url(./resources/iosevka-curly.woff2);
    font-weight: normal;
}

html, body {
    height: 100%;
}

html {
    display: table;
    margin: auto;
    background-color: #000000;
}

body {
    display: table-cell;
    vertical-align: middle;
    color: #cfcfcf;
}

/* body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none !important;
    background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 1px, transparent 1px, transparent 2px)
} */

pre {
    font-size: 12pt;
}

::selection {
    background-color: #4e739171
}

/* Scrollbar */

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #141414;
}
::-webkit-scrollbar-thumb {
  background: #2e2e2e;
}
::-webkit-scrollbar-thumb:hover {
  background: #535353;
} 

/* text styling and linking */

#title {
    background-color: #f3ec78;
    background-image: linear-gradient(0deg, #776490, #6caaa7);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent; 
    -moz-text-fill-color: transparent;
    text-align: center;
    font-family: "IBM_VGA";
    cursor: default;
    line-height: 1;
}

#subtitle {
    text-align: center;
    font-family: "IBM_VGA";
    cursor: default;
    color: #8c8c8c;
}

#title-small {
    background-color: #f3ec78;
    background-image: linear-gradient(0deg, #776490, #6caaa7);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent; 
    -moz-text-fill-color: transparent;
    cursor: alias;
}

#return {
    color: #5a5a5a;
    text-align: center;
    font-family: "IBM_VGA";
}

#main {
    font-family: "IBM_VGA";
    line-height: 1.0;
    display:block;
    word-wrap: break-word;
    width: 100vw;
    overflow-x: hidden;
    white-space: normal;
    max-width: 500pt;
    box-sizing: border-box;
    padding: 0 12px;
}

#main-gallery {
    font-family: "IBM_VGA";
    line-height: 1.0;
    display:block;
    word-wrap: break-word;
    width: 100vw;
    overflow-x: hidden;
    white-space: normal;
    max-width: 480pt;
    box-sizing: border-box;
    padding: 0 12px;
}

#main-credits {
    font-family: "IBM_VGA";
    line-height: 1.0;
    display: block;
    word-wrap: break-word;
    width: 350pt;
    overflow-x: visible;
    white-space: normal;
    text-align: center;
}

#main-title {
    font-weight: bold;
    text-align: center;
}
#main-subtitle {
    color: #8c8c8c;
}

#image {
    width: 100vw;
    max-width: 500pt;
    padding-right: 24px;
    box-sizing: border-box;
}

#chimage {
    width: 100vw;
    max-width: 350pt;
    box-sizing: border-box;
}

#smallbox {
    width: 88px;
    height: 31px;
    max-width: 88px;
    max-height: 31px;
}

#webring {
    width: 234pt;
}

#ch {
    color: #72b574;
    font-family: "IBM_VGA";
}
#ch:hover {
    color: #6a95a0;
    text-decoration: underline;
}

#draftbutton {
    color: #353535; 
    font-family: "IBM_VGA"
}
#draftbutton:hover {
    color: #455b61;
    text-decoration: underline;
}
#link {
    color: #72b574;
    text-decoration: underline;
}

#link:hover {
    color: #6a95a0;
    text-decoration: underline;
}

#chapters {
    font-family: "iosevka";
    line-height: 0.94;
    display:block;
    word-wrap: break-word;
    width: 350pt;
    overflow-x: visible;
    cursor: default;
    text-align: center;
    user-select: none;
    white-space: normal;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.gallery img {
    margin: 2px;
    width: 120px;
    height: 90px;
    object-fit: cover;
    max-width: 120px;
    image-rendering: optimizeSpeed;
    
}
.gallery img:hover {
    outline: 1px solid #949494; /* Black outline, you can change the color and width */
}
.pagination {
    text-align: center;
    margin-top: 20px;
}
#page-index {
    text-align: center;
}
.pagination button {
    margin: 5px 5px;
    padding: 7px 10px;
    cursor: pointer;
    max-width: 38px;
    width: 38px;
    background-color: #1d1d1d;
    color: #a7a7a7;
    border: 1px solid #242424;
    font-family: "IBM_VGA";
    font-size: 11pt;
}
.pagination button:hover {
    background-color: #2e2e2e;
    color: #cfcfcf;
}

#footer {
    text-align: center;
    font-family: "IBM_VGA"; 
    font-size: 10pt; 
    color: #353535; 
    user-select: none;
}

#ccbutton {
    text-align: center;
    font-family: "IBM_VGA"; 
    font-size: 10pt; 
    color: #37335c; 
    user-select: none;
    text-decoration: underline;
}
#ccbutton:hover {
    color: #565280;
}

a:link {
    color: inherit;
    text-decoration: none;
}

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

a:hover {
    color: inherit;
    text-decoration: none;
}

a:active {
    color: inherit;
    text-decoration: none;
}
