.main-box {
    width: 100%;
    height: auto;
}
/* Les ronds */

.texte-debut-pages {
    display: flex;
    height: 20%;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    margin-top: 5%;
}

#Titre-1 {
    font-size: 1.5rem;
    text-align: center;
    color:rgb(232, 105, 127);
}

#Sous-titre-1 {
    font-size: 1rem;
    display: flex;
    align-items: center;
    margin-top: 3%;
    text-align: center;
    color:rgb(232, 105, 127);
}

#rond-gauche {
    display: flex;
    width: 100%;
}

.texte-1 {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    margin-right: 10%;
    align-items: center;

}

.image-1 {
    width: 25%;
    height: 100%;
    margin-right: 15%;
    justify-items: center;
    animation: float 6s ease-in-out infinite;

}

@keyframes float {
    0% {
        transform: translatey(0px);
    }

    50% {
        transform: translatey(-20px);
    }

    100% {
        transform: translatey(0px);
    }
}

/* Responsive */

@media (max-width: 1150px) {

    #Titre-1 {
        font-size: 1rem;
        text-align: center;
    }

    #Sous-titre-1 {
        font-size: 0.7rem;
        display: flex;
        align-items: center;
        margin-top: 5%;
        text-align: center;
    }

}


@media (max-width: 857px) {

    .texte-debut-pages {
        flex-direction: column;
        margin-top: 10%;

    }

    .image-1 {
        margin-right: 0%;
        width: 30%;
        height: 100%;
        margin-top: 8%;

    }

    .texte-1 {
        margin-right: 0%;
    }

    #Sous-titre-1 {
        font-size: 1rem;
    }

    #Titre-1 {
        font-size: 1.5rem;
    }


}

/* deuxieme rond */

.texte-debut-pages2 {
    display: flex;
    height: 20%;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    margin-top: 15%;
}

#Titre-2 {
    font-size: 1.5rem;
    text-align: center;
    color:rgb(232, 105, 127);
}

#Sous-titre-2 {
    font-size: 1rem;
    display: flex;
    align-items: center;
    margin-top: 5%;
    text-align: center;
}

#rond-droit {
    display: flex;
    width: 100%;
}

.texte-2 {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    margin-left: 10%;
    align-items: center;

}

.image-2 {
    width: 25%;
    height: 100%;
    margin-left: 20%;
    justify-items: center;
    animation: float 6s ease-in-out infinite;

}

/* Responsive */

@media (max-width: 1150px) {

    #Titre-2 {
        font-size: 1rem;
        text-align: center;
    }

    #Sous-titre-2 {
        font-size: 0.7rem;
        display: flex;
        align-items: center;
        margin-top: 5%;
        text-align: center;
    }

}


@media (max-width: 857px) {

    .texte-debut-pages2 {
        flex-direction: column;

    }

    .image-2 {
        margin-left: 0%;
        width: 30%;
        height: 100%;
        margin-top: 8%;

    }

    .texte-2 {
        margin-left: 0%;
    }

    #Sous-titre-2 {
        font-size: 1rem;
    }

    #Titre-2 {
        font-size: 1.5rem;
    }

}


.elipse {
    margin-top: 15%;
    margin-bottom: 6%;
    flex-direction: column;
    display: flex;
    padding: 10%;
    width: 120%;
    margin-left: -10%;
    border-radius: 200% / 100%;
    overflow: hidden;
    align-items: center;
}

#titre-elipse {
    margin-bottom: 0px;
    text-align: center;
    text-align: justify;
}

#texte-elipse {
    margin: 5%;
    width: 80%;
    height: 100%;
}

@media (max-width: 1200px) {

    .elipse {
        margin-top: 15%;
        flex-direction: column;
        display: flex;
        background: #D6EAD4;
        width: 100%;
        margin-left: 0%;
        border-radius: 0% / 0%;
        overflow: hidden;
        align-items: center;
    }

}

@media (max-width: 685px) {
    #texte-elipse {
        margin-top: 5%;
        font-size: 1rem;
    }
}


.rectangle-elispe {
    background-color: #D6EAD4;
    display: flex;
    justify-content: space-between;
    padding: 10%;
    text-decoration: none;
}


/* Styles du bouton */
#btn-marraine {
    display: inline-block;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
}

#btn-marraine:hover {
    transform: scale(1.1);
}

