.couleur-fond-intro{
  background: #efefed; 
height: 600px;
}

header {
  position: sticky;
  top: 0px;
  z-index: 1;
}

  .accueil-introduction {
    display: flex;
    flex-direction: row;
    width: 60%;
    align-items:flex-start;
    justify-content: space-between;
    margin: auto;
    margin-bottom: 30px;
  }
 
  .accueil-introduction h1 {
    margin-bottom: 15px;
  }


  .accueil-introduction h2 {
    margin-bottom: 15px;
  }

  .cta{
    margin-top: 3em;
  }

  .section-contact h2{
    text-align: center;
    color:#f08374;
    margin-top: 120px;
    margin-bottom: 60px;
  }


  form {
    display: flex;
    flex-direction: column;
    width: 40%;
    margin: auto;
  }
 
  .form-nom-email {
    display: flex;
    flex-direction: row;
    gap: 20px;
  }
 
  .form-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
  }
 
  input,
  textarea {
    padding: 15px;
    border-radius: 3px;
  }
 
  label {
    margin-bottom: 10px;
  }
 
  input[type='submit'] {
    width: 200px;
    margin: auto;
    margin-top: 30px;
  }


 .titre-projet h1 {
    color: #f08374;
    margin-top: 2em;
    text-align: center;
  }

  .titre-projet h1:hover {
    color: #3C3C3E;
    margin-top: 2em;
    text-align: center;
  }

 h3 {
  color: #f08374;
    text-align: center;
    margin-bottom: 1em;
    transition: transform 1s ease;
  }

  h3:hover {
    color: #3C3C3E;
    transform: scale(1.1);
    }

  .rubrique-projet{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: px;
    
  }

  .grid-projet {
    display: grid;
    grid-template-columns: 120px 120px 120px  ;
    grid-template-rows: 120px 120px 120px 120px;
    gap: 5px;
  }  
  .grid-projet img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 10px;
  }

  .grid-projet img:hover{
    transform: scale(1.3);
  }



/* -----------------animation photo accueil----------- */

.rotate-image {
  animation-name: arrive;
  animation-duration: 0.8s;
  max-width: 100%;
  transition: transform 0.5s;
}
@keyframes arrive {
0% {
  -webkit-transform: rotateY(0);
          transform: rotateY(0);
}
100% {
  -webkit-transform: rotateY(360deg);
          transform: rotateY(360deg);
}
}

.rotate-image:hover {
        animation: rotate 0.8s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
}

@keyframes rotate {
0% {
          transform: rotateY(0);
}
100% {
          transform: rotateY(360deg);
}
}

/*------------- Section RESPONSIVE----------- */
@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%;
}

.accueil-photos {
padding: 20px;
}

  .grid-projet {
    display: grid;
    grid-template-columns: 300px 300px 300px;
    grid-template-rows: 300px 300px;
    gap: 10px;
    
    flex-direction: column;
    justify-content: center;
  }  
  h3{
    margin: 50px 20px;
  }
  .accueil-introduction a {
    display: none;
  }
}
  @media screen and (max-width: 1500px) {
  .rubrique-projet {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .section-contact {
    padding: 50px 20px;
  }

  .form-nom-email {
    flex-direction: column;
    gap: 0;
  }
}
/*------------- fin Section RESPONSIVE----------- */