@font-face {
    font-family: "Woz Pro";
    src: url(/fonts/sfp-reg.woff2);
    font-display: swap;
}

@font-face {
    font-family: "Woz Pro";
    src: url(/fonts/sfp-ita.woff2);
    font-display: swap;
    font-style: italic;
}

@font-face {
    font-family: "Woz Pro";
    src: url(/fonts/sfp-med.woff2);
    font-display: swap;
    font-weight: 500;
}

@font-face {
    font-family: "Woz Pro";
    src: url(/fonts/sfp-seb.woff2);
    font-display: swap;
    font-weight: 600;
}

@font-face {
    font-family: "Woz Mono";
    src: url(/fonts/sfm-reg.woff2);
    font-display: swap;
}

:root {
    --background: white;
    --foreground: black;
    --accent: #0000EE;
    --max-width-text: 60ch;
}

@media (prefers-color-scheme: dark) {
    :root {
        --background: black;
        --foreground: white;
        --accent: #FFFF11;
    }
}

html {
    font-size: 18px;
}

body {
    color: var(--foreground);
    background-color: var(--background);
    font-family: "Woz Pro", serif;
    padding: 1rem;
}

a {
    color: var(--accent);
}

strong {
    font-weight: 580;
}

footer {
    font-size: .8rem;
    margin: 4rem 0;
}

footer a {
    text-decoration: none;
    color: var(--foreground);
}

footer a:hover {
    text-decoration: underline;
    color: var(--accent);
}

header {
    margin-top: 1rem;
    margin-bottom: 10rem;
}

h1 {
    font-size: 1rem;
    font-weight: 400;
}

header p {
    font-size: .8rem;
}

h2 {
    font-size: 1rem;
    font-weight: normal;
    margin-top: 2rem;
    font-weight: 500;
}

main {
    max-width: var(--max-width-text);
    line-height: 1.6;
}

.mono {
    font-family: "Woz Mono", monospace;
    padding: 0 .1rem;
}

.smallcaps {
    letter-spacing: .1rem;
    font-size: .9rem;
}

.small {
    font-size: .8rem;
}

.right {
    float: right;
}

#bottom-menu {
    margin-top: 3rem;
    font-size: .8rem;
}