/*"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;
}

.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;
}

/***************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 {
  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%;
  height: auto;
  display: block;
  margin: 20px auto;
}

.rouge {
  background-color: var(--couleur-accent-un);
}

.mot-rouge {
  color: var(--couleur-accent-un);
}

.vieAsso-content {
  display: flex;
  flex-direction: column;
  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;
  min-width: 125px;
  border-radius: 15px;
  border: 2px solid var(--couleur-accent-un);
}

.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 {
  width: 624px;
  position: relative;
}

/* Configuration de la rose des vents */
.compass {
  position: absolute;
  top: 220px;
  left: 352px;
}

/* 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;
}

section.equipe {
  width: 100%;
}

.legendeUE {
  width: 85%;
}

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

/* 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 icone et sous titre */
.valeurs_partagees div {
  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 div:nth-child(1) ul {
  color: rgb(255, 46, 0, 100);
}

/* je touche a la phrase epanouissement */
.valeurs_partagees div:nth-child(2) ul {
  color: rgb(68, 175, 105, 100);
}

/* je touche a la phrase espace */
.valeurs_partagees div:nth-child(3) ul {
  color: rgb(255, 188, 10, 100);
}

/* je touche a la phrase respect */
.valeurs_partagees div:nth-child(4) ul {
  color: rgb(204, 102, 204, 100);
}

.notreequipe {
  /* color: yellow; */
  padding-right: 42vw;
}

/****************************section  2***********************************************/
/************************ organigramme*************************/
.organigramme {
  width: 100%;
}

.equipe a {
  text-align: center;
  margin-bottom: 1.2em;
}

/****************************section  ***********************************************/
/************************carrousel partenaires*************************/
.slider-container {
  width: 100%;
  height: auto;
  position: relative;
}

.slider-wrapper {
  display: flex;
  width: max-content;
  align-items: center;
  animation: scroll 50s linear infinite;
}

.slider-slide {
  margin-right: 150px;
}

.slider-slide a img {
  height: auto;
  min-width: 200px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-100% - 150px));
  }
}

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 {
  width: 85%;
  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 auto;
  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%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.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;
  column-gap: 5%;
}

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

  .valeurs_partagees div {
    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: 0px;
  }

  .valeurs_partagees li {
    margin: 2px;
  }

  .valeurs_partagees img {
    width: 80%;
  }

  h2 {
    margin: 0;
    text-align: center;
    padding: 1% 0;
  }

}

@media screen and (max-width: 1080px) {

  /* j'enleve l organigramme */
  .organigramme {
    display: none;
  }

  /* j'enleve le titre  */
  .equipe {
    display: none;
  }
}