:root {
    --line-height: 1.75em;
    --line-length: 80ch;
    --text-color: #fff;
    --fill-color: #222;
    --soft-color: 70%;
    --text-font: ui-monospace, Menlo, Monaco, Consolas, 'Cascadia Code', 'Source Code Pro', 'DejaVu Sans Mono', monospace;
}
html {
    font-size: 16px;
    box-sizing: border-box;
    scroll-behavior: smooth;
    text-wrap: pretty;
    -webkit-font-smoothing: antialiased;
    color-scheme: light dark;
}
body {
    background-color: var(--fill-color);
    color: var(--text-color);
    padding: 1rem;
    margin: 0;
    font-size: 112.5%;
    font-size: clamp(0.9rem, 2vw, 1.125rem);
    font-family: var(--text-font);
    line-height: var(--line-height);
}
h1, h2, h3,
.img li {
    line-height: 1.25em;
}
nav {
    display: block;
    position: fixed;
    top: 0;
    left: 1rem;
    right: 1rem;
    background: var(--text-color);
    color: var(--fill-color);
    border-top: var(--line-height) solid var(--fill-color);
    border-bottom: 1px solid var(--fill-color);
    font-weight: 800;
    margin: 0;
    z-index: 1;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
nav li {
    display: inline-block;
    padding-right: 1ch;
}
nav li:last-of-type {
    padding: 0;
}
main > * {
    margin: var(--line-height) 0 0 0;
}
main,
footer,
nav {
    max-width: var(--line-length);
    margin-left: auto;
    margin-right: auto;
}
main {
    margin-top: calc(2 * var(--line-height) + 1rem);
}
main > p:last-child::after {
    content: "█";
    animation: blinker 0.8s ease-in infinite;
    color: hsl(from var(--text-color) h s var(--soft-color));
}
footer {
    margin-top: var(--line-height);
    color: hsl(from var(--text-color) h s var(--soft-color));
}
@keyframes blinker {
    80% {
      opacity: 0;
    }
}
h1 {
    font-size: 100%;
    font-weight: 800;
}
h1::before {
    content: "# ";
}
h2::before {
    content: "## ";
}
h3::before {
    content: "### ";
}
b::before,
b::after,
strong::before,
strong::after {
    content: "**";
}
i::before,
i::after,
em::before,
em::after {
    content: "*";
}
a {
    scroll-margin-top: 1rem;
    text-decoration: none;
    background: var(--text-color);
    color: var(--fill-color);
    font-weight: 800;
}
ul,
ol,
blockquote,
code.sourceCode {
    padding: 0 0 0 2em;
    color: hsl(from var(--text-color) h s var(--soft-color));
}
.img img {
    display: block;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 6 / 3;
    filter: grayscale(100%) contrast(10.0);
    mix-blend-mode: screen;
    opacity: 1.0;
}
main > .img {
    display: block;
    position: relative;
    list-style: none;
    background: var(--fill-color);
}
pre.sourceCode {
    overflow-x: hidden;
    position: relative;
}
code.sourceCode {
    display: block;
    color: hsl(from var(--text-color) h s var(--soft-color));
    padding-bottom: 1em;
    overflow-x: auto;
}
pre.sourceCode::before,
pre.sourceCode::after {
    content: "```";
    display: block;
    color: var(--text-color);
}
pre.bash::before {
    content: "```bash";
}