* {
    box-sizing: border-box;
}

:root {
    --link-cream: #5f584d;
    --selection-cream: #eee8dc;
}

::selection {
    background: var(--selection-cream);
    color: black;
}

::-moz-selection {
    background: var(--selection-cream);
    color: black;
}

body {
    margin: 0;
    text-align: center;
    overflow: hidden;
    font-family: 'pc98', sans-serif;
    font-size: 10px;
    font-stretch: condensed;
    letter-spacing: -0.3px;
   margin: 0;
    background-color: #bdbdbd;
    color: black;
    background-repeat: no-repeat;
    background-position: right top;
    background-size: auto 100vh;
    
}


h1,
.h1 {
    position: relative;
    z-index: 1;
   text-align: left;
    margin-top: -20px;
    margin-left: -20px;
   font-size: 30px;
    margin-bottom: 0;
    font-weight: normal;
    font-family: 'spirit', sans-serif;
    font-stretch: condensed;
    letter-spacing: -0.8px;
     -webkit-text-stroke: 1px gray;
     color: white;
}

 h2,
.h2 {
    text-align: left;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 20px;
    font-weight: normal;
    font-family: 'spirit', sans-serif;
    font-stretch: condensed;
    letter-spacing: -0.8px;
     -webkit-text-stroke: 0.8px gray;
     color: white;
}

.article > .h1,
.notes-section > .h2 {
    text-decoration-line: underline;
    text-decoration-style: wavy;
    text-decoration-color: #d8d8d8;
    text-decoration-thickness: 1px;
    text-underline-offset: 1px;
}

.notes-image {
    float: right;
    width: 240px;
    max-width: 45%;
    height: auto;
    margin: 0 0 0 6px;
    border: 1px solid #777;
    border-radius: 8px;
    box-shadow: 2px 2px 0 #777;
    -webkit-mask-image: radial-gradient(ellipse, #000 35%, transparent 100%);
    mask-image: radial-gradient(ellipse, #000 35%, transparent 100%);
}


.aside {
   float: left;
    width: calc(40% - 250px);
    height: calc(100vh - 50px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 12px;
    background-color: #bdbdbd;
    color: black;
    margin-left: 15px;
}

.aside ul {
    list-style: none;
    padding: 0;
    margin: 0;
font-size: 14px;
}

.aside li {
    margin-bottom: 8px;
}

.aside li a {
    display: inline-block;
    color: var(--link-cream);
    text-decoration-color: var(--link-cream);
    transition: transform 0.2s ease;
}

.aside li a:visited {
    color: var(--link-cream);
}

.aside li a:hover {
    transform: scale(0.85);
}

.dot-art {
    max-width: 100%;
    margin: 1rem auto;
    overflow: hidden;
    white-space: pre;
    font-family: monospace;
    font-size: 10px;
    line-height: 1;
}



h4,.h4 {
    text-align: left;
    font-size: 20px;
}

.main {
    float: left;
    width: calc(50% - 100px);
    height: calc(100vh - 50px);
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #bdbdbd;
    
}


.main-content {
    width: 100%;
    padding: 20px;
    overflow-y: auto;
    
}



.main-content-left {
    text-align: left;
    height: 50%;
    flex-shrink: 0;
}

.article {
    text-align: left;
    line-height: 1.5;
}

.notes-section {
    display: flow-root;
}

.article-image {
    float: left;
    width: 240px;
    max-width: 45%;
    height: auto;
    margin: 0 6px 0 0;
    border: 1px solid #777;
    border-radius: 8px;
    box-shadow: 2px 2px 0 #777;
    -webkit-mask-image: radial-gradient(ellipse, #000 35%, transparent 100%);
    mask-image: radial-gradient(ellipse, #000 35%, transparent 100%);
}

.article p {
    margin-top: 0;
}



.main-content-right {
    height: 50%;
    flex-shrink: 0;
}

.main-content-right > .h1 {
    position: relative;
    z-index: 1;
    margin-bottom: -20px;
}




body::after {
    content: "";
    display: block;
    clear: both;
}

.boxgap{
display: flex;
flex-direction: column;
gap: 1rem;
}

.trinkets-page > .main > .h1 {
    margin-top: 0;
    margin-left: 0;
}

.trinkets-page > .main {
    overflow-y: auto;
}

.trinkets-page .trinkets-grid {
    column-width: 180px;
    column-gap: 12px;
}

.trinkets-page .trinkets {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin-bottom: 12px;
    break-inside: avoid;
}
 
.box {
    display: flex;
    text-align: left;
    flex-direction: row;
    width: 100%;
    height: 200px;
    overflow: hidden;
    padding: 0.5rem;
    border: 2px inset;
    color: #000;
    border-radius: 10px;
    background-color: #f1f1f1;
      box-shadow: inset 13px 0px 6px -10px rgb(66 66 66 / 20%), inset -13px 0px 6px -10px rgb(66 66 66 / 56%), inset 0px 13px 6px -10px #ffffff, inset 0px -13px 6px -10px rgb(66 66 66 / 38%);
}

.left {
    flex: 0 0 auto;
    background-color: #f1f1f1;
    padding: 0.7rem;
    text-align: center;
}

.right {
    flex: 1;
    min-width: 0;
    min-height: 0;
    padding: 1rem;
    overflow-y: auto;
}

.right::-webkit-scrollbar {
    width: 0;
}





.trinket {
        width: 240px;
    }



    
.footer {
     position: fixed;
    bottom: 0;
    left: 0;
    width: 65.5%;
    height: 50px;
    background-color: #bdbdbd;
    color: black;
    text-align: center;
    line-height: 50px;
}




@font-face {                  
font-family: 'MachineLearning';
src: url(https://humantooth.neocities.org/fonts/MachineLearningFont-v1.woff) format('woff');
font-weight: normal;
font-style: normal;
} 

@font-face {
font-family: pc98; 
src: url(https://dl.dropbox.com/s/b3ea2lfugu2k3gw/pc98.ttf);
}

@font-face {
font-family: 'Spirit';
src: url('Spirit.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}












@media (max-width: 768px) {
    body {
        background: #000;
    }

    body > * {
        display: none !important;
    }

    .main {
        float: none;
        width: 100%;
        height: auto;
        min-height: 300px;
    }

    .aside {
        float: none;
        width: 100%;
        height: calc(100vh - 50px);
        min-height: 300px;
    }

    .main-content {
        height: auto;
        min-height: 300px;
    }
}