#container_titre_contact{
  position: relative;
  padding-left: 5%;
  padding-top: 8%;
}
#titre_contact{
  margin-top: -3%;
}
#sous_titre_contact{
  margin-top: -3%;
}
.titre_under{
  width: 40%;
  margin-left: 55%;
  margin-top: -5%;
}

#container_top{
  display: flex;
  width: 100%;
  position: relative;
  height:fit-content;
}
#container_img_titre{
  width: 40%;
  margin-left: 5%;
  height: 100%;
  position: relative;
  z-index: 1;
  margin-top: 2%;
}
#img_titre{
  width: 100%;
  height:600px;
  object-fit: cover;
}
#titre_under_top{
  width: 40%;
  margin-left: 10%;
  height: 100%;
  
  /* margin-top: 2%;
  border: 1px solid red; */
}







#vitrine{
  width: 100%;
  position: relative;
  display: flex;
  height:500px;
}
#left{
  width: 75%;
  height:100%;
  margin-left: 5%;
}
#right{
  width: 15%;
  height:100%;
}
#scroller{
  width: 60%;
  height:50%;
  overflow: auto;
  margin-top: 1%;
}
#in_scroller{
  width: 100%;
  height:1500px;
  overflow: auto;
}
#in_scroller div{
  display: flex;
  gap:10px;
  align-items: center;
  cursor: pointer;
}
.circle{
  background-color: white;
  width: 10px;
  height:10px;
  border-radius: 50%;
}
#search{
  width: 350px;
}
#text_after{
  margin-top: 5%;
}
#img_right{
  position: fixed;
  width: auto;
  height:100%;
  right:0%;
  top:0;
  opacity: 0.3;
  z-index: 0;
}
#mast_img2_vitrnie{
  position: fixed;
  left:8%;
  top:0%;
  width: auto;
  height:100%;
  opacity: 0;
  z-index: -1;
  transform: scaleX(-1);
}
#text_commentaire{
  width: 40%;
  left:10%;
  position: fixed;
  top:80%;
  transition: opacity 0.5s ease;
}


/* */

#solution{
  width: 100%;
  height:400px;
  position: relative;
}
#text_fixed1{
  width: 45%;
  left:10%;
  position: fixed;
  top:25%;
  opacity: 0;
  transition : opacity 0.5s ease;
}
#point_soluce{
  position: absolute;
  width: 40%;
  margin-left: 57.5%;
  padding-left: 0;
}
.line{
  width: 100%;
  overflow: hidden;
  padding-bottom: 5%;
}
.in_line{
  opacity: 0;
  transition: transform 0.3s ease,
  opacity 0.2s ease;
  transform: translateX(-10%);
}


/* */
.gallerie_div{
  width: 100%;
  position: relative;
  height:fit-content;
  display: flex;
  padding-bottom: 10%;
  margin-top: 10%;
}
#top_gal{
  margin-top: 0%;
}
#right_gal{
  width: 70%;
  height:100%;
  padding-left: 5%;
}
#left_gal{
  width: 30%;
  height:100%;
  padding-top: 10%;
}
.container_btn_center{
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.container_appear{
  opacity: 0;
  transition: opacity 1s ease;
}
.under_text_gal{
  width: 75%;
  margin-top: 2%;
}
.under_titre{
  margin-top: -5%;
}

#projet{
  width: 80%;
  height:auto;
  padding-left: 7.5%;
  margin-left: 15%;
}


.grid-container {
  width: 80%;
  margin-left: 10%;
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 2 colonnes égales */
  gap: 20px; /* espace entre les blocs */
}

.grid-container div {
  padding: 5px;
  text-align: center;
  cursor: pointer;
}
#all_vitrine{
  margin-top: 15%;
  position: relative;
  z-index: 5;
}
.a_div{
  display: block;
  width: 100%;
  height:100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.vitrine_img{
  width: 100%;
  height:100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}

.back{
  position: absolute;
  z-index: -1;
}
#back1{
  top:-10%;
  left:-5%;
}
#back2{
  top:12%;
  left:60%;
}
#back3{
  top:22%;
  left:-5%;
}
#back4{
  top:40%;
  left:70%;
}
#back5{
  top:60%;
  left:-15%;
}
.opa{
  opacity: 0.8;
}
#sep{
  height:30vh;
}



@media (max-width: 1366px){
  .gallerie_div{
    height:600px;
  }
  #projet{
    width: 60%;
    margin-top: 10%;
  }
}
@media (max-width: 1280px){
  #img_titre{
    height:50%;
  }
}
@media (max-width: 1152px){
  #img_titre{
    height:500px;
  }
}
@media (max-width: 1024px){
  #img_titre{
    height:400px;
  }
  #projet{
    width: 80%;
    margin-left: 10%;
    padding-left: 0;
    text-align: center;
  }
  #btn_projet{
    justify-content: center!important;
    margin: auto;
    margin-top: 5%;
  }
  .grid-container {
    width: 80%;
    margin-left: 10%;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 2 colonnes égales */
    gap: 0; /* espace entre les blocs */
    margin-top: 0;
  }
  #mast_img2_vitrnie{
    left: 0;
    width: auto;
    height:100%;
  }
}


