body {
    background-color: rgb(255, 250, 240);
    /* background: linear-gradient(#05051E, rgb(35, 69, 136)); */
    margin: 0;
    background-repeat: no-repeat;
    background-size: cover;
    color: #111;
    font-family: "arbotek", sans-serif;
    font-style: normal;
    font-weight: 400;
    height: 100vh;
    width: 100vw;
    /* S'assurer que le body occupe toute la hauteur de la page */
    display: flex;
    flex-direction: column;
    overflow-x: hidden;

}

header a {

    text-decoration: none;
    color: #111;
    font-size: 1.1rem;
    transition: 0.5s;
    font-family: "arbotek", sans-serif;
    font-style: normal;
    font-weight: 400;

}




header {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 10rem;
    position: fixed;
    background-color: rgb(255, 250, 240);
    z-index: 5;
    width: 100vw;
    transition: 2s;
}

header a {
    text-decoration: none;
    color: #111;
    font-size: 1.1rem;
    transition: 0.3s;
    font-family: "arbotek", sans-serif;
    font-weight: 400;
}

header a:hover {
    color: #333;
    font-size: 1.2rem;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: rgb(255, 250, 240);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0;
    list-style: none;
    top: 100%;
    left: 0;
    min-width: 150px;
}

.dropdown-menu li {
    padding: 0.5rem;
}

.dropdown-menu a {
    color: #111;
    font-size: 1rem;
    display: block;
    padding: 0.5rem;
    text-align: left;
}

.dropdown-menu a:hover {
    color: rgb(170, 120, 27);
}

#adresse {
    color: rgb(170, 120, 27);
}

@media (max-width: 1200px) {

    /* Tablettes et écrans moyens */
    header {
        gap: 3rem;
    }

}

@media (max-width: 900px) {
    .dropdown {
        position: relative;
    }

    .dropdown-menu {
        display: none;
        position: absolute;
        background-color: rgb(255, 250, 240);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 0;
        list-style: none;
        top: 100%;
        left: -150%;

    }

    .dropdown-menu li {
        padding: 0.1rem;
    }

    .dropdown-menu a {
        color: #111;
        font-size: 2vw;
        display: block;
        padding: 0.5rem;
        text-align: left;
    }

    header a:hover {
        color: #333;
        font-size: 2.6vw;
    }
}


@media (max-width: 500px) {

    /* Mobiles */
    header a {
        gap: 0rem;
        font-size: 0.6rem;
    }
}

#contacts h2 {
    font-family: "arbotek", sans-serif;
    font-style: normal;
    font-weight: 200;
    font-size: 1vw;
    text-align: center;


}

.linkedindefilant {
    display: block;
    align-items: center;
    padding: 0;
    overflow: hidden;
    position: absolute;
    width: 100%;
    max-width: 2000px;
    height: 12vw;
    z-index: 2;
    pointer-events: none;
}

.linkedindefilant div {
    position: absolute;
    min-width: 100%;
    /* au minimum la largeur du conteneur */
    margin: 2.7vw 0;
    height: 12vw;
}

.linkedindefilant div span,
.linkedinfilant div:after {
    position: relative;
    display: inline-block;
    font-size: 2rem;
    white-space: nowrap;
    top: 0;
}

.linkedindefilant div span {
    animation: defilementlinkedin 200s ease-out infinite;
    font-family: "arbotek", sans-serif;
    font-weight: 300;
    font-style: normal;
    color: #111;
    font-size: 5vw;
    text-align: center;
}

@keyframes defilementlinkedin {
    0% {
        margin-left: -1%;
        opacity: 0;

    }

    0% {
        margin-left: 0;
        opacity: 1;
    }

    90% {
        margin-left: -75%;
        opacity: 1;
    }

    100% {
        margin-left: -70%;
        opacity: 0;
    }
}


.appli {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-top: 10vw;

}

.linkedin {
    padding: 3vw 3vw;
    background-image: url("../Images/linkedin.png");
    background-size: 3vw;
    background-repeat: no-repeat;
    opacity: 0.8;
    transition: 0.3s;
}

.linkedin:hover {
    opacity: 1;
    background-size: 3.2vw;
}

.mail {
    padding: 2.8vw 2.5vw;
    background-image: url("../Images/png-clipart-at-sign-at-sign.png");
    background-size: 2.5vw;
    background-repeat: no-repeat;
    opacity: 0.8;
    transition: 0.3s;
}

.mail:hover {
    opacity: 1;
    background-size: 2.7vw;
}

.image {
    overflow: hidden;
    max-width: 100vw;
    height: 100vh;
    z-index: 2;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    position: relative;

}

.image img {
    width: 100%;
    height: 200%;
    /* Légèrement plus grand que le conteneur pour permettre le défilement */
    object-fit: cover;
    transition: transform 1s ease-out;
    /* Animation de défilement */
    will-change: transform;
    /* Optimisation pour les animations */

}

.titre {
    z-index: 6;
    font-size: 15vw;
    color: #000000;
    font-family: "arbotek", sans-serif;
    font-style: normal;
    font-weight: 400;
    margin: 0 auto 8vw auto;
    text-align: center;


}


p {
    margin-left: 7vw;
    margin-right: 7vw;
    font-size: 1.7vw;
    text-align: center;
}

p a {
    color: rgb(204, 151, 53);
    text-decoration: none;
}

.grille {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-left: 14.8vw;
    margin-right: 14.8vw;
}

.gauche {
    display: flex;
    flex-direction: column;

}

.droite {

    display: flex;
    flex-direction: column;
    align-items: end;

}

.image1 img {
    width: 35vw;
}

.image2 img {
    width: 35vw;
}


.image3 img {
    width: 35vw;

}

.image4 img {
    width: 35vw;
}

@media (max-width: 900px) {
    p {
        margin-left: 7vw;
        margin-right: 7vw;
        font-size: 4vw;
        text-align: center;
    }

    .grille {
        display: flex;
        flex-direction: column;

    }

    .gauche {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .droite {

        display: flex;
        flex-direction: column;
        align-items: center;

    }

    .image1 img {
        width: 80vw;
    }

    .image2 img {
        width: 80vw;
    }


    .image3 img {
        width: 80vw;

    }

    .image4 img {
        width: 80vw;
    }

    .linkedindefilant {
        display: block;
        align-items: center;
        padding: 0;
        overflow: hidden;
        position: absolute;
        width: 100%;
        max-width: 2000px;
        height: 12vw;
        z-index: 2;
        pointer-events: none;
    }

    .linkedindefilant div {
        position: absolute;
        min-width: 100%;
        /* au minimum la largeur du conteneur */
        margin: 2.7vw 0;
        height: 12vw;
    }


    .linkedindefilant div span,
    .linkedinfilant div:after {
        position: relative;
        display: inline-block;
        font-size: 2rem;
        white-space: nowrap;
        top: 0;
    }

    .linkedindefilant div span {
        animation: defilementlinkedin 200s ease-out infinite;
        font-family: "arbotek", sans-serif;
        font-weight: 300;
        font-style: normal;
        color: #111;
        font-size: 5vw;
        text-align: center;
    }

    @keyframes defilementlinkedin {
        0% {
            margin-left: -1%;
            opacity: 0;

        }

        0% {
            margin-left: 0;
            opacity: 1;
        }

        90% {
            margin-left: -75%;
            opacity: 1;
        }

        100% {
            margin-left: -70%;
            opacity: 0;
        }
    }

}

.video {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10vw;
}