@font-face {
    font-family: "STIX Two Text";
    src: url("/assets/fonts/STIXTwoText-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "STIX Two Text";
    src: url("/assets/fonts/STIXTwoText-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: light dark;
    --bg: light-dark(rgb(234, 234, 234),
            rgb(26, 26, 26));
    --fg: light-dark(rgb(26, 26, 26),
            rgb(234, 234, 234));
    --accent: light-dark(rgba(26, 26, 26, 0.7),
            rgba(234, 234, 234, 0.7));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg);
    color: var(--fg);
    font-family: 'STIX Two Text', serif;
    font-size: 1.075rem;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    max-width: 36rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

header {
    padding: 3rem 0.5rem 0;
}

h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

section {
    padding: 0.75rem 0.5rem;
    margin-bottom: 1rem;
}

section p+p {
    margin-top: 1rem;
}

a {
    color: var(--fg);
    text-decoration-thickness: 1px;
    text-decoration-style: line-through;
    text-underline-offset: 2px;
    text-decoration-color: var(--accent);
}

a:hover {
    text-decoration-color: var(--fg);
    transition: ease 0.2s;
}

@media (min-width: 600px) {
    header {
        padding: 8rem 0.5rem 0;
    }
}