:root {
    --fg:#eee;
    --bg:black;
    --dim:#292919;
    --primary:#86862d;
    --secondary:#bdbf09;
    --tertiary:#fdf6b6;
    --film:#98be3f1e;
    --trans:#86862d00;
    --size:clamp(0.8rem, 0.8dvw, 0.8dvw);
}
::selection {
    color: var(--bg);
    background-color: var(--fg);
}
::-webkit-scrollbar {
    width: 1px;
}
::-webkit-scrollbar-track {
    background: var(--fg);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
}





* {
    margin: 0;
    padding: 0;
    max-width: 100%;
    box-sizing: border-box;
    cursor: crosshair;
}
html {
    color: var(--fg);
    background-color: var(--bg);
    font-size: var(--size);
    font-family: "Arial";
    line-height: 1.5;
    background-image: url("/content/assets/move_bg.png");
    animation: background 12s infinite linear;
}

body, header, nav, aside, main, footer, section {
    padding: 0.5rem;
}
h1, h2, h3 {
    letter-spacing: 2px;
}
small {
    color: var(--dim);
}
button {
    border: none;
    color: var(--fg);
    background: none;
    padding: 0 1rem;
    font-family: "Times";
}
audio{
    color-scheme: dark;
}

mark {
    background: var(--tertiary);
}
hr {
    border: none;
    border-bottom: 1px dotted var(--dim);
    margin: 0.5rem 0;
}
i {
    color: var(--primary);
}
a {
    color: var(--primary);
    font-family: "MS UI GOTHIC";
}


.full {
    height: 100dvh;
}
.flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.group {
    list-style: none;
}
.no_bg {
    background-image: inherit;
}
.right {
    text-align: right;
}
.return {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 1rem;
    filter: brightness(30%);
}
.blackletter {
    font-family: "Blackletter";
}
.acidic {
    font-family: "Acidic";
}
.times {
    font-family: 'Times New Roman';
}
.hide {
    display: none;
}
.entry_date {
    text-transform: capitalize;
    padding: 0.7rem 0;
    color: var(--dim);
}
.big_button {
    font-size: calc(var(--size)*3);
    z-index: 100;
}
.photo_video {
    position: absolute;
    text-align: center;
    cursor: grab;
    z-index: 1;
    user-select: none;
    max-width: 200px;
}
.photo_video.dragging {
    z-index: 10;
    cursor: grabbing;
}
.photo_video_title {
    margin-top: 0.5em;
    word-break: break-word;
    pointer-events: none;
}
.rm_ul {
    & a {text-decoration: none;}
}
.drawing_year {
        column-count: 3;
        gap: 1.5rem;
        max-width: 1200px;
    }
    .drawimg {
        margin-bottom: 1.5rem;
        width: 100%;
    }
    .drawimg img {
        width: 100%;
        border-radius: 3.5px;
        box-shadow: 0 2px 8px var(--dim);
    }

.page {
    max-width: 55px;
    & img {
        filter: contrast(1.5) brightness(2) grayscale(100%);
    }
}
.icon {
    filter: contrast(1.5) grayscale(100%);
    max-width: 100px;
}



    


#htmlINDEX {
    background: url("/content/assets/bg.gif");
}
#bodyINDEX {
    max-width: 450px;
    margin: auto;
    text-align: center;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
}
#navINDEX {
    align-items: baseline;
    justify-content: center;
}
#main404 {
    margin: auto;
    font-size: calc(var(--size)*2);
    max-width: 200px;
    text-align: center;
}
#bodySITEMAP {
    font-size: calc(var(--size)*4);
    line-height: 1.3;
}
#bodyABOUT {
    font-size: calc(var(--size)*1.5);
}
#mainABOUT {
    max-width: 600px;
    margin: auto;
    text-align: center;
}
#me, #button {
    margin: 1rem;
}
#bodyJOURNAL {
    font-size: calc(var(--size)*1.7);
}
#headerJOURNAL {
    text-align: center;
}
#mainJOURNAL {
    max-width: 900px;
    margin: auto;
}
#bodyGALLERY {
    overflow: hidden;
    position: relative;
    height: 100dvh;
    width: 100vw;
    min-height: 100vh;
    min-width: 100vw;
    color: var(--primary);
}
#headerGALLERY {
    justify-content: space-between;
}
#photos, #videos {

}
#bodyWORKS {
    font-size: calc(var(--size)*5);
}
#mainDRAWNGS {
    margin: 0 auto;
    max-width: 1200px;
}
#headerSTUFF {
    justify-content: space-between;
    align-items: center;
}
#navSTUFF button {
    font-size: calc(var(--size)*1.7);
}
#mainSTUFF {
    padding-top: 2rem;
}
#mainSTUFF div {
    padding: 1rem;
}






@keyframes flicker {
    0% {opacity: 0.27861;}
    5% {opacity: 0.34769;}
    10% {opacity: 0.23604;}
    15% {opacity: 0.90626;}
    20% {opacity: 0.18128;}
    25% {opacity: 0.83891;}
    30% {opacity: 0.65583;}
    35% {opacity: 0.67807;}
    40% {opacity: 0.26559;}
    45% {opacity: 0.84693;}
    50% {opacity: 0.96019;}
    55% {opacity: 0.08594;}
    60% {opacity: 0.20313;}
    65% {opacity: 0.71988;}
    70% {opacity: 0.53455;}
    75% {opacity: 0.37288;}
    80% {opacity: 0.71428;}
    85% {opacity: 0.70419;}
    90% {opacity: 0.7003;}
    95% {opacity: 0.36108;}
    100% {opacity: 0.24387;}
}
@keyframes brighten {
    to {
        filter: brightness(100%);
    }
}
@keyframes background {
    0% {
        background-position: 0px 0px;
    }
    100% {
        background-position: 307px 133px;
    }
}
@keyframes stretch {
        to {
            letter-spacing: 7px;
        }
    }

    @media (max-width: 900px) {
        .drawing_year { 
            column-count: 2; 
        }
    }
    @media (max-width: 600px) {
        .drawing_year { 
            column-count: 1; 
        }
    }



a:hover {
  color: var(--secondary);
}
button:hover {
    color: var(--secondary);
}
audio::-webkit-media-controls-panel {
    background: var(--bg);
    border-radius: 10px;
}
.return:hover {
    animation: brighten 1s forwards;
}
#bodySITEMAP a {
    text-decoration: none;
}
#bodySITEMAP a:hover {
    background: var(--fg);
}
#bodyWORKS a:hover {
    color: var(--trans);
    -webkit-text-stroke: 0.5px var(--primary);
    font-style: italic;
    animation: stretch 1s forwards;
}
html::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(18, 16, 16, 0.1);
    opacity: 0;
    z-index: 20;
    pointer-events: none;
    animation: flicker 0.15s infinite;
}
html::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 20;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}