/* Inter, loaded from rsms.me in App.razor */
:root {
    /* palette */
    --gold: #ecaa28;
    --black: #231f20; /* same black as fert-black.svg */
    --white: #ffffff;

    /* theme: dark is the default, light is set by js/theme.js */
    --color-background: #000000;
    --color-text: var(--gold);
    --color-line: rgb(236 170 40 / 0.3); /* gold, faded: dividers */
    color-scheme: dark;

    --text-small: clamp(11px, 1vw, 14px);
    --text-body: clamp(13px, 1.05vw, 15px);
    --page-margin: clamp(16px, 2.5vw, 32px);

    font-family: Inter, sans-serif;
    font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
}

@supports (font-variation-settings: normal) {
    :root { font-family: InterVariable, sans-serif; }
}

:root[data-theme="light"] {
    --color-background: var(--white);
    --color-text: var(--black);
    --color-line: rgb(35 31 32 / 0.2); /* black, faded: dividers */
    color-scheme: light;
}

html, body {
    margin: 0;
    background: var(--color-background);
    color: var(--color-text);
}

/* the first page fills the whole screen; the footer starts right below it.
   lvh = full screen height, also behind the browser bars on phones */
main {
    min-height: 100vh;
    min-height: 100lvh;
    display: grid;
    place-items: center;
}

h1 {
    margin: 0;
    font-size: var(--text-small);
    font-weight: 500;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--color-text);
}
