/************************************************

Variables, loaded first on every page.

The shared colours, fonts and spacing of the theme. Only custom properties on
:root, no rules. Breakpoints can't be variables (CSS doesn't allow them in
@media), so the values that change per breakpoint are set in the blocks below.

*************************************************/

:root {
    /* colours */
    --color-green: #031706;
    --color-gold: #b5ad06;
    --color-gold-dark: #545001;      /* gold text on light backgrounds */
    --color-gold-icon: #787202;      /* gold icons on light backgrounds */
    --color-bg: #efefe3;             /* page background */
    --color-bg-light: #f8f4ec;
    --color-cream: #fffeef;
    --color-olive: #dcdab8;
    --color-line: #dcdac4;           /* lines on light backgrounds */
    --color-text-soft: #2d3a2e;
    --color-green-deep: #0f1206;     /* event menu section */
    --color-line-warm: #d9d6c4;      /* event pages: dividers */
    --color-line-soft: #e3e1d2;      /* event pages: card borders */

    /* colours on the dark green (footer) */
    --color-line-on-dark: #4a5a3c;
    --color-line-on-dark-strong: #243522;
    --color-muted-on-dark: #c9c8b4;

    /* fonts */
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-serif: "RoslindaleText", Georgia, serif;

    /* spacing: side gutter and vertical section spacing */
    --space-x: 120px;
    --space-y: 120px;

    /* the fixed theme header */
    --header-height: 83px;
}

@media (max-width: 1280px) {
    :root {
        --space-x: 64px;
        --space-y: 104px;
    }
}

@media (max-width: 820px) {
    :root {
        --space-x: 40px;
        --space-y: 80px;
    }
}

@media (max-width: 767px) {
    :root {
        --header-height: 66px;
    }
}

@media (max-width: 600px) {
    :root {
        --space-x: 24px;
        --space-y: 64px;
    }
}
