.body {
  background-color: #FCFC38;
  /* Couleur de fond */
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
}

/*section*/
.section {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  height: auto;
  justify-content: baseline;
  text-align: center;
  margin-top: 50px;

}

/* Fin Section */

/*section1*/
.section1 {
  display: flex;
  margin: 2vw;
  height: 5vw;
  justify-content: center;
}

/* Changement de couleur au clic */
.btn:hover {
  background-color: #C2F732;
  color: black;
  /* Couleur du texte au survol */
}

.btn {
  font-size: 20px;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: 800;
  width: 150px;
  height: 30px;
  position: relative;
  display: inline-block;
  margin: 20px;
  margin-top: 0;
  transition: 0.3s ease;
  background-color: #E73E01;
  color: #FFFF05;
  border-radius: 20%;
  padding: 2px 2px 2px;
  text-decoration: none;
  text-align: center;

}

/* Fin Section1 */

/*section0*/
.section0 {
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 0;
  margin: auto;
  margin-top: auto;
}

/*login code page agenda*/
.login-box {
  display: flex;
  flex-direction: column;
  width: 20vw;
  padding: 0;
  margin: 5vw;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.I {
  width: 120PX;
  height: 18px;
  padding: 5px 5px 5px 5px;
  transition: 0.3s;
  background-color: #E73E01;
  color: #FFF;
  font-size: 16px;
  border-radius: 20%;
  border: none;
  text-align: center;
}

.I::placeholder {
  color: #FFFF05;
}

.B {
  background-color: #393938;
  color: #fff;
  font-size: 12px;
  height: 30px;
  width: 100px;
  padding: 5px 5px 5px 5px;
  transition: 0.3s;
}

/* Changement de couleur au clic */
.B:hover {
  background-color: #C2F732;
  color: black;
  /* Couleur du texte au survol */
}

.m {
  color: #806D5A;
  margin-top: 0;
  text-align: center;
  font-weight: 800;
}

.A {
  margin: 0;
  font-size: 24px;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: 800;
  color: #E73E01;
}

/*fin section0*/


/*Section2*/
#boxes {
  height: 600px;
  max-width: 100%;
  display: flex;
  flex-direction: row;
  top: 5vw;
  align-items: center;
  justify-content: center;
  background-color: #f72b07;
  width: 100%;
}

#column1 {
  background-color: #FCFC38;
  padding: 0;
  margin: 1vw;
  text-align: center;
  width: 600px;
  height: 300px;
}

#column2 {
  background-color: #FCFC38;
  padding: 0;
  margin: 1vw;
  text-align: center;
  width: 600px;
  height: 300px;
}

#column3 {
  background-color: #FCFC38;
  padding: 0;
  margin: 1vw;
  text-align: center;
  width: 600px;
  height: 300px;
}

h2 {
  font-size: 1.5rem;
  color: #000000;
  text-align: center;
}

p {
  font-size: 1.2rem;
}

/*fin Section2*/

/*setion3*/
.partenaire {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  /* espace entre les colonnes */
}

.col {
  flex: 1;
  /* 4 colonnes de largeur égale */
  background: #FCFC38;
}

/*fin de section3*/

/*Section4*/
.containaire {
  /*conteneur principale*/
  background-color: #FCFC38;
  display: flex;
  margin: 0;
  height: 950px;
  margin-top: 0;
}

.colum1 {
  /* Image principale */
  display: block;
  position: relative;
  margin-top: 2vw;
  left: 4vw;
}

.colum2 {
  /*textes */
  position: relative;
  width: 500px;
  display: flex;
  flex-direction: column;
  margin-top: 6vw;
  left: 10vw;
  margin-right: 0;
  height: 720px;
  color: black;
  font-family: Arial, Helvetica, sans-serif;
}


.texte4 {
  font-size: 30px;
  font: 'Open Sans', 'Helvetica Neue', sans-serif;
  text-align: left;
  font-weight: 700;
}

.texte8 {
  font-size: 20px;
  font-family: Verdana, sans-serif;
  text-align: left;
  padding: 0;
}

.texte5 {
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  text-align: left;
  padding: 0;
}

/*fin sections4*/
/*section5*/
#section5 {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  max-width: 100%;
  height: auto;
  margin-top: 0;
  background-color: #FFF;
}

.titre {
  gap: 0;
  margin: 0;
  width: 100%;
  height: 8vw;
  text-align: center;
  background-color: #f72b07;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #f72b07;
  font-style: italic;
}

.qwigley-regular {
  margin: 0;
  max-width: 100%;
  font-family: "Qwigley";
  font-weight: 400;
  font-size: 6rem;
  color: #FCFC38;
}

.gallery {
  flex-wrap: wrap;
  display: flex;
  gap: 40px;
  margin: 2vw;
  margin-top: 0;
  top: 0;
  padding: 1vw;
  background-color: #fff;
  margin-left: 100px;

}

.column {
  display: flex;
  flex-direction: column;
  gap: 15px;


}

.column img {
  width: 40%;
  height: auto;
  display: flex;
  transition: transform 0.4s ease;
  border-radius: 8px;

}

