.accueil-photos {
  background-color: white;
  padding: 80px;
}

.accueil-photos h2 {
  color: #242424;
  text-align: center;
  margin-bottom: 80px;
}
/* 
.accueil-photos div {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: center;
  margin-bottom: 15px;
} */

.accueil-introduction {
  display: flex;
  flex-direction: row;
  max-width: 1000px;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.accueil-introduction h1 {
  margin-bottom: 15px;
}

.accueil-introduction p {
  margin-bottom: 35px;
  margin-top: -30px;
  color: white;
  text-align: justify;
}

.texte-accueil {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.texte-gif {
  display: flex;
  justify-content: space-around;
}

.section-contact h2 {
  color: #a5b4fc;
  text-align: center;
  margin-bottom: 50px;
}

form {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  margin: auto;
  color: white;
}

.form-nom-email {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.form-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.square {
  border: #1f2039 2px solid;
  margin-bottom: 20px;
}

.projet {
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.detail-projet {
display:flex;
flex-wrap: wrap;
justify-content: center;
  gap:30px;
  margin-bottom: 30px;
  margin-left: 30px;
  margin-right: 30px;
}

.projet h3 {
  margin-top:30px;
}

.lien-conteneur-photo {
position: relative;
}

.detail-projet img {
width: 325px;
height: 215px;
object-fit: cover;
}

.detail-projet p {
font-size: 13px;
}


.lien-conteneur-photo:hover .photo-hover {
display: flex;
}

.gif {
display: flex;
flex-direction: column;
justify-content: center;
width: 40%;
height: 40%;
}

.texte-assos {
font-size: 1.1em;
color: black;
padding-left: 30px;
padding-right: 30px;
text-align: center;
margin-top: -10px;
}

@media screen and (max-width: 996px) {
  .accueil-introduction {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .accueil-introduction div {
    padding-right: 0;
    text-align: center;
    order: 2;
  }

  .accueil-introduction img {
    order: 1;
    margin-bottom: 20px;
    width: 100%;
  }

  .texte-gif {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }

  .texte-accueil {
    margin-top: 3rem;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-around;
  }

  .gif {
    margin-top: -3rem;
  }

  .ojf {
    margin-top: -2rem;
  }

  .cta {
    margin-bottom: 3rem;
    margin-top: -1rem;
  }

  .accueil-photos {
    padding: 20px;
  }

  .accueil-photos div {
    flex-direction: column;
  }

  .section-contact {
    padding: 50px 20px;
  }

  .form-nom-email {
    flex-direction: column;
    gap: 0;
  }
}


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

  .detail-projet img {
    width: 300px;
    object-fit: cover;
    }

}

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

  .detail-projet img {
    width: 260px;
    object-fit: cover;
    }

}

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

  .detail-projet img {
    width: 100%;
    object-fit: cover;
    }

}