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

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 6em;
  overflow: hidden;
  width: 100%;
}

span {
  color: var(--couleur-primary);
}

p {
  margin: 0;
  padding: 0;
}

h3 {
  padding: 20px 0;
}


/* Configuration du formulaire */
form {
  max-width: 600px;
  margin: 10% auto;
  padding: 5% 10px 10% 10px;
  align-items: center;

  label {
    font-size: calc(1rem + 0.3vw);
    line-height: 1.5;
  }

  label.required::after {
    content: " *";
    color: red;
    font-weight: bold;
  }

  a{
    color: #0a3cdd;
    font-size: calc(1rem + 0.5vw);;
  }

  strong{
    font-weight: 600;
  }
}

/* Configuration des champs de saisie et des zones de texte du formulaire */
form input,
form textarea {
  width: 100%;
  padding: 20px;
  margin-bottom: 7%;
  border: 1px solid #0a3cdd;
  border-radius: 4px;
  box-sizing: border-box;
}

.remplis {
  border: 1px solid black;
}

/* Configuration du bouton du formulaire */
form .button {
  background-color: #0a3cdd;
  color: white;
  padding: 18px;
  margin: 50px auto 10px;
  border: none;
  cursor: pointer;
  width: 50%;
  display: block;
  text-align: center;
  border-radius: 4px;
}

.button-contact {
  background-color: #0a3cdd;
  color: white;
  padding: 18px;
  margin: 50px auto 10px;
  border: none;
  cursor: pointer;
  width: 50%;
  display: block;
  text-align: center;
  border-radius: 4px;
}

/* Configuration du bouton du formulaire lors du survol et du focus*/
form .button:hover,
button:focus {
  /* opacity: 0.8; */
  background-color: #8c7ce8;
}

/* Configuration de la case à cocher */
form #form_agreement {
  width: auto;
  margin-bottom: 5px;
  /* Ajoutez une marge de 20 pixels en dessous de la case à cocher */
}

input#contact_rgpd {
  width: auto;
  margin-bottom: 0;
}

.accord-coordonnees label {
  font-size: calc(1rem + 0.5vw);
  line-height: 1.5;
  font-family: "Poppins-Regular";
  color: var(--couleur-primary);
}

/* Configuration du texte de la case à cocher */
form label[for="form_agreement"] {
  display: inline-block;
  margin-left: 5px;
}

/* Configuration de la section de la carte */
.map-section {
  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;
}

.horaires {
  font-size: calc(1rem + 0.5vw);
  display: grid;
  gap: 0.5rem;
}

.horaires .ligne {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.15fr 1.3fr;
  align-items: center;
  padding: 0.4rem 0.8rem;
}

.horaires .jour {
  font-weight: 600;
}

.horaires span {
  text-align: left;
}

/* Pour ne pas séparer les chiffres des téléphones */
p.numero {
  white-space: nowrap;
}

/* Configuration de l'animation de rotation */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Configuration de l'adresse et du téléphone */
.adresse,
.address,
.horaire {
  text-align: center;

  color: red;
}

a {
  text-decoration: none;
}

.phone {
  display: flex;
  align-items: baseline;
}


/* Je mets des margin aux icones address et telephone afin de les décaler du texte */
.address img,
.phone img {
  margin: 25px 25px 32px 25px;
}

/* configuration animation h1 */
.bold {
  font-weight: bold;
  animation: blink 2.5s infinite;
}

/* animation h1 CONTACT */
.light {
  font-weight: 300;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

@media screen and (max-width: 530px) {
  h2 {
    text-align: center;
  }

  form #form_agreement {
    margin-left: 0;
  }

  .accord-coordonnees {
    margin: 0 15px 0 15px;
  }

  form>#form_message {
    border: 1px solid #0a3cdd;
    resize: none;
    overflow: auto;
  }

  section.contact-spe {
    display: flex;
    justify-content: space-around;
    width: 90%;
    flex-direction: column;
    align-items: center;
  }

  article.un,
  article.deux,
  article.trois {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-bottom: 1em;
  }

  .map-section>img {
    display: none;
  }
}