@font-face {
    font-family: "brand";
    src: url(/src/fonts/Cormorant_Infant/CormorantInfant-VariableFont_wght.ttf) format("truetype");
    
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: "display";
    src: url(/src/fonts/Mozilla_Text/MozillaText-VariableFont_wght.ttf) format("truetype");
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: "text";
    src: url(/src/fonts/Google_Sans_Flex/GoogleSansFlex-VariableFont.ttf) format("truetype");
    font-display: swap;
    font-style: normal;
}

:root {
    /* -- Font -- */
    --brand-font: "brand", monospace, sans-serif;
    --display-font: "display", monospace, sans-serif;
    --text-font: "text", sans-serif;

    /* -- Sizing -- */
    font-size: 18px;
    --main-w: 700px;
    --max-w: 1000px;
    --whole-w: 1200px;

    --side-pad: 0px;
    --line-height: 1.8;
    --wide-pad: 0px;

    --h1: 5rem;
    --h2: 2rem;
    --h3: 1.8rem;
    --h4: 1.5rem;
    --h5: 1.25rem;

    --s1: .5rem;
    --s2: 1rem;
    --s3: 2rem;
    --s4: 3rem;
    --s5: 4rem;
    --s6: 5rem;

    --hue: 31;
    --hue-2: 220;
    --hue-3: 40;

    /* Background */
    --bg: hsl(var(--hue), 10%, 5%);
    --bg-light: hsl(var(--hue), 50%, 97%);
    --bg-light-2: hsl(var(--hue-3), 60%, 85%);
    --primary: hsl(var(--hue), 80%, 40%);
    --secondary: hsl(var(--hue-2), 50%, 50%);
    --third: hsl(var(--hue-3), 50%, 50%);
    --text-light: hsl(var(--hue-3), 10%, 97%);
    --text-dark: hsl(var(--hue), 10%, 15%);
}

::selection {
    background-color: hsl(var(--hue-3), 50%, 50%);
    color: var(--text-dark)
}

* {
    box-sizing: border-box;
    line-height: normal;
}

html {
    display: flex;
    justify-content: center;

    scroll-behavior: smooth;
}

body {
    margin: 0;
    width: 100%;

    position: relative;
    overflow-x: hidden;

    display: flex;
    justify-content: center;

    background-color: var(--root);
    color: var(--txt);
    font-family: var(--text-font);
}

main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    color: var(--txt);
    background-color: var(--bg);
}

footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    color: var(--txt);
    padding: 20px;
}

a {
    text-decoration: none;
    color: inherit
}

p, h1, h2, h3, h4, h5, h6 {
    margin: 0;
    line-height: normal;
    font-weight: normal;
}

p {line-height: var(--line-height)}

h1, .h1 {font-size: var(--h1)}
h2, .h2 {font-size: var(--h2)}
h3, .h3 {font-size: var(--h3)}

.container {
    width: 100%;
    max-width: var(--whole-w);
    min-height: 100vh;

    position: relative;

    display: flex;
    align-items: center;
    flex-direction: column;
}