
:root {
  --col_border: rgba(255, 255, 0, 0.202);
}



.is_margin{
  margin-top: 3%;
}






/* */


#realisations{
  width: 100%;
  height:auto;
  margin-top: 5%;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
#container_rea{
  width: 90%;
  height:100%;
  display: flex;
  position: relative;
  
}
#grid_filter{
  width: 20%;
  padding-top: 5%;
}
.grid_rea{
  height:98%;
  margin-left: 1%;
  position: relative;
}
.grid_full{
  width: 30%;
}
.line_anim{
  position: absolute;
  width: 1px;
  height:0;
  background-color: rgb(77, 77, 77);;
  transform-origin: top;
  right: 0;
  transition: height 3s ease-out;
  z-index: 1;
}
.left_line_anim{
  left:0;
  right: auto;
}


/* */
#letter{
  display: flex;
  gap:1%;
}
.theme{
  margin-top: 5%;
}
.grid_rea_filter{
  display: flex;
  flex-wrap: wrap;
  gap:3%;
}
.grid_rea_filter div{
  cursor: pointer;
}
/* */
.rect_grid_2{
  width: 99%;
  margin-left: 0.5%;
  padding: 1%;
  height: 75vh;
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}
.rect_grid_2{
  margin-top: 15%;
}
.first_grd2{
  margin-top: 0%;
}
.top_grid{
  width: 100%;
  height:auto;
  display: flex;
  justify-content: space-between;
}
.top_grid div{
  width: fit-content;
}
.col_grid{
  width: 80%;
  display: flex;
  align-items: start;
  padding-bottom: 1%;
  flex-direction: column;
}
.is_margin_big{
  margin-top: 3%;
}
.img_grid{
  width: 75%;
  height:65%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 1s ease;
  border-radius: 20px;
}
.img_grid:hover{
  filter: grayscale(0%);
}
.img_r{
  margin-right: 1%;
}
.picture_div{
  overflow: hidden;
  width: 75%;
  position: absolute;
  bottom: 0;
}
.grid2arrow{
 transform: translateX(-120%);
 transition: 0.5s ease; 
}
.rect_grid_2:hover .grid2arrow{
  transform: translateX(0%);
}
.arrow{
  width: 2vw;
  height:auto;
}
.draw_side {
  height: 100%!important;
}









.no_marg{
  margin-top: 5%!important;
}


/* */
#last_new{
  width: 90%;
  margin-left: 5%;
  position: relative;
  height:70vh;
  min-height: 350px;
}
#last_container{
  width: 100%;
  height:100%;
  position: relative;
}

.line_anim_verti{
  background-color: rgb(77, 77, 77);;
  transition: height 1s ease;
  width: 1px;
  height:0;
  position:absolute;
  mix-blend-mode: normal !important;
  image-rendering: pixelated;
  z-index: 9999;
}
.line_anim_hori{
  background-color: rgb(77, 77, 77);;
  transition: width 1s ease;
  width: 0;
  height:1px;
  position:absolute;
}
#top_line{
  top:0;
  left:0;
}
#bottom_line{
  left:0;
  bottom:0;
}
#left_line{
  left: 0;
  top: 0;
}
#right_line{
  right: 0;
  top: 0;
}
#left_line2{
  left: 0;
  top: 0;
}

.line_hori{
  width: 100%;
}
.line_verti{
  height:100%;
}








#in_container{
  width: 100%;
  height:100%;
  position: relative;
}

#container_titre{
  width: 55%;
  height:100%;
  padding: 5%;
  position: relative;
}

#img_last{
  width: 100%;
  height:100%;
}
#container_video{
  position: absolute;
  width: 50%;
  height:100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  right: 0;
  top:0;
}
#video_new{
  width: 80%;
  height:80%;
  object-fit: cover;
}
#container_text{
  width: 70%;
  position: absolute;
  bottom: 15%;
}




/* */
@media (max-width: 1280px) and (max-height:1024px){
  #video_new{
    width: 60%;
    height: 90%;
  }
  #container_titre{
    width: 60%;
  }
  #container_text{
    width: 80%;
  }
  #realisations{
    margin-top: 0;
  }
  .img_grid{
    height:55%;
    width: 80%;
  }
  .rect_grid_2{
    height:65vh;
  }
  .mini_text{
    font-size: clamp(10px, 1.2vw, 100px);
  }
  #last_new{
    height: 60vh;
  }
}

@media (max-width: 1280px) and (max-height:800px){
  #video_new{
    width: 55%;
    height: 90%;
  }
  .rect_grid_2{
    height: 70vh;
  }
  .img_grid{
    height:60%;
  }
}
@media (max-width: 1280px) and (max-height:768px){
  #video_new{
    width: 50%;
    height:90%;
  }
  #realisations{
    margin-top: 5%;
  }
}

@media (max-width: 1280px) and (max-height:720px){
  #video_new{
    width: 60%;
    height:60%;
  }
  #realisations, #last_new{
    margin-top: 5%;
  }
}