@media (max-width: 800px){
  .titre_under{ 
    width: 48%;
    margin-left: 52%;
  }
  #titre_para1{
    font-size: 60px;
  }
  #text_fixed1{
    width: 45%;
    left:5%;
  }
  #text_commentaire{
    left:5%;
    width: 45%;
  }
  .gallerie_div{
    height:400px;
  }
  #container_img_titre{
    margin-left: 0%;
    width: 60%;
  }
  #titre_under_top{
    width: 60%;
    margin-left: 5%;
    margin-top: 3%;
  }
  #img_titre{
    width: 100%;
  }
  #point_soluce{
    width: 45%;
    margin-left: 55%;
  }
  #projet{
    margin-top: 5%;
  }
  #sep{
    height:5vh;
  }
  .grid-container div{
    padding: 15px;
  }
  #all_vitrine{
    margin-top: 5%;
  }
  .grid-container div{
    width: 100%;
    padding: 5%;
  }
}
@media (max-width: 750px){
  .under_text_gal{
    font-size: clamp(20px, 2.8vw, 30px);
    width: 80%;
  }
  .site_web{
    font-size: clamp(20px, 13.5vw, 120px)!important;
  }
  #left_gal{
    width: 35%;
  }
  #all_vitrine{
    margin-top: 10%;
  }
  .grid-container{
    grid-template-columns: repeat(3, 1fr); /* 2 colonnes égales */
  }
  #sep{
    height:10vh;
  }
  #img_titre{
    width: 100%;
    height:400px;
  }
  #sous_titre_contact{
    height:60px;
   }
   #container_top{
    height:667px;
   }

}

@media (max-width: 650px){
  #container_top{
    height: 750px;
  }
  .site_web{
    font-size: 75px;
  }
}
@media (max-width: 750px){
  .gallerie_div{
    flex-direction: column;
  }
}
@media (max-width: 750px){
  #titre_contact{
    font-size: 70px;
  }
  
  #text_commentaire{
    left:3%;
    text-align: justify;
    width: 100%;
    bottom:5%;
    display: none;
  }
  #titre_under_top{
    width: 99%;
    text-align: justify;
    padding-right: 2%;
    margin-left: 1%;
  }
  #text_fixed1{
    left: 3%;
    text-align: justify;
    top:20%;
    width: 47%;
  }
  #container_img_titre{
    margin-left: 0%;
    width: 100%;
  }
  #container_titre_contact{
    padding-left: 3%;
  }
  #img_titre{
    width: 100%;
    height:400px;
    min-height: 400px;
  }
  .line{
    width: 100%;
  }
  #container_top{
    height:900px;
  }
  #point_soluce{
    width: 47%;
    margin-left: 53%;
    padding-left: 0;
  }
  .titre_web div{
    font-size: 70px!important;
    word-wrap: break-word;
  }
  #right_gal{
    padding-left: 3%;
    width: 100%;
  }
  .under_text_gal{
    width: 97%;
  }
  #left_gal{
    width: 100%;
    padding-top: 0;
  }
  .site_web{
    text-align: center;
    position: absolute;
    right: 10%;
    top:20%;
    opacity: 0.3!important;
  }
  #projet{
    width: 100%;
    margin-left: 0%;
    text-align: center;
    padding-left: 0;
    justify-content: center;
    display: flex;
    flex-direction: column;
  }
  #sous_titre_contact{
    height:60px;
    line-height: 1;
  }
  #titre_contact{
    height:84px;
    line-height: 1;
  }
  .titre_web h2{
    font-size: 80px;
    width: 100%;
    word-break: break-all;
  }
  #solution{
    height: 380px;
  }
}

@media (max-width: 750px){
  #titre_contact{
    height: 160px;
  }
  #container_top{
    flex-direction: column;
    height: fit-content;
  }
  #text_commentaire{
    position: relative;
  }
  #text_fixed1{
    position: relative;
    top:0;
  }
  #container_titre_contact{
    width: 97%;
  }
  #text_commentaire, #text_fixed1{
    width: 93%;
  }
  #point_soluce{
    margin-left: 3%;
    width: 97%;
  }
  .line{
    height: auto;
    padding-bottom: 10px;
  }
  .btnmobile{
    justify-content: end!important;
  }
  .container_btn_center{
    justify-content: end;
    width: 100%;
    padding-right: 5%;
    margin-top: 5%;
  }
  .grid-container{
    padding: 0;
    width: 90%;
    margin-left: 5%;
  }
} 

@media (max-width: 550px){
  #solution{
    height: 580px;
  }
}



@media (max-width: 400px){
  #gallerie{
    margin-top: 40px;
  }
  .titre_web h2{
    font-size: 60px;
  }
  .gallerie_div{
    height:500px;
  }
}


@media (max-width: 344px){
  #titre_contact{
    height: 210px;
  }
  #solution{
    height: 700px;
  }
}