/* ========================================
   BASE
   ======================================== */
html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: "Red Hat Display", sans-serif;
    margin: 0;
    background-color: var(--color-1);
    image-rendering: optimizeSpeed;
    overflow: hidden;
}

/* ========================================
   SECTION PRINCIPALE
   ======================================== */
#section-1 {
    position: relative;
    background-color: var(--color-1);
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 15vmin;
    padding-top: 0;
}

#section-1::-webkit-scrollbar {
    display: none;
}

/* ========================================
   HINT - INDICATEUR DE SCROLL
   ======================================== */
.hint {
    position: fixed;
    display: flex;
    justify-content: center;
    width: 100%;
    bottom: 5vmin;
    left: 0;
    right: 0;
    z-index: 200;
    transition: opacity 0.4s;
}

#hint-img {
    height: 10px;
    transition: 1s;
}
/* ========================================
   MÉDAILLES STICKY
   ======================================== */
.visuel-sticky {
    position: sticky;
    padding-top: 10vmin;
    top: var(--header-height);
    height: calc(30vh + 15vmin);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    pointer-events: none;
}

.visuel-img {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visuel-img img {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(150deg);
    height: 20vmax;
    width: auto;
    opacity: 0;
    transition: opacity 0.4s ease,
        transform 1s cubic-bezier(0.19, 1.1, 0.74, 0.99);
}

.visuel-img img.active {
    opacity: 1;
}

.visuel-img img.rotated {
    transform: translate(-50%, -50%) rotate(0deg);
}

/* ========================================
   CONTENEUR DE TEXTE
   ======================================== */
.container-txt {
    position: relative;
    z-index: 5;
    margin-top: calc(-30vh - 15vmin);
}

.container-txt b {
    color: rgb(172, 144, 98);
}

.bloc {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 15vmin;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.txt-positionnement {
    will-change: opacity;
    text-align: center;
    max-width: 380px;
    opacity: 0;
    transition: opacity 0s;
}