.photo {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.photo:hover img {
  transform: scale(1.05);
}

.overlay {
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 20vw;
  height: auto;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 10px;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.photo:hover .overlay {
  opacity: 1;
}

/*Responsive colonne*/
.col-1,
.col-2,
.col-3 {
  flex: 1 1 30%;
}

.h4 {
  margin-top: 0;
  color: #FCFC38;
  font-size: 20px;
}

.p2 {
  font-size: 14px;
}

/*Fin Section 5*/

/*section6*/
#section6 {
  display: flex;
  height: 600px;
  max-width: 100%;
  margin-top: 0;
  background-color: #f72b07;
  justify-content: center;
  align-items: center;
}

.col-6 {
  width: 450px;
  height: 250px;
  padding: 10vw;
  left: 1vw;
  max-width: 100%;
}

.vertical-text {
  font-size: 36px;
  margin: 2vw;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-style: italic;
  padding: 0 0 0;
  color: #FFF;
}

.texti {
  text-align: center;
  align-items: center;
  margin: 0;
  padding: 0;
  font-size: 20px;
  color: #FFF;
}

.col-7 {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 5vw;
  margin-top: 0;
}

form {
  height: 450px;
  max-width: 350px;
  margin: auto;
  background: #f72b07;
  padding: 3vw;
  /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);*/
}

input,
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 0.5vw;
  margin: 1rw;
  border: 2px solid #096ff5;
  border-radius: 5px;
  transition: 0.3s;
}

/* Champ valide */
input.valid,
textarea.valid {
  border-color: #27f557;
  background: #bdf5ca;
}

/* Champ invalide */
input.invalid,
textarea.invalid {
  border-color: #f20920;
  background: #f4a699;
}

button {
  border: 2px solid #096ff5;
  width: 100%;
  margin-top: 20px;
  padding: 0.8vw;
  background: #fafab2;
  margin: 0.6vw;
  color: brown;
  font-size: 20px;
  font-weight: 800;
  border-radius: 5px;
  cursor: pointer;
}

.text {
  color: #000000;
  text-align: center;
}

/*fin section6*/


/*responsive*/
/* Media Queries pour les écrans plus petits */

@media screen and (max-width: 768px) and (max-width: 1024px) {
  .body {
    transition: 0.5s;
    background-color: #FCFC38;
    flex-direction: column;
    max-width: 100%;
    height: auto;

  }

  .car {
    max-width: 100%;
    width: 100%;
  }

  /*section1*/
  .section1 {
    height: 80vw;
  }

  .btn {
    /* Boutons (btn)divers modéles */
    display: flex;
    flex-direction: column;
    top: 5vw;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: 20px;
    height: 20px;
    padding: 5px 5px 5px 5px;
  }

  /*section0 Bouton code*/
  .section0 {
    max-width: 100%;
    width: 100%;
    display: block;
  }

  /*login code page agenda*/
  .login-box {
    max-width: 100%;
    width: 90%;
    padding: 5px;
  }

  /*.I {
    max-width: 100%;
    width: 100%;
    margin: 0;
  }*/

  .B {
    margin: 3vw;
  }

  /*.m {
    margin-top: 2px;
    text-align: center;
    font-weight: 800;
  }*/

  .A {
    margin: 10px;
  }

  /*section2*/
  #boxes {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    width: 100%;
    gap: 0px;
    height: auto;

  }

  #column1 {
    height: auto;
    max-width: 100%;
    margin-top: 8px;
  }

  #column2 {
    height: auto;
    max-width: 100%;
  }

  #column3 {
    height: auto;
    max-width: 100%;


  }

  /*section3*/
  .partenaire {
    flex-direction: column;
    max-width: 100%;
  }

  /*Fin section3*/


  /*Section4 */
  .containaire {
    /*conteneur principale*/
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 2vw;
    /* Espacement entre les colonnes */
    max-width: 100%;
    height: auto;
    overflow: hidden;
    /* Empêche le débordement horizontal */
    flex-wrap: wrap;
    /* Permet aux colonnes de passer à la ligne */
  }

  .colum1 {
    /* Image principale */
    overflow: hidden;
    /* Empêche le débordement horizontal */
    height: auto;
    width: 100%;
    padding: 15vw;
  }

  .colum2 {
    left: 1vw;
    margin: 0.2vw;
    padding: 0;
    max-width: 100%;
    height: 242vw;
  }

  .h4 {
    margin-top: 0;
    color: #FCFC38;
    font-size: 20px;
  }

  .p2 {
    font-size: 14px;
  }

  .texte5 {
    font-size: 16px;
  }

  /*section5*/
  .titre {
    height: 20vw;
    max-width: 100%;
    gap: 20px;
  }

  .qwigley-regular {
    font-size: 3rem;
  }

  .gallery {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin-left: 10px;
  }

  .photo:hover img {
    transform: scale(1.05s);
  }

  .column img {
    max-width: 200px;
    width: 100%;
  }

  .overlay {
    text-align: center;
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  .photo:hover .overlay {
    opacity: 1;
  }

  /*section 6*/
  #section6 {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin-top: 0;
    height: 650px;
  }

  .col-6 {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin: 0;
    padding: 0;
    margin-top: 0;
  }

  .col-7 {
    width: 100%;
    overflow: hidden;
    margin: 0;
  }

  .formulaire input,
  .formulaire textarea {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    height: auto;
    margin: 4vw 0 0;
    font-size: 20px;
  }

  .formulaire button {
    width: 100%;
    margin-left: 0.5vw;
    margin: 5vw 0 0;
  }

  /* Fin Media Queries */
}