:root {
    /* Colors */
    --primary: #a298e8;
    --primary-light: #d0cbf3;
    --secondary: #121a27;
    --neutral: #ffffff;
    --neutral-dark: #dedede;
    --accent: #9bcfff;
    --selection-color: #c1e2fe;
    --christmas: rgb(146, 1, 9);

    /* Vars */
    --ease: cubic-bezier(0.215, 0.61, 0.355, 1);
    --anim: 0.25s var(--ease);
    --headerH: 5rem;
    --btnH: 6.875rem;
    --padX: min(7.1875rem, 6vw);

    /* Scrollbar */
    --scrollbar-width: 10px;
    --scrollbar-thumb-color: #373955;
    --scrollbar-thumb-hover-color: var(--primary);
}

@media (min-width: 1000px) {
    :root {
        --headerH: 7.5rem;
        --btnH: 9.375rem;
    }
}

/* Fonts */
@font-face {
    font-family: "Mona Sans";
    src: url("../assets/fonts/Mona-Sans.woff2") format("woff2 supports variations"),
        url("../assets/fonts/Mona-Sans.woff2") format("woff2-variations");
    font-weight: 200 900;
    font-stretch: 75% 125%;
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
    font-stretch: 110%;
    font-family: "Mona Sans", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button {
    border: 0;
    width: 100%;
    display: block;
    cursor: pointer;
    background: none;
    color: inherit;
}

span,
strong {
    font-size: inherit;
    font-weight: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
}

/* Prevent superscripts and subscripts from affecting line height */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

::selection {
    background-color: var(--selection-color);
}

img::selection {
    background-color: transparent;
}

img,
svg {
    user-select: none;
    vertical-align: bottom;
}

/* Pour chrome, Edge, Opera, Safari. Pas pour firefox */
::-webkit-scrollbar {
    width: calc(var(--scrollbar-width));
    background-color: transparent;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    border-radius: calc(var(--scrollbar-width)/2);
    background-color: var(--scrollbar-thumb-color);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--scrollbar-thumb-hover-color);
}