
.animation_navbar {
  overflow: hidden;
  display: flex;
  justify-content: center;
  width: 100%;
  background-color: var(--blue);
  list-style-type: none;
  padding: 0;
  border-top: 4px solid var(--blue);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  transform-origin: top center; /* Centre de transformation */
}

.animation_navbar li {
  position: relative;
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #ffffff;
  background-color: var(--blue);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  margin-left: 5px;
  margin-right: 5px;
}

.animation_navbar li.active {
  background-color: var(--blue-very-light);
  border-bottom-color: transparent;
  color: #333;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  box-shadow: 3px -3px 5px 0px rgba(0, 0, 0, 0.2), 0 0 0 transparent;
}



.animation_navbar a:hover {
  background-color: #ddd;
  color: black;
}

.animation_progress-bar {
  margin-top: 20px;
  background-color: #e4e4e4;
  height: 20px;
  width: 96%;
  display: flex;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.1), 0 0 0 transparent;
  position: relative;
  margin-left : 2%;
  transform: scale(0);
  transition: transform .3s;
}

.animation_progress-bar-container {
  transform-origin: top center; /* Centre de transformation */
  transform: scaleY(0); /* Commence réduit verticalement */
  position: absolute;
  top: 36px; /* Position de départ, sous .rectangle */
  left: 0;
  height: 60px;
  width: 100%;
  background-color: var(--blue-very-light);
}

.animation_progress {
  --progress-width : 10%;
  background-color: var(--red);
  height: 100%;
  width: 0;
  transition: width 0.1s ease-in-out;
  border-radius: 12px;
  width : var(--progress-width, 0%);
}

.animation_progress {
  transition: width .6s linear; /* Animer la largeur sur 2 secondes de façon linéaire */
}

.animation_form-container {
  margin: 5px 0;
  text-align: center;
  padding-bottom: 40px;

  transform: scaleY(0); /* Commence réduit et centré horizontalement */
  transform-origin: top center; /* L'animation de scaleY se déroulera du haut vers le bas */
  position: absolute;
  top: 91px; /* Position de départ, sous .rectangle */
  left: 0px;

  background-color: var(--blue-very-light);
  width : 100%;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;

  height : 340px;
}

#animation_form-container-3,
#animation_form-container-4,
#animation_form-container-5 {
  transform: scaleY(1);
}

.animation_form-container h1 {
  margin-top: 5px;
}

.animation_form {
  width: 460px;
  margin-left: 30px;
}


.animation_choix i.fa-angle-down {
  float: right;
}

#animation_form-container-2 {
  transform: scaleY(1);
}


.animation_label {
  display: block;
  margin: 10px 0;
}

.animation_button {
  color: white;
  border: none;
  width: auto;
  height: auto;
  font-size: 17px;
  display: inline-block;
  padding: 10px;
  background-color: var(--orange);
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.2);
  cursor: pointer;
  margin-right : 5px;
  margin-top: 20px;
  position: absolute; /* Positionnement absolu par rapport au conteneur relatif */
  bottom: 10px; /* En bas du conteneur */
  right: 5px; /* À droite du conteneur */
  transform: scale(0);
  transition: transform .3s;
}



.animation_choix-container {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: left;
}


.animation_choix {
  width: 190px;
  padding: 5px;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  font-size: 16px;
  margin-left: 20px;
  background-color: white;
  height: 18px;
  text-align: left;
  padding-left: 20px;
  transform: scale(0);
  transition: transform .3s;
}


.animation_choix-container-titre {
  transform: scale(0);
  transition: transform .3s;
}

.animation_text-barre-gris {
  height: 12px;
  background-color: #333;
  border-radius : 10px;
  transform: scale(0);
  transition: transform .3s;
}

.animation_text-barre-blanc {
  height: 12px;
  background-color: white;
  border-radius : 10px;
  transform: scale(0);
  transition: transform .3s;
}

.animation_choix-container {
  position: relative; 
}



.animation_menu-deroulant {
  width : 214px;
  height : 150px;
  position: absolute;
  top: 30px;
  background-color: white;
  border: 1px solid #e2e2e2;
  border-top: 0px;
  border-radius: 4px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  left: 55px;
  z-index: 2;
  opacity: 0;
}

.animation_apparaitre {
  opacity: 1;
}

.animation_menu-deroulant-contenant {
  width : 90%;
  height : 23px;
  border-bottom: 1px solid #e2e2e2;
  text-align: left;
  justify-content: center;
  padding-top: 6px;
  padding-left: 10%;
}

.animation_menu-deroulant-contenant p {
  margin: 0;
}