/* Effet au clic */
#btn-marraine:active {
    transform: scale(1.05);
}

/* Responsivité : Ajustements pour tablettes */
@media (max-width: 1381px) {
    #btn-marraine {
        padding: 5px 15px;
        font-size: 14px;
        margin-bottom: 7%;
        margin-top: 5%;
    }
}

/* Responsivité : Ajustements pour mobiles */
@media (max-width: 480px) {
    #btn-marraine {
        padding: 6px 18px;
        font-size: 14px;
        border-radius: 25px;
        min-width: 180px;
    }
}



.boite-soutien {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 10px;
    margin-bottom: 8%;
}

.texte-chiffre {
    text-align: center;
    margin-top: 4%;
}

.espacement-soutien {
    margin-right: 150px;
    display: flex;
    flex-direction: column;
    margin-bottom: 0px;
    text-align: center;

}

.logo-oeuvrentpournous {
    margin-top: 35px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    overflow: hidden;
    white-space: nowrap;
}

.img-soutien {
  width: 180px;
  height: 120px;         /* Hauteur fixe pour toutes les images */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.nom-soutien {
  width: 100%;
  height: 40px;          /* Hauteur fixe pour tous les noms */
  display: flex;
  align-items: center;   /* Centre verticalement le texte dans la case */
  justify-content: center;
  text-align: center;
  margin-top: 8px;
  font-size: 1rem;

}

#Titre-texte-chiffre {
    margin-bottom: 60px;
}


.listes-defilement {
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  gap: 40px;
}
.espacement-soutien {
  width: 180px;
  flex: 0 0 180px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;      
  justify-content: flex-start;
  text-align: center;       
}
.img-soutien {
  width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.img-soutien img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 120px;
}

#box_chiffre {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: calc(100% - 40px);
    max-width: 280px;
    text-align: center;
    color: black;
}

@media screen and (max-width: 980px) {
    #box_chiffre {
    width: calc(100% - 40px);
    max-width: 280px;
    }
}

#box_chiffre:hover {
    color: white;
    font-weight: 600;
}

#chiffre_ans {
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
}

.titre-chiffre {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.texte-chiffre {
    text-align: center;
    margin-top: 4%;
}

.chiffre-acceuil {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5%;
    padding: 2.5%;
}

.chiffre {
    width: 100%;
    display: flex;
    justify-content: space-around;
    margin-top: 5%;
}



/* Titre Image page accueil*/


#titre-galeries {
    display: flex;
    align-content: center;
    justify-content: center;
    margin-top: 10%;
}





/* Image page acceuil by bastien */

.container {
    margin: 20px auto;
    height: 100%;
    width: 85%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 4em;
    justify-items: center;
    margin-top: 5%;
}

.grid {
    height: 250px;
    width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
}

.grid img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover; 
    border-radius: 20px;
    border: 5px solid black;
    cursor: pointer;
    display: block;
}


.grid:hover {
    transform: scale(1.2);
    transition: 0, 8s ease;
}

.zoomedDiv {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.zoomedDiv img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
}

.image-acceuil {
    margin-bottom: 8%;
}



/* Box temoiniage */
.box_temoiniage {
    background-color: #D6EAD4;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    width: 90%;
    margin-left: 5%;
    padding: 20px;
    margin-bottom: 8%;
    gap: 30px; /* espace entre image et texte */
}

.image_temoiniage_gauche {
    width: 40%;       /* largeur de la colonne image */
    max-width: 400px; /* max width pour l'image */
}

#image_temoiniage {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.texte_temoiniage_droit {
    width: 55%; /* reste pour le texte */
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 1070px) {
    .box_temoiniage {
        flex-direction: column;
        text-align: center;
    }

    .image_temoiniage_gauche,
    .texte_temoiniage_droit {
        width: 100%;
        max-width: none;
    }

    .texte_temoiniage_droit {
        margin-top: 20px;
    }

    #image_temoiniage {
        max-width: 100%;
        border-radius: 10px;
    }
}



#rond-gauche,
#rond-droit {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  margin: 0 auto;
}

/* Écran moyen (tablette) */
@media (min-width: 768px) {
  #rond-gauche,
  #rond-droit {
    width: 220px;
    height: 220px;
  }
}

/* Grand écran (ordinateur bureau) */
@media (min-width: 1500px) {
  #rond-gauche,
  #rond-droit {
    width: 400px;
    height: 400px;
  }
}



