body::before {
    content: "";
    position: fixed; /* Fixe le pseudo-élément pour simuler l'effet */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../Images/background.png") no-repeat center center;
    background-size: cover; /* Ajuste la taille de l'image */
    z-index: -1; /* Place derrière le contenu */
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    z-index: 0; /* Garde un z-index neutre pour le contenu */
}

#presentation {
    scroll-margin-top: 40px;
}

html {
    scroll-behavior: smooth;
}

.videoPrincipal {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

#myVideo {
    position: absolute; /* Position absolue par rapport à son conteneur parent */
    top: 0;
    left: 0;
    width: 100vw; /* Largeur de 100% de la fenêtre du navigateur */
    height: 100vh; /* Hauteur de 100% de la fenêtre du navigateur */
    object-fit: cover; /* Ajuste la vidéo pour couvrir l'espace disponible sans déformation */
    z-index: -1;
}


.opaciteVideo {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5)), linear-gradient(to bottom, transparent 80%, black 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

.imagePrincipal {
    position: relative;
    height: 100vh;
    overflow: hidden;
}



.imagePrincipal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)), linear-gradient(to bottom, transparent 80%, black 100%);
    background-size: cover;
    z-index: 1;
}

.imageEntiere {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url("../Images/backgroundPrestationsSaxo.jpg");
    animation: zoomEffect 10s infinite alternate;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.textePrincipal h1 {
    display: block;
    font-size: 80px;
    font-weight: 900;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.textePrincipal hr {
    display: block;
    border: none;
    height: 2px;
    width: 10%;
    background-color: #fff;
    margin-top: 10px;
    margin-left: 0;
    margin-bottom: 40px;
}

.textePrincipal {
    position: absolute;
    color: #fff;
    font-size: 20px;
    width: 70%;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.presentation {
    color: white;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 100px 0 0 0;
    background: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0)), linear-gradient(to top, transparent 100%, black 100%);
}

.presentation h2 {
    font-family: 'Chewy', cursive;
    text-align: center;
    font-size: 60px;
    margin-bottom: 50px;
}

.presentation-text {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 50px;
    border-radius: 10px;
    margin: 0 auto;
    width: 80%;
}


.localisation {
    z-index: 10;
    color: white;
}

.localisation h2 {
    font-family: 'Chewy', cursive;
    font-size: 60px;
    text-align: center;
    margin: 100px 0;
}

.mapouter {
    position: relative;
    text-align: right;
    height: 500px;
    width: 80%;
    margin: 50px auto 50px auto;
    border-radius: 10px;
}

.gmap_canvas {
    overflow: hidden;
    background: none !important;
    height: 500px;
    width: 100%;
    border-radius: 10px;
}

.contact {
    z-index: 10;
    color: white;
}

.contact h2 {
    font-family: 'Chewy', cursive;
    text-align: center;
    font-size: 60px;
    margin: 100px 0;
}

.contactList {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    padding: 50px;
    width: 60%;
    background-color: rgb(0, 0, 0, 0.5);
    border-radius: 130px;
    flex-wrap: wrap;
}

.contactList p{
    text-align: center;
}

.contactList svg{
    -webkit-transition:-webkit-transform .9s;
    -moz-transition:-moz-transform .9s;
    -o-transition:-o-transform .9s;
    -ms-transition:-ms-transform .9s;
    transition:transform .9s;
}
.contactList svg:hover{
    -webkit-transform:rotate(360deg);
    -moz-transform:rotate(360deg);
    -o-transform:rotate(360deg);
    -ms-transform:rotate(360deg);
    transform:rotate(360deg);
}

.mailContainer {
    display: flex;
    justify-content: center; /* Cela centre l'e-mail horizontalement */
    align-items: center;     /* Cela centre l'e-mail verticalement, si nécessaire */
    flex-direction: column;
}

.reseau {
    text-align: center;
}

.ImageContainer{
    display: flex;
    justify-content: center;  /* Cela garantit que les éléments sont empilés verticalement */
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px; /* Ajuste selon tes besoins */
    width: 100%;
    text-align: center;
    z-index: 3;
}

.scroll-text {
    font-size: 20px;
    color: white; /* Ou une autre couleur selon le contraste que tu veux */
    margin-bottom: 10px; /* Espace entre le texte et l'animation */
    font-family: 'Arial', sans-serif; /* Tu peux personnaliser la police */
}

.scroll-icon {
    width: 100px;
    height: auto;
}

@media screen and (max-width: 1024px) {
    .textePrincipal {
        top: 37.5%;
        width: 80%;
    }

    .textePrincipal h1 {
        font-size: 50px;
    }

    h2 {
        width: 90%; /* Ajuster la largeur du titre */
        margin-right: auto;
        margin-left: auto;
        font-size: 45px;
    }

    .scroll-down-indicator {
        bottom: 50px;
    }

    .scroll-text {
        font-size: 18px;
    }

    .scroll-icon {
        width: 75px;
    }
}

@media screen and (max-width: 768px) {
    .textePrincipal {
        top: 40%;
        width: 90%;
    }

    .presentation-text {
        padding: 20px;
    }

    .textePrincipal h1 {
        font-size: 40px;
    }

    .textePrincipal hr {
        width: 20%;
        margin-bottom: 20px;
    }

    .textePrincipal p {
        font-size: 16px;
    }

    .presentation h2 {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        font-size: 30px;
    }

    .localisation h2 {
        width: 90%;
        font-size: 30px;
        margin: 50px auto;
    }

    .contact h2 {
        width: 90%;
        font-size: 30px;
        margin: 50px auto;
    }


    .reseau {
        width: 45%; /* Ajuste la largeur pour deux colonnes */
        margin-bottom: 20px; /* Espace entre les lignes */
    }

    .scroll-down-indicator {
        bottom: 80px;
    }

    .scroll-text {
        font-size: 16px;
        margin-bottom: 0;
    }

    .scroll-icon {
        width: 50px;
    }
}