.rea{
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 150px 5%;

    background-image: url('/images/citron-bg-3.webp');
    background-size: 100% auto;

}



h1 {
    width: 100%;
    font-size: 6rem;
    font-weight: 600;
    font-family: 'poppins', sans-serif;
    text-align: center;
    margin-top: 50px;
 }

.rea h2{
    width: 100%;
    font-size: 2rem;
    font-weight: 600;
    font-family: 'poppins', sans-serif;
    text-align: center;
    color: #969696;
 }



.project-container{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px;
  margin: 52px 26px;
  margin-top: 200px;
}




.project{
  background-color: #FFFEFB;
  max-width: 500px;
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
border-radius: 15px;
padding: 18px;
position: relative;
-webkit-box-shadow: 0px 2px 11px -3px rgba(0,0,0,0.15); 
box-shadow: 0px 2px 11px -3px rgba(0,0,0,0.15);
}

.project-hidden{
    visibility: hidden;
}

.project-image{
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #d8d8d8;
  border-radius: 5px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  transition: .5s;
  transform: scale(1.1);
}
.project:hover .project-image img {
  transform: scale(1);
}

.p-hint{
  font-size: .9rem;
  background-color: #ffe600;
  width: fit-content;
  border-radius: 15px;
  padding: 6px 10px;
  position: absolute;
  top: -12px;
  left: 10px;
  z-index: 3;
}

.hint-orange{
  background-color: #F9C576;
}
.hint-pink{
  background-color: #FEC4A3;
}
.hint-green{
  background-color: #CDEEBF;
}



.project-title{
  font-size: 1.2rem;
  font-weight: 600;
  padding: 10px 0;
}
.project-desc{
  margin-bottom: 15px;
}

.projet .liste-lien{
  margin-top: 15px;
}

.project:nth-child(3n+2) {
    transform: translateY(-100px);
  }










@media (max-width: 1350px) {

      .project{
    width: 45%;
    min-width: 300px;
    padding: 24px;
  }

  .project:nth-child(3n+2) {
    transform: translateY(0);
  }

  .project-container{
    margin-top: 100px;
  }

  .project:nth-child(odd) {
    transform: translateY(-50px);
  }


  h1{
    font-size: 4rem;
  }
}



@media (max-width: 800px) {

      .project{
    width: 100%;
    padding: 18px;
    transform: translateY(0px);
    max-width: none;
}

.project:nth-child(odd) {
      transform: translateY(0px);
  
}
 h1{
    font-size: 3rem;
  }
  .rea h2{
    font-size: 1.5rem;
  }

  .rea{
    padding: 100px 5%;
    background-size: 200% auto;
    background-position: top center;
  }

}

