@font-face {
    font-family: "Google Sans Flex";
    src: url("assets/fonts/GoogleSansFlex.woff2") format("woff2");
    font-weight: 100 1000;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-background: #000000;
    --color-surface: #050505;
    --color-border: #505050;
    --color-text-secondary: #F0F0F0;
    --color-accent: #FF0000;

    --container-width: 90rem;

    --space-1: 0.625rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-5: 3rem;
    --space-6: 5rem;

    --radius: 1rem;
    --transition: 300ms ease;
}

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

html {
    font-size: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 17.5rem;
    min-height: 100vh;
    overflow-x: hidden;

    background: var(--color-background);
    color: var(--color-white);

    font-family:
        "Google Sans Flex",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.5;
    text-rendering: optimizeLegibility;
}

main,
section {
    width: 100%;
}

section {
    position: relative;
}

.container {
    width: min(calc(100% - 10rem), var(--container-width));
    margin-inline: auto;
}

img,
picture,
svg {
    display: block;
}

img,
picture {
    width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.1;
}

h1 {
    font-size: clamp(2.75rem, 7vw, 6rem);
}

h2 {
    font-size: clamp(2.25rem, 6vw, 4.5rem);
}

h3 {
    font-size: clamp(1.75rem, 5vw, 3rem);
}

h4 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
}

h5 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

h6 {
    font-size: 1rem;
}

p {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

.hidden {
    display: none !important;
}

@media (max-width: 1024px) {
    .container {
        width: min(calc(100% - 5rem), var(--container-width));
    }
}

@media (max-width: 768px) {
    .container {
        width: min(calc(100% - 2rem), var(--container-width));
    }
}

@media (max-width: 280px) {
    body {
        min-width: 0;
    }

    .container {
        width: 100%;
        margin-inline: 0;
    }

    .navbar-container {
        position: relative;
        justify-content: center;
        height: 4rem;
    }

    .navbar-brand {
        position: absolute;
        top: 50%;
        left: 50%;

        display: flex;
        align-items: center;
        justify-content: center;

        width: auto;
        gap: 0;

        transform: translate(-50%, -50%);
    }

    .navbar-brand > a {
        display: none;
    }

    .navbar-brand > a:first-child {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar-logo {
        display: block;

        width: auto !important;
        max-width: none;
        height: 1rem;
    }

    .navbar-poweredby,
    .navbar-actions,
    .navbar-menu-button,
    .navbar-mobile-menu {
        display: none !important;
    }
}

@media (min-width: 2560px) {
    html {
        font-size: 112.5%;
    }
}

@media (min-width: 3840px) {
    html {
        font-size: 125%;
    }
}

@media (min-width: 7680px) {
    html {
        font-size: 150%;
    }
}