:root {
    --g0: #333344;
    --g1: #555566;
    --g2: #777788;
    --g3: #9999aa;
    --g4: #bbbbcc;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
img, a {-webkit-user-drag: none;}
html {
    font-size: 16px;
    background-color: black;
}
body {
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: var(--g4);
    overflow-y: scroll;
}
html, body {
    line-height: 1.5;
    cursor: cell;
    width: 100%;
    min-height: 100vh;
}
p, span, div, a, i, u, b, textarea, h1, h2, h3, h4, h5, h6, ul, li, pre, input, td, th {
    text-size-adjust: none;
	-webkit-text-size-adjust: none;
    font-family: Arial, Helvetica, sans-serif;
}
p, ul {padding: 0.25rem 0.5rem;}
ul {list-style: none;}
ul li::before {content: "- ";}
header {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 2rem 1rem;
    background-color: var(--g0);
    border-bottom: 1px solid black;
}
nav {
    border-bottom: 1px solid black;
    width: 100%;
    background-color: var(--g1);
    box-shadow: 0 0.25rem 0 black;
    z-index: 100;
    position: sticky;
    top: 0;
}
.nav {
    display: flex;
    justify-content: center;
    user-select: none;
    font-size: 1.25rem;
    padding: 0.5rem;
    gap: 0.5rem;
}
.nav a {
    text-decoration: none;
    padding: 0.25rem 0.75rem;
    border: 1px solid black;
    border-radius: 0.25rem;
    box-shadow: 0.125rem 0.125rem 0 black;
    background: var(--g2);
    color: black;
}
.nav a:hover {background: yellow;}
.nav a:active {background: white;}
footer {
    width: 100%;
    background-color: var(--g2);
    border-top: 1px solid black;
    display: flex;
    flex-direction: column;
    align-items: center;
}
main {
    flex: 1;
    width: 100%;
    max-width: 1000px;
    padding: 1rem;
}
iframe {border: none;}
h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border: 1px solid black;
    box-shadow: 0.25rem 0.25rem 0 black;
    background: var(--g2);
}
h2, h3 {
    font-size: 1rem;
    background: var(--g3);
    padding: 0.25rem 0.5rem;
    margin: -0.25rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid black;
}
h3 {
    border-top: 1px solid black;
    margin-top: 0.5rem;
}
h4 {
    font-size: 1rem;
    border-bottom: 1px solid black;
    margin: 0.5rem 0.5rem 0.25rem;
}
section {
    background: white;
    border: 1px solid black;
    box-shadow: 0.25rem 0.25rem 0 black;
    padding: 0.25rem;
}
section iframe {margin: 0.25rem 0.25rem 0;}
hr {
    border: none;
    border-top: 1px dashed black;
    margin: 1rem 0.5rem 0.75rem;
}
pre {
    padding: 0.5rem 0.75rem;
    border: 3px double black;
    box-shadow: inset 0.125rem 0.125rem 0 black;
    margin: 0.5rem;
    margin-top: 0.25rem;
    font-family: monospace;
    cursor: text;
    white-space: pre-wrap;
    word-break: break-all;
}
table {
    border: 1px solid black;
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    box-shadow: 0.25rem 0.25rem 0 black;
    background: white;
}
th, td {
    padding: 0.25rem 0.5rem;
    border: 1px solid black;
}
th {background-color: var(--g3);}
.tableContainer {
    max-width: 100%;
    padding: 0 0.25rem 0.75rem;
    overflow-x: scroll;
}
::selection {
    background-color: black;
    color: white;
}
:focus-visible {
    outline: 1px solid black;
    outline-offset: 1px;
}
::-webkit-scrollbar {width: 1rem;}
::-webkit-scrollbar-track {background-color: white;}
::-webkit-scrollbar-thumb {background-color: var(--g3);}
::-webkit-scrollbar-track, ::-webkit-scrollbar-thumb {border: 1px solid black;}
::-webkit-scrollbar-thumb:hover {background-color: var(--g2);}
::-webkit-scrollbar-thumb:active {background-color: var(--g1);}
@media (max-width: 1000px) {html {font-size: calc(100vw / calc(1000px + 1.5rem) * 16px)}}
@media (max-width: 768px) {
    .nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    nav {
        position: static;
        top: unset;
    }
    html {font-size: 4vw}
    .mobileOptimizedGrid {grid-template-columns: 1fr !important;}
}