:root {
    --bg: #ecece9;
    --fg: #666662;
    --accent: #9898cc;
    --emphasis: #333331;
    --unit: 20px;
}

@media (min-device-width: 960px) {
    :root {
        --unit: 26px;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #131316;
        --fg: #adadb2;
        --accent: #343b74;
        --emphasis: #dfdfe5;
    }

    .symbol img {
        filter: invert(1);
    }
}

@font-face {
    font-family: Leitura News;
    src: url("/fonts/LeituraNews-Roman1.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: Leitura News;
    src: url("/fonts/LeituraNews-Italic1.woff2") format("woff2");
    font-weight: 300;
    font-style: italic;
    font-display: block;
}

@font-face {
    font-family: Leitura News;
    src: url("/fonts/LeituraNews-Roman4.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: Leitura News;
    src: url("/fonts/LeituraNews-Italic4.woff2") format("woff2");
    font-weight: 800;
    font-style: italic;
    font-display: block;
}

html {
    background: var(--bg);
}

body {
    font-family: Leitura News;
    font-size: calc(var(--unit) * 0.9);
    text-rendering: optimizeLegibility;
    line-height: calc(var(--unit) * 2);
    color: var(--fg);
    width: calc(var(--unit) * 14);
    margin: calc(var(--unit) * 3) auto;
}

a {
    color: var(--fg);
    text-decoration: none;
    padding-bottom: calc(var(--unit) * 0.03125);
    border-bottom: calc(var(--unit) * 0.1) solid var(--accent);
}

header, footer, figure, p {
    margin: 0;
    margin-block: 0;
    margin-inline: 0;
}

section, main p {
    margin-block: var(--unit);
}

main h2 {
    margin: 0;
    color: var(--emphasis);
    font-size: calc(var(--unit) * 0.9);
    font-weight: bold;
}

main p, main address, footer p {
    font-size: calc(var(--unit) * 0.7);
    line-height: var(--unit);
}

footer p {
    font-size: calc(var(--unit) * 0.45);
}

main p a, footer p a {
    border-bottom-width: calc(var(--unit) * 0.05);
}

p {
    position: relative;
}

main address {
    font-size: calc(var(--unit) * 0.7);
}

#eddy img {
    width: 100%;
    height: auto;
    aspect-ratio: 500/549;
}

.secondary header .nssw-symbol {
    opacity: 0.56;
}

.secondary footer {
    margin-top: calc(var(--unit) * 2);
}

.hanging {
    position: absolute;
    left: calc(var(--unit) * -0.66);
}

.symbol {
    margin: 0 calc(var(--unit) * 0.1);
    opacity: 0.9;
}

.symbol img {
    display: inline;
    vertical-align: text-bottom;
}

.symbol span {
    display: none;
}

.nssw-symbol {
    margin-left: 0;
    margin-right: 0;
}

.nssw-symbol img {
    aspect-ratio: 141/15;
    height: calc(var(--unit) * 0.85);
    margin-bottom: calc(var(--unit) * 0.15);
}

p .nssw-symbol {
    margin-right: calc(var(--unit) * 0.125);
}

.n10-symbol img {
    aspect-ratio: 33/22;
    block-size: calc(var(--unit) * 0.85);
    margin-bottom: calc(var(--unit) * 0.1);
}
