/*"row-gap" pour espacé les éléments*/
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 6em;
  overflow: hidden;
  width: 100%;
}

.font-extralight {
  font-family: "Poppins", sans-serif;
  font-weight: 200; /* ajustez selon la disponibilité */
}

.font-black {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
}

.font-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.font-light {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
}

.font-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

.font-extrabold {
  font-family: "Poppins", sans-serif;
  font-weight: 900; /* ou le poids maximum disponible */
}


/************************************************************************/
/***************article 1*******************************/
/*******il  a la rose des vents plus img des mains et le moineau plus le texte en dessous***************************/
/* je touche  a la boite qui regroupe  l'etoile du vent  dessu de img des mains et oiseau */
main svg#roseVents {
  width: 100%;
}
/* je defini la vitesse et je centre la rotation de la rose des vents */
main section path {
  animation: spin 2s linear infinite;
  transform-origin: center;
}
/* je defini sa vitesse et sa rotation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/* ***************************************** section videocontainer *******************************************/
/* .fabrique{
  text-align: center;
  margin:10vh 10vw;
} */

/* .video-center {
  display: block;
  margin: 0 auto;
} */
.fabrique {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* Ratio 16:9 (100%/16*9 = 56.25%) */
  margin-top: 10vh;
}

.fabrique iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80%;
}
.frise{
  width: 100%;
  display: block;
  margin: 20px auto;
}


.rouge{
  background-color: var(--couleur-accent-un);
}
.mot-rouge{
  color: var(--couleur-accent-un);
}
.vieAsso-content{
  display: flex;
  row-gap: 2em;
  
}
.vieAsso-content ul li{
  display: inline;
}
.downlodDoc{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 2em;
}

.vieAsso{ 
  display: flex; 
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: var(--couleur-accent-un);
  text-decoration: none;
  padding: 20px 45px;
  
  border-radius: 15px;
  border: 2px solid var(--couleur-accent-un);
  /* align-items: center; */
  /* font-size: calc(1rem + 0.4vw); */
}
.vieAsso:hover{
  background: var(--couleur-accent-un);
  color: var(--couleur-fond);
  
}





/************************************************************************/
/***************section  1*******************************/
/*********les valeurs partagées*************/
/* je touche au moineau a cote du titre */
.moineau {
  position: relative;
  display:flex;
  justify-content: flex-start;
  width: 100%;
  align-items: flex-end;
  margin:2% 0;
}
/* *******************************************************CARTE************************************* */
/* Configuration de la section de la carte */
.map-section {
  position: relative;
}

/* Configuration de la rose des vents */
.compass {
  position: absolute;
  top: 39%;
  left: 55%;
}

/* Configuration de l'aiguille de la rose des vents */
.needle {
  width: 50px;
  height: auto;
  animation: spin 2s linear infinite;
}
/* Configuration de l'animation de rotation */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* je touche à la boite principale de ma section */
main section {
  width: 85%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: unset;
  align-items: center;
  justify-content: center;
  /* row-gap: 8em;
  margin: 58px 0; */
}

section.equipe {

	 width: 100%;
}
article.legendeUE {
    width: 85%;
}

main section:nth-child(2) .equipe {
  display: flex;
  flex-direction: column;
  width: 90%;
}

/* je touche au h2 des valeurs partagees */
main section .valeurs {
  display: flex;
  align-items: center;
}
/* je touche à la boite des valeurs partages les icones et leur sous titre */
.valeurs_partagees {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  gap: 20px;
  align-items: start;
}
/* je touche à la position de mes articles icone et sous titre */
.valeurs_partagees article {
  text-align: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
}
/* je touche aux icones des valeurs partagees */
.valeurs_partagees img {
  /* width: 60%; */
  width: 30%;
}
.valeurs_partagees ul {
  margin-top: 25px;
}
/* je touche aux textes en dessous des icones */
.valeurs_partagees li {
  font-weight: bolder;
  font-size: calc(0.6rem + 1vw);
  margin: 16px 0;
}
/* je touche a la phrase dignite */
.valeurs_partagees article:nth-child(1) ul {
  color: rgb(255, 46, 0, 100);
}
/* je touche a la phrase epanouissement */
.valeurs_partagees article:nth-child(2) ul {
  color: rgb(68, 175, 105, 100);
}
/* je touche a la phrase espace */
.valeurs_partagees article:nth-child(3) ul {
  color: rgb(255, 188, 10, 100);
}
/* je touche a la phrase respect */
.valeurs_partagees article:nth-child(4) ul {
  color: rgb(204, 102, 204, 100);
}
.notreequipe {
  /* color: yellow; */
  padding-right: 42vw;
}
/************************************************************************/
/****************************section  2***********************************************/
/************************ organigramme*************************/
.organigramme {
  width: 100%;
}
/* h2.nospartenaire {
  padding-right: 37vw;
} */
/************************************************************************/
/****************************section  ***********************************************/
/************************carrousel partenaires*************************/
.partenaire {
  display: flex;
  flex-direction: column;
    width: unset;
}
.partenaire h3 {
  margin-bottom: 50px;
}

