/* Style général */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;    
}


.flex {
    display: flex;
    flex-direction: row;
}

@media screen and (max-width: 960px){
    .flex {
        flex-direction: column;
    }
}



section {
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Pour une gestion stricte des dimensions */
    width: 100%;
}

.section1 {
    display: block;
    flex-direction: row;
    padding-top: 100px; /* Ajoute un padding de 50px en haut de la page */
    overflow-x: hidden;
    overflow-y: visible;
    min-height: 80vh;
    height: auto;
    padding: 20px;
}

.left-image {
    /* margin-left: -15px; */
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    height: 600px;
    overflow-y: hidden;
}

@media screen and (max-width: 1100px){
    .left-image {
        display: none;
    }
}

/* Right image */
.bottom-content {
    /* margin-left: -15px; */
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    height: 400px;
    top: 30%;
}

/* Conteneur des titres */
.text-content {
    z-index: 10; /* Assure que le titre soit au-dessus de l'image */
    text-align: left;
    padding-left: 45%;
    font-size: 10px;
}

@media screen and (max-width: 1100px){
    .text-content {
        font-size: 7px;
        padding-left: 25%;
    }    
}

@media screen and (max-width: 600px){
    .text-content {
        padding-left: 0
    }    
}

/* Styles des titres */
.text-content h3, .text-content h1, .text-content h4 {
    margin: 0;
    color: rgb(0, 0, 0); /* Couleur des titres */
    
}

.text-content h3 {
    font-size: 5.6em; /* Taille du h3 */
    /* margin-left: 70px; */
}

.text-content h1 {
    font-size: 14.4em; /* Taille du h1 */
    /* margin-left: 500px; */
    line-height: 0.55em;
}

.text-content h4 {
    font-size: 4.4em; /* Taille du h4 */
    line-height: 1.8em;
    
    /* margin-left: 370px; */
}

.bottom-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Empêche l'image de déborder */
    min-height: 100%; /* Garantit que le conteneur prend toute la hauteur disponible */
    padding-top: 10px;
}


/*Section 2 */

.section2 {
    display: flex;
    display: none;
}

.image-gauche {
    flex: 1;
    overflow: hidden; /* Empêche tout débordement horizontal ou vertical */
    margin: 0;
    padding: 0;
    margin-left: -15px;
    width: 100%;
}



.section3 {
    padding-top: 800px;
    width: 100%;
    height: auto;
}

.section3 .Carrousel1 img {
    width: 100%;
}

.section3bis {
    padding-top: 500px;
}

.section4 {
    padding-bottom: 20px;
    padding-top: 100px;
    width: 100%;
    height: auto;
}
.section5 {
    padding-top: 100px;
    display: flex;
    width: 100%;
    height: auto;
    gap: 50px;
    padding: 30px;
}

.imagesection5 {
    width: 100%;
    justify-content: end;
    display: flex;
    rotate: 90%;
}


.section6 {
    padding-top: 100px;
    display: flex;
    padding: 30px;

}

.imagesection6 img{
    width: 1500px;
    align-items: center;    
}

.image-gauche2 {
    flex: 1;
    margin: 0;
    padding: 0;
    position: absolute; /* Toujours utilisé pour positionner les titres sur l'image */
    /* padding-right: 875px; */
    margin-left: -15px;
}

.Carrousel1 {
    flex: 1;
    width: 100%;
    height: auto;
}


.buttonv1 {
    background-color: #fcc52b;
    border: 1px solid black;
    border-radius: 5px;
    margin: 10px;
    color: black;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 40px;
    font-family: "Bebas Neue Pro Bold";
    transition-duration: 0.4s;
}

.buttonv1 {
    text-align: center; /* Center-align content */
    display: block;
    margin: auto;
  }

.buttonv1:hover {
    background-color: #fcc52b;
    color: white;
}

/* Hover effect button */

.buttonv1:active {
    background-color: #fcc52b;
    box-shadow: 0 5px #666;
    transform: translateY(4px);
}

.buttonv2 {
    background-color: #fcc52b;
    border: 1px solid black;
    border-radius: 5px;
    margin: 10px;
    color: black;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 40px;
    font-family: "Bebas Neue Pro Bold";
    transition-duration: 0.4s;
}

.buttonv2 {
    text-align: center; /* Center-align content */
    display: block;
    margin: auto;
  }


.buttonv2:hover {
    background-color: #fcc52b;
    color: white;
}

/* Hover effect button */

.buttonv2:active {
    background-color: #fcc52b;
    box-shadow: 0 5px #666;
    transform: translateY(4px);
}

.buttonv3 {
    background-color: #fcc52b;
    border: 1px solid black;
    border-radius: 5px;
    margin: 10px;
    color: black;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 40px;
    font-family: "Bebas Neue Pro Bold";
    transition-duration: 0.4s;
}

.buttonv3 {
    text-align: center; /* Center-align content */
    display: block;
    margin: auto;
  }


.buttonv3:hover {
    background-color: #fcc52b;
    color: white;
}

/* Hover effect button */

.buttonv3:active {
    background-color: #fcc52b;
    box-shadow: 0 5px #666;
    transform: translateY(4px);
}

.buttonv4 {
    background-color: #fcc52b;
    border: 1px solid black;
    border-radius: 5px;
    margin: 10px;
    color: black;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 40px;
    font-family: "Bebas Neue Pro Bold";
    transition-duration: 0.4s;
}

.buttonv4:hover {
    background-color: #fcc52b;
    color: white;
}

/* Hover effect button */

.buttonv4:active {
    background-color: #fcc52b;
    box-shadow: 0 5px #666;
    transform: translateY(4px);
}

.buttonv5 {
    background-color: #fcc52b;
    border: 1px solid black;
    border-radius: 5px;
    margin: 10px;
    color: black;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 40px;
    font-family: "Bebas Neue Pro Bold";
    transition-duration: 0.4s;
}

.buttonv5:hover {
    background-color: #fcc52b;
    color: white;
}

/* Hover effect button */

.buttonv5:active {
    background-color: #fcc52b;
    box-shadow: 0 5px #666;
    transform: translateY(4px);
}

.imgcase1 {
    max-width: 300px;
    max-height: 300px;
}

.imgcase2 {
    max-width: 300px;
    max-height: 300px;
}

.imgcase3 {
    max-width: 300px;
    max-height: 300px;
}


