@font-face {
  font-family: "Myriad Pro Regular";
  src: url("fonts/MyriadPro-Regular.otf") format("otf");
}

body {
  margin: 0;
  font-family: "Myriad Pro";
  line-height: 30px;
}
header {
  text-align: center;
  padding: 20px 0;
}
header img {
  max-height: 200px;
}
nav {
  background-color: #611889;
}
.nav-container {
  display: flex;
  justify-content: space-between;
}
.nav-item {
  flex: 1;
  text-align: center;
  padding: 30px 0;
}
.nav-item:hover {
  background-color: #f361a0;
}
.nav-link {
  color: white;
  text-decoration: none;
  display: block;
  font-weight: bold;
}
#espritTheatre {
  display: flex;
  margin-top: 100px;
}
#espritTheatreImg {
  flex: 1;
  text-align: center;
}
#espritTheatre img {
  max-height: 350px;
  padding-right: 50px;
  margin: auto;
}
#espritTheatreP {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #611889;
  flex: 1;
}
h1 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 50px;
}
#espritTheatre a {
  background-color: #611889;
  color: white;
  text-decoration: none;
  width: 200px;
  margin: 50px 0 20px 0;
  padding: 20px 0 20px 0;
  text-align: center;
  border-radius: 10px;
  font-weight: bold;
}
#nosAteliers {
  background-color: #611889;
  color: white;
  padding: 50px;
  display: flex;
}
#nosAteliersText {
  flex: 1;
  padding: 20px;
}
#nosAteliersText ul {
  margin-top: 40px;
}
#nosAteliersText li {
  margin-left: 50px;
  margin-bottom: 20px;
  list-style: disc;
}
#nosAteliersImg {
  flex: 1;
  display: flex;
  justify-content: space-between;
}
#nosAteliersImg img {
  max-width: 30%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}
#prochainEvent {
  display: flex;
  margin-top: 100px;
  color: #611889;
}
#prochainEventTxt {
  flex: 1;
  margin-left: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #611889;
  flex: 1;
}
#prochainEventImg {
  flex: 1;
  text-align: center;
}
#prochainEvent img {
  max-height: 350px;
  padding-right: 50px;
  margin: auto;
}
#prochainEvent a {
  background-color: #611889;
  color: white;
  text-decoration: none;
  width: 200px;
  margin: 50px 0 20px 0;
  padding: 20px 0 20px 0;
  text-align: center;
  border-radius: 10px;
  font-weight: bold;
}
#nousTrouver {
  background-color: #611889;
  color: white;
  padding: 50px;
}

#nousTrouverMapTexte{
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
}

#nousTrouverMap img {
  max-height: 450px;
  padding-right: 50px;
  margin: auto;
}

#nousTrouverMap {
  text-align: center;
  flex: 1;
}

#nousTrouverTexte {
  flex: 1;
}

#photoArtistezVous,
#photoAproposMarie {
  display: flex;
  justify-content: space-between;
}

#photoArtistezVous img,
#photoAproposMarie img{
  max-height: 250px;
  margin: auto;
}

footer {
  padding: 50px;
  display: flex;
  justify-content: space-around;
  color: #611889;
  text-align: center;
}
footer a {
  text-decoration: none;
  color: #611889;
}
footer a:hover {
  color: #f361a0;
}

#accrocheAteliers h1,
#inscription h1,
#infoDevis H1 {
  text-align: center;
}

#coursStages,
#coursPeriode,
#coursPonctuel
#nosValeurs,
#notreMission,
#aProposMarie,
#aProposArtistezvous {
  margin-top: 100px;
  margin-bottom: 100px;
}

#coursStages H2,
#coursPeriode H2,
#coursPonctuel H2,
#bienfaitCoursStages H2,
#nosValeurs H2,
#notreMission H2,
#aProposMarie H2,
#aProposArtistezvous H2 {
  font-size: 25px;
  text-align: center;
  margin-bottom: 50px;
}
#coursStages p,
#coursPeriode p,
#coursPonctuel p,
#bienfaitCoursStages p,
#nosValeurs p,
#notreMission p,
#aProposMarie p,
#aProposArtistezvous p {
  margin-left: 50px;
  margin-right: 50px;
  margin-top: 20px;
  margin-bottom: 20px;
}
#coursStages li,
#bienfaitCoursStages li,
#nosValeurs li,
#notreMission li {
  margin-left: 100px;
  margin-bottom: 15px;
  list-style: disc;
}
#bienfaitCoursStages,
#underFormInscr,
#underFormContact {
  padding-bottom: 50px;
  padding-top: 50px;
  background-color: #611889;
  color: white;
}