@media (max-width: 1152px){
  #last_new{
    margin-top: 5%;
  }
}




@media (max-width: 700px){
  .line_anim_hori, 
  .line_anim_verti{
    display: none;
  }
  #last_new{
    height: auto;
    min-height: auto;
    margin-top: 10%;
  }
  #container_titre{
    width: 100%;
    position: relative;
    height: auto;
  }
  #container_text{
    position: relative;
  }
  #container_video{
    position: relative;
    height: 60vh;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    min-height: 400px;
    border: 1px solid white;
  }
  #video_new{
    width: 100%;
    height:150%;
    object-fit: cover;
  }
  /* */
  #container_rea{
    flex-direction: column;
  }
  #grid_filter{
    width: 100%;
  }
  .grid_rea  {
    width: 100%;
  }
  #in_container{
    display: flex;
    flex-direction: column-reverse;
  }

  /* */
  #container_titre{
    padding: 0;
    margin-top: 10%;
  }
  #container_text{
    width: 100%;
    margin-top: 5%;
  }
  .is_text_vid{
    width: 100%;
    display: flex;
    justify-content: end;
  }

  /* */
  #top_section{
    margin-top: 20%!important;
  }


  /* */
  #container_rea{
    flex-direction: column;
  }
  .grid_rea{
    width: 100%;
  }
  #grid_filter{
    width: 100%;
  }
  .non_display{
    display: none;
  }
  .img_card_rea{
    border-radius: 20px;
  }
  .rect{
    border: 1px solid rgba(255, 255, 255, 0.382);
    border-radius: 20px;
  }
  .no_border{
    border: transparent;
  }
  .grid{
    gap:0%;
     grid-template-columns: repeat(1, 1fr);
  }
  .card{
    height: 20vh;
    min-height: 200px;
    padding: 0;
    margin-top: 1%;
  }
  .img_card_rect{
    bottom: 10%;
    border-radius: 20px;
    width: 45%;
    height:65%;
  }
  .titre_resp{
    width: 40%;
  }
  /* */
  .is_left_grid{
    text-align: right;
    width: 100%;
  }
  .is_left_grid_under{
    margin-left: auto;
  }
  .is_left_img{
    left:3%;
    right: auto;
  }


  /* */
  #grid_filter{
    padding-top: 0;
    width: 100%;
  }
  #container_rea{
    width: 95%;
    margin-left: 2.5%;
    margin-top: 5%;
  }
  .grid_rea{
    margin-left: 0;
  }
  .first_grd2{
    margin-top: 5%;
  }
  .text_resp{
    font-size: 16px;
  }
  .img_grid{
    border-radius: 20px;
    filter: grayscale(100%);
    height: 60%;
    width: 90%;
  }
  .col_grid{
    width: 95%;
  }
  .rect_grid_2{
    height: 65vh;
    min-height: 250px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.388);
  }




}




@media (max-width: 800px){
  #realisations{
    margin-top: 0;
  }

  .container{
    width: 100%;
  }

  /* */

  .grid_rea{
    width: 100%;
  }
  #grid_filter{
    width: 100%;
    transform: translateX(-100%);
    position: fixed;
  }

  .arrow{
    display: none;
  }
  .grid{
    gap:2%;
    grid-template-columns: repeat(2, 1fr);
  }
  .rect{
    border: 1px solid rgba(255, 255, 255, 0.382);
    border-radius: 20px;
  }

  #video_new{
    height:80%;
  }


  /* */
  #grid_filter{
    padding-top: 0;
    width: 100%;
  }
  #container_rea{
    width: 95%;
    margin-left: 2.5%;
    margin-top: 5%;
  }
  .grid_rea{
    margin-left: 0;
  }
  .first_grd2{
    margin-top: 5%;
  }
  .text_resp{
    font-size: 16px;
  }
  .img_grid{
    border-radius: 20px;
    height: 60%;
    width: 90%;
  }
  .col_grid{
    width: 95%;
  }
  #container_rea{
    gap:1%;
    width: 98%;
    margin-left: 1%;
    margin-left: 0;
  }
  .line_anim,
  .line_anim_verti,
  .line_verti,
  .line_anim_hori {
    display: none;
  }
  .rect_grid_2{
    height: 65vh;
    min-height: 300px;
    border-radius: 20px;
    width: 98%;
    border: 1px solid rgba(255, 255, 255, 0.388);
  }
}

@media (max-width: 700px){
  #container_video{
    border: none;
  }
  #top_section{
    margin-top: 10%!important;
  }
  .img_grid{
    height:55%;
  }
  .is_margin{
    margin-top: 5%;
  }
}


@media (max-width: 600px){
  .grid{
    gap:2%;
    grid-template-columns: repeat(1, 1fr);
  }
  .card{
    height:50vh;
    min-height: 400px;
  }
  #top_section{
    margin-top: 30%;
  }
}


