@font-face {
    src: url("/static/iosevka.woff") format("woff");
    font-family: iosevka;
    font-display: swap;
    font-style: normal;
    font-weight: 500;
}

.layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    14rem;

  gap: 1rem;

  width: min(70rem, calc(100% - 2rem));
  margin-inline: auto;
}

:root {
    --titleglow: 3.3px 2px 0 #2e2e2e;
    --glowyish: 1px 1px 0 #2e2e2e;
    --girly-red: #b48acf;
    --main-dark: black;
}

li::marker {
    color: #FDFD96;
    content: "★ ";
}

li {
    margin-bottom: 10px;
}

.indyping {
    margin: 10px 10px 5px 5px;
    width: 65px;
    float: left;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    height: 100%;
}

* {
    min-width: 0;
}

.pointer {
    cursor: pointer;
}

ul, ol {
    padding: 0;
    margin: 0;

    clear: both;

    margin-left: 19px;
}

#intro ul {
    padding-top: 5px;
}

footer {
    font-family: iosevka;
    text-align: center;
    color: white;
}

a {
    transition: font-size 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    color: #bdbdbd;
}

button {
    transition: font-size 0.3 ease;
    background-color: black;
    text-decoration: none;
    cursor: pointer;
    color: #bdbdbd;
}

.specil {
    color: #FAA0A0;
}

button:hover {
    text-decoration-color: #b0b0b0;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 16.5px;
}

a:hover {
    text-decoration: underline;
    text-decoration-color: #b0b0b0;
    text-underline-offset: 4px;
    font-size: 16.5px;
    cursor: pointer;
}

h1 {
    text-shadow: var(--glowyish);
    color:     #404566;
    font-family: ibm_conv;
    font-display: swap;
    text-align: center;
}

header h1 {
    text-shadow: var(--titleglow);
    color: var(--girly-red);
    font-family: iosevka;
    text-align: center;
}

h2 {
    text-shadow: var(--glowyish);
    color: var(--girly-red);
    font-family: iosevka;
}

h3 {
    text-shadow: var(--glowyish);
    color: var(--girly-red);
    font-display: swap;
    font-family: iosevka;
    margin-bottom: 0;
}

body { 
    text-shadow: var(--body-text-shadow); 
    background-color: var(--main-dark);
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: none;
    -moz-font-smoothing: none;
    font-family: iosevka;
    font-smooth: never;
    overflow-x: hidden;
}

.box {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #000000;
    border: 2px solid #0a0d12;
    margin-bottom: 10px;
    border-radius: 4px;
    min-height: 60px;
    padding: 10px 15px;
    font-size: 15.459px;
    font-display: swap;
    color: #bdbdbd;
    margin: 5px;
}

.pastel {
    color: #FDFD96;
}

.links {
    padding-bottom: 5px;
}

.links li {
    padding: 5px;
}

.links a {
    font-size: 18px;
}

button {
    font-size: 18px;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px var(--main-dark);
}

::-webkit-scrollbar-thumb {
    outline: 1px solid #d0b0ff;
    background-color: #1f1f1f;
}

.box.thread-container::-webkit-scrollbar {
    width: 2px;
}

.box.thread-container::-webkit-scrollbar-thumb {
    outline: hidden;
}

.box.thread-container::-webkit-scrollbar-track {
    -webkit-box-shadow: none;
}

@media (max-width: 768px) {
    .layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        grid-row: 2;
    }
}

#modal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    background-color: rgba(0,0,0,0.5);
    z-index: 1000;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    animation-name: fadeIn;
    animation-duration: 150ms;
    animation-timing-function: ease;
}

#modal > .modal-underlay {
    position: absolute;
    z-index: -1;
    top:0px;
    bottom:0px;
    left: 0px;
    right: 0px;
}

#modal > .modal-content {
    max-width: 90vw;
    max-height: 90vh;
    padding: 20px;

    overflow: auto;

    animation-name: zoomIn;
    animation-duration: 150ms;
    animation-timing-function: ease;
}

#modal.closing {
    animation-name: fadeOut;
    animation-duration:150ms;
    animation-timing-function: ease;
}

#modal.closing > .modal-content {
    animation-name: zoomOut;
    animation-duration:150ms;
    animation-timing-function: ease;
}

@keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

@keyframes fadeOut {
    0% {opacity: 1;}
    100% {opacity: 0;}
}

@keyframes zoomIn {
    0% {transform: scale(0.9);}
    100% {transform: scale(1);}
}

@keyframes zoomOut {
    0% {transform: scale(1);}
    100% {transform: scale(0.9);}
}

#modal-image {
    display: block;
    margin: 0 auto;

    max-width: 100%;
    max-height: 70vh;

    width: auto;
    height: auto;
    object-fit: contain;
}


.thumbnail {
  max-width: 160px;
  max-height: 160px;

  width: auto;
  height: auto;

  display: block;
}

.nodec {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nodec > li {
  list-style: none;
}

.nodec > li::marker {
  content: "";
}

.post-body p {
    text-align: justify;
    hyphens: auto;
}