#inscription,
#contact {
  margin-left: 30px;
  margin-right: 30px;
}

#inscription form,
#contact form {
  margin-top: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

#inscription input[type="submit"],
#contact input[type="submit"] {
  background-color: #611889;
  color: white;
  text-decoration: none;
  width: 200px;
  margin: 50px 0 20px 0;
  padding: 20px 0 20px 0;
  border-radius: 10px;
  font-weight: bold;
}
#underFormInscr p,
#underFormContact p {
  margin-left: 50px;
  margin-right: 50px;
}
#formTarifs {
  background-color: #611889;
  color: white;
  padding: 20px 50px 20px 50px;
}
#contactProjetTarif {
  display: flex;
}
#infoContactTarif,
#DescrProjetTarifs {
  display: flex;
  flex-direction: column;
}
#infoDevis {
  margin: 0px 50px 50px 50px;
}
#formTarifs input[type="submit"] {
  background-color: white;
  color: #611889;
  text-decoration: none;
  width: 200px;
  margin: 50px 0 20px 0;
  padding: 20px 0 20px 0;
  border-radius: 10px;
  font-weight: bold;
}
#inscription input,
#formTarifs input {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 300px;
}
#DescrProjetTarifs {
  margin-left: 50px;
}
#DescrProjetTarifs textarea {
  width: 400px;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Media Queries pour les petits écrans */
@media (max-width: 972px) {
  header img {
    max-height: 200px;
  }

  .nav-container {
    flex-wrap: wrap; /* Permettre le wrapping des éléments */
    justify-content: center; /* Centrer les éléments */
  }

  .nav-item {
    flex: 1 1 100%; /* Éléments prennent 100% de largeur */
    text-align: center;
    padding: 10px 0;
  }

  #espritTheatre,
  #nosAteliers,
  #prochainEvent,
  #nousTrouverMapTexte {
    flex-wrap: wrap; /* Permettre le wrapping des éléments */
    margin: 20px 0;
  }
  #photoArtistezVous,
  #photoAproposMarie {
    flex-wrap: wrap;
}
#nosValeurs li,
#notreMission li {
  margin-right: 50px;
}
  #photoArtistezVous img,
  #photoAproposMarie img{
  margin-top: 20px;
  margin-bottom: 20px;
} 
  #espritTheatre a,
  #prochainEvent a {
    margin: auto;
    margin-top: 50px;
    margin-bottom: 50px;
  }

  #prochainEvent {
    flex-wrap: wrap-reverse;
  }

  #espritTheatreImg,
  #nosAteliersText,
  #prochainEventTxt {
    flex: 1 1 100%; /* Éléments prennent 100% de largeur */
    text-align: center;
    margin-left: 0px;
  }

  #espritTheatre img,
  #prochainEvent img {
    max-width: 100%;
    height: auto;
    padding-right: 0px;
  }

  #espritTheatreP,
  #nosAteliersImg,
  #prochainEventImg {
    flex: 1 1 100%; /* Éléments prennent 100% de largeur */
    text-align: center;
    margin-top: 20px;
  }

  #nosAteliersText li {
    list-style: none;
    font-style: italic;
    margin-left: 0px;
  }

  #nosAteliersImg img {
    max-height: 500px;
    margin: auto;
    margin-bottom: 10px;
  }

  #temoignageListe {
    display: flex;
    flex-wrap: wrap;
  }

  .temoignages {
    flex: 1 1 100%;
    margin-bottom: 20px;
    text-align: center;
  }

  .temoignagesPhoto img {
    max-width: 100%;
    height: auto;
  }
  .hidesipetit {
    display: none;
  }

  footer {
    padding: 20px;
    display: flex;
    flex-wrap: wrap; /* Permettre le wrapping des éléments */
    justify-content: center;
    color: #611889;
    text-align: center;
  }

  footer div {
    flex: 1 1 100%;
    margin-bottom: 10px;
  }
}
