@font-face {
    font-family: Kings;
    src: url('../polices/Kings/Kings-Regular.woff2');
}

* {
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;

    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: #211e25;

    height: fit-content;
    min-height: 100%;

    font-family: Arial; /* TODO : définir */

    /* background-image: url('../img/fond.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; */

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

main {
    transition: opacity 200ms ease-in-out;
    &.chargement {
        pointer-events: none;
        opacity: 0;
    }

    & > *:not(.presentation) > h1 {
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 3rem;
        padding-bottom: 3rem;
        font-size: clamp(1rem, 10vw, 4rem);
        font-size: clamp(1rem, 10dvw, 4rem);

        text-align: center;
    } 
}

.chargement-site {
    position: fixed;
    inset: 0;

    z-index: 100000;

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

    pointer-events: none;

    opacity: 0;
    transition-property: opacity;
    transition-duration: 0;

    body:has(> main.chargement) & {
        transition-delay: 1s;
        opacity: 1;
    }

    svg {
        width: 5rem;
        height: 5rem;
        fill: white;
    }
}

#marqueur-top {
    position: absolute;
    top: 0;
}

button {
    cursor: pointer;
}