@font-face {
    font-family: paragraph;
    src: url(../font/paragraph.ttf);
	font-display: swap;
}

@font-face {
    font-family: heading;
    src: url(../font/heading.woff);
	font-display: swap;
}

@font-face {
    font-family: s;
    src: url(../font/synapsian.ttf);
	font-display: swap;
}

@font-face {
    font-family: a;
    src: url(../font/makina.otf);
	font-display: swap;
}

body {
    background-image: url("../../assets/images/CS%2047.webp");
    background-attachment: fixed;
    background-position: 20% 80%;
}

@media screen and (max-width: 800px) {
    body {
        background-position: top;
    }
}

body {
    position: relative;
    width: 100%;
    border: 5px solid;
    border-color: #0a0e14;
    margin: 0;
    padding: var(--line-height) 2ch;
    max-width: calc(min(140ch, round(down, 100%, 1ch)));
    line-height: var(--line-height);
    overflow-x: hidden;
    text-shadow:
        1.5px 3px #000,
        0px -0.5px #000,
        0px 0.5px #000,
        -1px 0px #000,
        1px 0px #000,
        -1px -1px #000,
        1px 1px #000,
        -1px 1px #000,
        1px -1px #000;
}

#page-container {
    background-color: rgba(10, 14, 20, 0.5);
    min-height: 100vh;
}

@media screen and (max-width: 800px) {
    body {
        position: absolute;
        overflow-y: scroll;
    }

    .padded {
        padding-left: 1.5vw;
        padding-right: 1.5vw;
    }

    #acronym h1 {
        font-size: 2em !important;
    }
}

#acronym h1 {
    position: absolute;
    font-family: Heading;
    font-size: 4em;
    transition: top 0s;
}

#acronym h1 span {
    background-color: #0a0e14;
}

section {
    margin-top: 1.5vw;
    margin-bottom: 3vw;
    width: calc(100% - 2em);
    padding: 1em;

    margin-right: 0;
    background-color: #0a0e14;
    --section-color: #cbf7ad;
    color: var(--section-color);
    filter: drop-shadow(0px 1px 0px var(--section-color))
        drop-shadow(0px -1px 0px var(--section-color))
        drop-shadow(-1px 0px 0px var(--section-color))
        drop-shadow(1px 0px 0px var(--section-color));
}

section h1 {
    font-size: 30px;
}

section details {
    padding: 1.25rem 2ch;
}

section details summary {
    font-size: 25px;
}

section::before {
    content: "";
    background-color: #0a0e14;
    clip-path: url(#clip-sectiontop);
    display: block;
    position: relative;
    margin-right: -16px;
    height: 2.25vw;
    margin-bottom: -3vw;
    top: calc(-2.25vw - 1em + 1px);
}

section::after {
    content: "";
    background-color: #0a0e14;
    clip-path: url(#clip-sectionbottom);
    display: block;
    height: 2.25vw;
    margin-top: -4vw;
    top: calc(2.25vw + 1em - 1px);
    position: relative;
    margin-left: -16px;
    width: 101.7%;
}

html {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #cbf7ed;
    background-color: #0a0e14;
    font-family: paragraph, sans-serif;
    font-size: 16px;
}

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

h1 {
    font-family: Heading;
    text-shadow: 3px 0 1px rgba(0,30,255,0.5), -3px 0 1px rgba(255,0,80,0.3), 0 0 3px;
}

.fade-in {
    animation: 2s fadein;
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* TODO: Figure out whether or not I intended to make this a universal thing */
*::-moz-selection {
    color: #cbf7ed;
    text-shadow:
        0 0 5px green,
        0 0 10px green,
        0 0 20px green,
        0 0 30px green,
        0 0 40px green,
        0 0 55px green;
}

*::selection {
    color: #cbf7ed;
    text-shadow:
        0 0 5px green,
        0 0 10px green,
        0 0 20px green,
        0 0 30px green,
        0 0 40px green,
        0 0 55px green,
        0 0 70px green;
}

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

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #fff;
}

.syn {
    font-family: S;
}

.padded {
    padding-left: 4vw;
    padding-right: 4vw;
}

.link {
    color: #8ea8c3;
}

.link:hover {
    color: #8ea8c3;
    text-decoration: none;
}

.overno {
    color: #888 !important;
    pointer-events: none;
}

.overno:hover {
    background-color: #888 !important;
    color: #000 !important;
}

.indexlist {
    width: calc(100% - 170px);
    display: inline-block;
    height: 64px;
    line-height: 64px;
    vertical-align: 28px;
    text-wrap: pretty;
}

.indexlist span {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}

.indexlist a:hover,
.linkt1:hover {
    background-color: #f3f7f0;
}