/* Préparation du carousel */
:root {
  --carousel-width: 100%;
  --carousel-height: 300px;
  --carousel-elements-displayed: 7;
  --carousel-element-width: calc(
    var(--carousel-width) / var(--carousel-elements-displayed)
  );
  --carousel-animation-duration: calc(var(--carousel-elements) * 3s);
}
/* Carousel à Proprement parler */
.container {
  position: relative;
  width: var(--carousel-width);
  height: var(--carousel-height);
  overflow: hidden;
}
.container .carousel {
  display: flex;
  height: 100%;
  animation: caroufibre var(--carousel-animation-duration) linear infinite;
  align-items: center;
}
.container .carousel .carousel__face {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: var(--carousel-element-width);
  max-height: 100%;
  white-space: nowrap;
}
.paused {
  animation-play-state: paused !important;
}
/* je cree un zoom sur les img quand je passe la souris dessus */
.carousel img:hover {
  transform: scale(1.2);
  transition: all 300ms;
}
/* animation pour le carousel */
@keyframes caroufibre {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(
      calc(-1 * var(--carousel-element-width) * var(--carousel-elements))
    );
  }
}

/* ************************************************LA VIE DE L'ASSOCIATION */
/* Style SIMPLE spécifiques pour la section de téléchargement de documents*************************************** */
/* .download-section .download-links {
  display: block;
  text-align: center;
} */

/* .download-section .download-links a {
  
  margin-top: 1rem; 
  display: inline-block; 

}  */
/*


*/

/* .download-section .download-links a:active {
  color: red; 
} */

/* CSS pour l'organigramme */

/*
h3,
h2,
p,
li {
  font-family: "Poppins-Regular", sans-serif;
  list-style-type: none;
} */

p{
  padding: 1% 0;
}

main #organigramme h2 {
  color: white;
  font-size: 25px;
  font: normal small-caps 25px/1.2em "Poppins-Regular";
}

main #organigramme h3 {
  font: bold 20px/1.5em "Poppins-Regular";
  margin-bottom: 20px;
  text-align: center;
}

main #organigramme p {
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 14px;
}

main #organigramme li {
  font-size: 14px;
  text-align: center;
}

main #organigramme {
  margin: 0;
  row-gap: 0;
  justify-content: space-between;
}

.direction {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #0a3cdd;
  width: 40%;
  margin: 0 auto;
}

.employes {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  column-gap: 2%;
}

.personnel {
  margin: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-start;
  column-gap: 25%;
  width: 100%;
}

.benevole {
  color: #0a3cdd;
}

.service {
  color: #cc66cc;
}

.enfance {
  color: #e5391e;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-basis: 25%;
}
a{
  text-decoration: none;
  font-size: 14px;
}

.mediation {
  color: #ffbc0a;
  display: flex;
  flex-direction: column;
  flex-basis: 25%;
  justify-content: center;
}

.famille {
  color: #44af69;
  flex-basis: 25%;
}

.admin {
  color: #cc66cc;
  flex-basis: 25%;
}

.title {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;

  border-radius: 26px;
  padding: 25px;
  height: 100px;
  margin: 10% 0;
}

.enfance .title {
  background-color: #e5391e;
}

.mediation .title {
  background-color: #ffbc0a;
}

.famille .title {
  background-color: #44af69;
}

.admin .title {
  background-color: #cc66cc;
}

.individu {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  /* width: 80%; */
  /* margin: 20px auto; */
  column-gap: 5%;
}

/************************************************************************/
/***************responsive*******************************/
/***************1024px*******************************/
@media screen and (max-width: 1024px) {
  main section article:nth-child(2) {
    display: flex;
  }

  .valeurs_partagees article {
    text-align: center;
    display: flex;
    width: 70%;
    flex-direction: column;
    margin: auto;
  }

  .valeurs_partagees img {
    width: 100%;
  }
 }
/***************768px*******************************/
@media screen and (max-width: 768px) {
 
 .moineau{
    
        align-items: center;
 
 }

 .moineau img
 { 

    width: 45%;
 }

img .frise
 { 

    width: 80%;
 }



  .valeurs_partagees {
    grid-template-columns: 1fr;
    margin-top: 0vh;
  }
  .valeurs_partagees ul {
    margin-top: none;
  }

  .valeurs_partagees li {
    margin: 2px;
  }

  .valeurs_partagees img {
    width: 80%;
  }  

  h2{
    margin: 0;
    text-align: center;
    padding: 1% 0;
  }
  /* j'enleve l organigramme */
  .organigramme {
    display: none;
  }
  /* j'enleve le titre  */
  .equipe {
    display: none;
  }
}
