:root {
    color-scheme: light dark;

    --surface: white;
    --foreground: hsl(0, 0%, 0%);
    --foreground-subtle: hsl(0, 0%, 20%);
}

@media (prefers-color-scheme: dark) {
    :root {
        --surface: hsl(225, 15%, 5%);
        --foreground: hsl(65, 15%, 96%);
        --foreground-subtle: hsl(65, 5%, 80%);
    }
}

body {
    margin: 0;
    min-block-size: 100vh;
    display: flex;
    flex-direction: column;
    font-family: system-ui, ui-sans-serif, sans-serif;
    background-color: var(--surface);
}

main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-inline: 24px;
}

#funfact {
    max-width: 35ch;
    margin: 0 auto;
    text-align: center;
    font-size: clamp(1.75rem, 3vw, 4rem);
    line-height: 1.25;
    margin-block: 0.75em;
    font-family: ui-serif, serif;
    font-weight: normal;
    color: var(--foreground);
}

#funfact::before,
#funfact::after {
    color: var(--foreground-subtle);
}

#funfact::before {
    content: "»";
}

#funfact::after {
    content: "«";
}

#funfact-subline {
    text-align: center;
    font-size: 0.75rem;
    color: var(--foreground-subtle)
}

header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px;
}

#flag {
    display: block;
    max-width: 100%;
    height: auto;
    width: 48px;
    margin-inline: auto;
    fill: var(--foreground);
}

#notify {
    position: relative;
}

#notify svg {
    display: block;
    aspect-ratio: 1 / 1;
    width: 32px;
    stroke: var(--foreground);
}
