:root {
    /* Variables Typographiques */
    --font-heading: "InterVariable", sans-serif;
    --font-body: "Iwona", sans-serif;
    --font-mono: "Iosevka", monospace;
    --font-bradype: "Squatina", sans-serif;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 400; /* Regular par défaut */
    overflow: hidden;
    position: relative;
    height: 100dvh;
    width: 100vw;
}

body.landing-page {
    overflow: hidden;
    height: 100dvh;
    width: 100vw;
}

body.content-page {
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
}

#canvas-container {
    position: absolute;
    inset: 0;
    z-index: -1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-title {
    font-family: var(--font-bradype);
    font-size: 30vw;
    color: var(--color-text);
    opacity: 0.05;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    user-select: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    z-index: 10;
}

/*  smartphone */
@media (max-width: 768px) {
    .hero-title {
        /* On bascule l'affichage en colonne */
        flex-direction: column;

        /* Ajustements visuels pour que le bloc soit beau sur mobile */
        font-size: 45vw; /* On augmente un peu la taille car les syllabes sont plus courtes */
        line-height: 0.75; /* On resserre l'espace vertical entre les syllabes pour un effet "bloc" */
    }
}
