@font-face {                  
    font-family: 'Jacquard12';
    src: url(https://humantooth.neocities.org/fonts/Jacquard12-Regular.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'CoralinesCat';
    src: url(/assets/fonts/coralines-cat/CoralinesCat.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SnootPixel10';
    src: url(/assets/fonts/snoot-org-pixel10/px10.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'dotty';
    src: url(/assets/fonts/dotty/dotty.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'alice';
    src: url(/assets/fonts/alice/Alice\ in\ Wonderland.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'alkhemikal';
    src: url(/assets/fonts/Alkhemikal.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'zrnic';
    src: url(/assets/fonts/zrnic/zrnic\ rg.otf) format('opentype')
}

@font-face {
    font-family: 'kelvinch';
    src: url(/assets/fonts/kelvinch/Kelvinch-Roman.otf) format('opentype')
}

@counter-style dashes {
  system: cyclic;
  symbols: "-";
  suffix: " ";
}

body, html {
    min-height: 100vh;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'kelvinch';
    font-variant-ligatures: none;
}

header {
    background-color: black;
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 0;
    border-bottom: solid white 1px;
    box-shadow: 0px 2px 5px teal,
                inset 0 -10px 10px -10px teal;
}

header>h1 {
    margin: 0;
    color: white;
    text-align: center;
    padding: 5px 5px;
    font-family: alice;
    font-size: 350%;

    text-shadow: skyblue 0px 0px 4px,
                 turquoise 0px 0px 8px,
                 mediumturquoise 0px 0px 16px,
                 teal 0px 0px 16px,
                 teal 0px 0px 32px;
}

header>h1>a {
    color: inherit;
    text-decoration: none;
}

header>h2 {
    color: white;
    font-family: alice;
    text-align: center;
    font-size: medium;
    margin-top: 0;

    text-shadow: skyblue 0px 0px 2px,
                 turquoise 0px 0px 4px,
                 mediumturquoise 0px 0px 8px,
                 teal 0px 0px 8px,
                 teal 0px 0px 16px;
}

header>h2::before, header>h2::after {
    content: "—";
}


/* START OF DROPDOWN ELDRITCH HORROR */

nav#headerNav {
    display: flex;
    justify-content:space-between;
}

nav#headerNav ul {
    padding: 0;
    list-style-type: none;
}

nav#headerNav>ul>li>ul {
    display: none;
    visibility: none;
    border-left: solid white 1px;
    border-right: solid white 1px;
    border-bottom: solid white 1px;
    box-shadow: 0px 2px 5px teal,
                inset 0 -10px 10px -10px teal;
}

nav#headerNav>ul {
    display: flex;
    flex-direction: row;
    width: fit-content;
    margin: 0;
}

nav#headerNav>ul>li {
    flex-grow: 1;
}

nav#headerNav a {
    padding-left: 1em;
    padding-right: 1em;
    text-align: center;
    border-radius: 2%;
    text-decoration: none;
    display: block;
    color: white;
    text-shadow: skyblue 0px 0px 2px,
                 turquoise 0px 0px 4px,
                 mediumturquoise 0px 0px 8px,
                 teal 0px 0px 8px,
                 teal 0px 0px 16px;
}

nav#headerNav>ul>li:hover>ul {
    display: flex;
    flex-direction: column;
    visibility: visible;
    position: absolute;
    z-index: 9999;
}

nav#headerNav li {
    font-family: alkhemikal;
    font-size: larger;
    color: white;
    background-color: black;
    display: inline-block;

    width: fit-content;
}

nav#headerNav li a:hover {
    text-shadow: hotpink 0px 0px 2px,
                 red 0px 0px 4px,
                 crimson 0px 0px 8px,
                 crimson 0px 0px 8px,
                 crimson 0px 0px 16px;
}

nav#headerNav>ul>li>ul>li a {
    background-color: black;
    
}

nav#headerNav>ul>li>ul>li {
    width:100%;
}

/* END OF DROPDOWN ELDRITCH HORROR */