/* Appliquer l'animation au triangle */
#triangle {
  position: absolute;
  z-index: 1000;
  /* L'animation est ajoutée via JavaScript */
}


.cursor-svg {
  width: 30px; /* Largeur du curseur */
  height: 30px; /* Hauteur du curseur */
  background-image: url('dossier_svg/fleche.svg');
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
}




@keyframes click-effect {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.75); }
}

.click-animation {
  animation: click-effect 0.2s ease-in-out;
}


.animation_question-titre-projet > div {
  display: block; /* Assure que chaque div est traité comme un bloc */
  width: 100%; /* Optionnel: assure que chaque div occupe toute la largeur disponible */
  text-align: left;
}

.animation_question-titre-projet {
  margin-bottom: 25px;
}


.animation_container-titre-projet {
  max-width: 500px;
  width : 90%;
  padding: 5px;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  font-size: 16px;
  background-color: white;
  height: 18px;
  text-align: left;
  padding-left: 10px;  
  margin-bottom: 10px;
  margin-top: 5px;
}


.animation_container-contexte,
.animation_container-demarche,
.animation_container-benefices {
  width: calc(100% - 17px);
  padding: 5px;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  font-size: 16px;
  background-color: white;
  height: 200px;
  text-align: left;
  padding-left: 10px;  
  margin-bottom: 10px;
}

.animation_image-noire-1 {
  height: auto !important;
  width : 35px;
  filter: grayscale(100%);
}

.animation_image-rouge-1 {
  height: auto !important;
  width : 35px;
  filter: grayscale(0%);
}


.animation_image-container-1 {
  text-align: left;
  margin-top: 10px;
  display: flex;
  align-items: center;
}





.animation_survol-vert {
  background-color: var(--orange-light);
  border: 1px solid var(--orange);
}

.animation_survol-vert-fonce {
  background-color: var(--orange-dark);
}

.grow {
  transform: scale(1); /* Agrandit l'élément */
}

 
.animation_question-contexte,
.animation_question-demarche,
.animation_question-benefices  {
  margin-left: 0;
}

.animation_question-contexte p,
.animation_question-demarche p,
.animation_question-benefices p {
  text-align: left;
  font-weight: bold;
}

.animation_form-2 {
  width: calc(100% - 60px);
  margin-left: 30px;
}


.animation_temoignage-final {
  opacity: 0;
}

#depart {
  width : 50px;
}

#onglet-1 {
  width : 70px;
}

#onglet-2 {
  width : 60px;
}

#onglet-3 {
  width : 40px;
}

#onglet-4 {
  width : 45px;
}

#animation_form-symbole {
  width: 500px;
}

.animation_text-symbole {
  justify-content:center; 
  margin-right : 15px; 
  width : 100px
}


@media (max-width : 500px) {

  .animation_form-2 {
    width : calc(100% - 20px);
    margin-left: 10px;
  }

  .animation_container-contexte,
  .animation_container-demarche,
  .animation_container-benefices {
    height : 310px;
  }

  .animation_form-container {
    height : 430px;
  }

  .animation_choix-container {
    flex-direction : column;
    align-items: flex-start;
  }

  .animation_choix {
    margin-left: 0;
  }

  .animation_menu-deroulant {
    left: 0;
    top: 49px;
  }

  .animation_navbar {
    overflow: hidden;
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: var(--blue);
    list-style-type: none;
    padding: 0;
    border-top: 4px solid var(--blue);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transform-origin: top center; /* Centre de transformation */
  }
  
  .animation_navbar li {
    position: relative;
    display: block;
    padding: 10px 7px;
    text-decoration: none;
    color: #ffffff;
    background-color: var(--blue);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    margin-left: 5px;
    margin-right: 5px;
  }
  
  .animation_navbar li.active {
    background-color: var(--blue-very-light);
    border-bottom-color: transparent;
    color: #333;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    box-shadow: 3px -3px 5px 0px rgba(0, 0, 0, 0.2), 0 0 0 transparent;
  }

  #onglet-1,
  #onglet-2,
  #onglet-3,
  #onglet-4,
  #depart {
    width : 20px;
  }

  .animation_container-titre-projet {
    width : calc(100% - 15px) !important;
    height : 36px;
  }

  .animation_image-container-1 {
    flex-direction: column;
    align-items: flex-start;
  }

  #animation_form-symbole {
    width: calc(100% - 30px);
    margin-left: 10px;
  }

  .animation_text-symbole {
    justify-content:center; 
    margin-right : 0px; 
    width : 175px
  }

  
.animation_form {
  width: calc(100% - 20px);
  margin-left: 10px;
}

.container-5-0-1 {
  margin-bottom: 490px;
}
  

}