@import url('style.css');

body {
    background: white;
    color: black;
    overflow: visible;
    margin: 0;
    scroll-behavior: smooth;
}

header {
    position: fixed;
    top: 0%;
    padding-top: 80px;
    padding-right: 5vw;
    padding-bottom: 24px;
    background-color: white;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-btn {
    margin-left: 48.5%;
}

.retour {
    font-family: "Helvetica Neue Regular";
    text-decoration: none;
    color: black;
    font-size: 14px;
    letter-spacing: -0.5px;
}

.scroll-down {
    opacity: 1;
    transition: opacity 0.3s ease;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5em;
    animation: bounce 1.5s infinite;
}

/* SECTION PRINCIPALE */
.apropos-section {
    position: relative;
    min-height: 530vh;
    /* laisse de la place au scroll */
    width: 100%;
    overflow: hidden;
}

/* Titre fixe */
.apropos-title {
    font-family: "OGG";
    font-size: 160px;
    font-weight: 400;
    letter-spacing: -10px;
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

/* CONTENU */
.apropos-content {
    position: relative;
    will-change: transform;
    top: 25vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    z-index: 2;
}

/* Image */
.apropos-img {
    width: 200px;
    transform: translateX(320px);
    will-change: transform;
}

.apropos-img1 {
    width: 300px;
    transform: translateX(-320px);
    will-change: transform;
    z-index: 0;
}

.apropos-img2 {
    width: 350px;
    transform: translateX(520px);
    will-change: transform;
    z-index: 0;
}

.apropos-img3 {
    width: 250px;
    transform: translateX(-420px);
    will-change: transform;
    z-index: 0;
}

.apropos-img4 {
    width: 300px;
    transform: translateX(420px);
    will-change: transform;
    z-index: 0;
}

.apropos-img5 {
    width: 300px;
    transform: translateX(520px);
    will-change: transform;
    z-index: 0;
    aspect-ratio: 2 / 3;
}

.apropos-img6 {
    width: 400px;
    transform: translateX(-320px);
    will-change: transform;
    z-index: 0;
    aspect-ratio: 2 / 3;
}

.apropos-img7 {
    width: 200px;
    transform: translateX(390px);
    will-change: transform;
}

.apropos-img8 {
    width: 300px;
    transform: translateX(-400px);
    will-change: transform;
    aspect-ratio: 2 / 3;
}


/* Version mobile */

@media screen and (max-width: 1400px) {

    .apropos-title{
        font-size: 120px;
    }

    .apropos-img1 {
        transform: translateX(-250px);
    }

    .apropos-img2 {
        transform: translateX(250px);
    }

    .apropos-img3 {
        transform: translateX(-250px);
    }

    .apropos-img4 {
        transform: translateX(250px);
    }

    .apropos-img5 {
        transform: translateX(250px);
    }

    .apropos-img6 {
        transform: translateX(-250px);
        width: 300px;
    }

    .apropos-img7 {
        transform: translateX(250px);
        width: 200px;
    }

    .apropos-img8 {
        transform: translateX(-250px);
        width: 250px;
    }
}


@media screen and (max-width: 980px) {

    .apropos-img,
    .apropos-img1,
    .apropos-img2,
    .apropos-img3,
    .apropos-img4,
    .apropos-img5,
    .apropos-img6,
    .apropos-img7,
    .apropos-img8 {
        width: 400px;
        padding-bottom: 100px;
        transform: translateX(0px);
    }

    .apropos-title {
        opacity: 0;
    }
}