div#bigbox {
    display: flex;
    flex-direction: row;
    padding: 5px;
    gap: 1em;
    flex-grow: 1;
    background-image: url(/assets/images/sh2-lake.png);
    background-position: center;
    background-repeat: no-repeat;
    background-color: gray;
    align-self: center;
    background-size: cover;
    justify-content: space-around;
    width: 100%;
    box-sizing: border-box;
}

div#bigbox>* {
    flex-grow: 1;
    display: flex;
    flex: auto;
    gap: 2em;
    justify-content: center;
    background-color: rgba(0.7, 0.7, 0.7, 0.9);
    color: white;
    border: solid white 1px
}

div#bigbox h2 {
    font-family: 'zrnic';
}

div#bigbox>section {
    border: solid black 1px;
    display: flex;
    flex-direction: column;
}

section#leftbar {
    padding:5px;
}

section#leftbar>* {
    min-width: 50%;
}

div#bigbox > main {
    min-width:65%;
    flex-direction: column;
    justify-content:start;
    text-align: center;
}

div#bigbox>main>section hr {
    width: 75%;
    border: solid teal 2px;
    margin-left: 0;
}

footer {
    border-top: solid white 1px;
    box-shadow: 0px -2px -5px teal;
    background-color: black;
    padding: 5px;
    display: flex;
    justify-content: center;
}

div#bigbox figure.quote {
    border: solid white 1px;
    background-color: #00808055;
    padding: 1em;
}

div#bigbox figure.quote>blockquote>p {
    text-align: left;
    width: 60%;
    text-indent: 0;
    font-style: italic;
}

div#bigbox figure.quote>blockquote>p::before, div#bigbox figure.quote>blockquote>p::after {
    display: inline;
}

div#bigbox figure.quote figcaption {
    border-top: solid white 1px;
    margin-left: 1em;
    text-align: right;
    padding-top: 1em;
}

/* ABOUT */

div#bigbox>main.monoblock {
    width: 75%;
    flex-grow: 0;
    align-items: center;
}

div#bigbox>main.monoblock>section {
    
    width: 90%;
}

div#bigbox>main.monoblock section {
    text-align: left;
}

div#bigbox>main.monoblock p {
    text-indent: 1em;
}

div#bigbox>main.monoblock ul {
    list-style-type: dashes;
}

div#bigbox a {
    color:cyan;
}

div#bigbox a:visited {
    color:cadetblue;
}

dl.topdl {
    columns: 3;
}

div.dlgrp+div.dlgrp {
    margin-top: 1em;
    margin-bottom: 1em;
}

dl.topdl>div.dlgrp {
    padding: .75em;
    border: solid white 1px;
    margin-left: 1em;
    margin-right: 1em;
    break-inside: avoid;
}

div.dlgrp>dt {
    color: turquoise;
    font-family: 'alkhemikal';
    font-size:xx-large;
    text-align: center;
}

div.dlgrp>dt::before, div.dlgrp>dt::after {
    content: " — ";
}

div.dlgrp>dd {
    padding: 0;
    margin: 0;
}

div.dlgrp>dd dt {
    font-weight: bold;
    text-decoration: dashed;
}


dl.topdl ul {
    padding: 0;
}

div.dlgrp>dd>ul {
    padding-left: 1em;
}

dd + dt {
    margin-top: .9em;
}

/* MEDIA QUERIES */


@media (width <= 1150px) or (orientation: portrait) {
    div#bigbox {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    div#bigbox > main.monoblock {
        order: 0;
        width: 98%;
    }

    div#bigbox > section#leftbar {
        order: 1;
    }

    div#bigbox > section#rightBar {
        order: 2;
    }

    header>nav {
        flex-direction: column;
    }

    header>nav>a {
        order: 0;
    }
    
    header>nav>ul {
        order: 1;
    }

    dl.topdl {
        columns: 2;
    }
}

@media (width <= 650px) {
    dl.topdl {
        columns: 1;
    }
}
