
main{
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
} 
/* p{
  font-family: "Roboto Mono", serif;
  font-weight: 400;
  font-optical-sizing: auto;
  font-style: normal;
} */
h4{
  font-family: "Roboto Mono", serif;
  font-weight: 400;
  font-optical-sizing: auto;
  font-style: normal;
}
/*--------------------------*/

.sticky {
  position: sticky;
  left: 0;
  top: 150px;
  height: 25%;
  display: flex;
  align-items: center;
}
.dropdown_text{
  font-size: 2rem;
}

/***********************************/

/*tri*/
.sort_list{
  /* display: flex;
  flex-direction: column;
  width: 50%;
  justify-content: space-between;
  margin-top: 48px; */
  width: 16.66%;
  position: sticky;
  top: 67.5vh;
  margin-left: 2.5vw;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sort_list option{
  color: #828282;
  transition: ease-in-out 0.2s;
  font-family: "Roboto Mono", serif;
  font-weight: 400;
  font-optical-sizing: auto;
  font-style: normal;
}
.sort_list option:hover{
  color: black;
  cursor: pointer;
}
.active{
  color: black !important;
} 
.respon_sortlist{
  display: none; 
}
/******************************/


/**********masonry*************/

.overlay {
    position: absolute; 
    bottom: 0; 
    display: flex;
    flex-direction: column;
    align-items: space-between;
    justify-content: start;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.5); /* Black see-through */
    background-blend-mode: saturation;
    /* color: #f1f1f1;  */
    width: 100%;
    height: 100%;
    transition: .5s ease;
    opacity:0;
    color: white;
    font-size: 20px;
    padding: 20px;
    text-align: left;
  }
  .overlay p{
    font-family: "Roboto Mono", serif;
    font-weight: 400;
    font-optical-sizing: auto;
    font-style: normal;
  }
  .overlay_line{
    min-width: 100%; 
    display: flex; 
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
    margin-top: auto;
    margin-bottom: 8px;
  }
  .mItem:hover .overlay {
    opacity: 1;
    backdrop-filter: grayscale(0%);
  }
/*******************************/
.container_grid {
    width: 100%;
}
.mItem{
    position: relative;

  }
  .mItem .image{
    display: block;
    width: 100%;
    /* height: auto; */
  }
.image{
    width: 100%;
    height: 300px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.list_object{
  width: 65.5vw;
  padding-top: 30vh;
  padding-right: 2.5vw;
  display: flex;
  flex-direction: column;
}

.grid_row{
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-bottom: 16px;
}

.row_1 .mItem{
    width: 50%;
}
.row_1 .mItem:first-child{
    margin-right: 16px;
}
.row_2 .mItem{
    width: 100%;
}

.row_5 .mItem{
    width: 100%;
}

@media (max-width: 800px) {
    .grid_row{
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-bottom: 0px;
    }
    .mItem{
        width: 100% !important;
        margin-bottom: 16px;
    }
    .sort_list{
      display: none;
      opacity: 0;
    }
    .respon_sortlist {
      display: block;
      padding: 8px 12px;
      color: #333;
      width: 200px;
      margin-top: 15vh;
      margin-left: 32px;
      border: 1px solid #fff;
      cursor: pointer;
      background: #fff;
      position: relative;
      transition: ease-in-out 0.5s;
      appearance: none;
      -webkit-appearance: none;
      -moz-appearance: none;
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="50"><polygon points="0,0 100,0 50,50" style="fill:%23666666;"/></svg>');
      background-position: right 10px top 50%;
      background-repeat: no-repeat;
      background-size: 10px;
  }
  .respon_sortlist:focus, .respon_sortlist:hover{
    outline: none;
    text-decoration: none;
    border: 1px solid #fff;
    background-color: rgb(246, 246, 246);
  }
  option{
    all: unset;
    border:none;
    background-image:none;
    background-color:transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    font-size: 1rem;
  }
  select:focus > option:checked { 
    background: #ddd !important;
  }
}


/**********************************************************Contact**********************************************************/
.img_illu{
    width: 100%;
    height: 668px;
    /* background-image: url(../asset/img/Films/Laflamme.gif); */
    position: relative;
}

.img_illu video {
width: 100%;
height: 100%;
position: absolute;
object-fit: cover;
z-index: 0;
}
.illus{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.illus p{
  margin-top: 16px;
  width: fit-content;
  padding: 12px 32px 12px 32px;
  font-family: "Roboto Mono", serif;
  font-weight: 400;
  font-optical-sizing: auto;
  font-style: normal;
  text-align: center;
}
.footer{
    width: 100vw;
    height: 350px;
    border-top: 1px solid rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: space-between;
    padding-left: 48px;
    padding-right: 48px;
}
.footer_left{
  border-right: 1px solid rgba(0, 0, 0, 0.25);
  width: 50%; 
  display: flex; 
  flex-direction: column;
}
.footer_right{
  display: flex; 
  flex-direction: column;
  align-items: end;
}
.main_title{
  color: black;
}


/*animation*/
.fade-in-bottom {
	-webkit-animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
	        animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
.fade-in-bottom2 {
	-webkit-animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.5s both;
	        animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.5s both;
}
.fade-in-bottom3 {
	-webkit-animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) 1.5s both;
	        animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) 1.5s both;
}
.fade-in-bottom4 {
	-webkit-animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) 2s both;
	        animation: fade-in-bottom 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) 2s both;
}

 @-webkit-keyframes fade-in-bottom {
    0% {
      -webkit-transform: translateY(50px);
              transform: translateY(50px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
  }
  @keyframes fade-in-bottom {
    0% {
      -webkit-transform: translateY(50px);
              transform: translateY(50px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
  }
  
  .fade-in-top {
	-webkit-animation: fade-in-top 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
	        animation: fade-in-top 0.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

 @-webkit-keyframes fade-in-top {
    0% {
      -webkit-transform: translateY(-50px);
              transform: translateY(-50px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
  }
  @keyframes fade-in-top {
    0% {
      -webkit-transform: translateY(-50px);
              transform: translateY(-50px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
  }
  .fade-in {
    -webkit-animation: fade-in-invert 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000)  both;
            animation: fade-in-invert 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
  }
  .fade-in2 {
    -webkit-animation: fade-in 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.3s both;
            animation: fade-in 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.3s both;
  }
  .fade-in3 {
    -webkit-animation: fade-in-invert 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.3s both;
            animation: fade-in-invert 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.3s both;
  }
  .fade-in4 {
    -webkit-animation: fade-in 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.6s both;
            animation: fade-in 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.6s both;
  }
  .fade-in5 {
    -webkit-animation: fade-in-invert 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.6s both;
            animation: fade-in-invert 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.6s both;
  }
  .fade-in6 {
    -webkit-animation: fade-in 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.9s both;
            animation: fade-in 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.9s both;
  }
  .fade-in7 {
    -webkit-animation: fade-in-invert 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.9s both;
            animation: fade-in-invert 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.9s both;
  }
  .fade-in7 {
    -webkit-animation: fade-in 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.9s both;
            animation: fade-in 0.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.9s both;
  }
    @-webkit-keyframes fade-in {
      0% {
        -webkit-scale: 0.9;
                scale: 0.9;
        -webkit-transform-origin: 100% 100%;
                transform-origin: 100% 100%;
                opacity: 0;
      }
      50%{
                opacity: 1;
      }
      100% {
        -webkit-scale: 1;
                scale: 1;
        -webkit-transform-origin: 100% 100%;
                transform-origin: 100% 100%;
        opacity: 1;
      }
      }
      @keyframes fade-in {
        0% {
          -webkit-scale: 0.9;
                  scale: 0.9;
          -webkit-transform-origin: 100% 100%;
                  transform-origin: 100% 100%;
          opacity: 0;
        }
        50%{
                  opacity: 1;
        }
        100% {
          -webkit-scale: 1;
                  scale: 1;
          -webkit-transform-origin: 100% 100%;
                  transform-origin: 100% 100%;
          opacity: 1;
        }
    }
    @-webkit-keyframes fade-in-invert {
      0% {
        -webkit-scale: 0.9;
                scale: 0.9;
        -webkit-transform-origin: 0 100%;
                transform-origin: 0 100%;
        opacity: 0;
      }
      100% {
        -webkit-scale: 1;
                  scale: 1;
        -webkit-transform-origin: 0 100%;
                transform-origin: 0 100%;
        opacity: 1;
      }
    }
    @keyframes fade-in-invert {
      0% {
        -webkit-scale: 0.9;
                  scale: 0.9;
        -webkit-transform-origin: 0 100%;
                transform-origin: 0 100%;
        opacity: 0;
      }
      100% {
        -webkit-scale: 1;
                  scale: 1;
        -webkit-transform-origin: 0 100%;
                transform-origin: 0 100%;
        opacity: 1;
      }
  }

/************************************************/


@media (max-width: 1300px) {
  .Title_travail img{
    height: 100px;
  } 
  h1{
    margin: 0px;
  }
}
@media (max-width: 900px) {
  .img_illu{
    width: 100%;
    height: 500px;
    /* background-image: url(../asset/img/Films/Laflamme.gif); */
    background-position: center;
    background-size: cover;
}
.firstchild_section{
  padding-top: 150px;
}
h1{
  margin: 0;
}
}
@media (max-width: 600px) {
  main{
    display: flex;
    flex-direction: column;
  }
  .nav_contain_black{
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  .nav-right{
    display: flex !important;
  }
  .Title_travail img{
    display: none;
  }
  /* section{
    padding-top: 16px !important;
  } */
  .list_object{
    padding-top: 16px !important;
    padding: 16px 8vw 0 8vw;
    width: 100%;
  }
  .firstchild_section{
    padding-top: 100px;
    position: relative;
  }
  .image{
    height: 200px; 
  }
  .img_illu{
    width: 100%;
    /* background-image: url(../asset/img/Films/Laflamme.gif); */
    background-position: center;
    background-size: cover;
}
.dropdown_text{
  font-size: 1rem;
}
.overlay {
  opacity: 0;
}
.main_title{
  font-size: 4rem;
  line-height: 4rem;
}
.footer{
  width: 100vw;
  height: auto;
  border-top: 1px solid black;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: 0px;
  padding-right: 0px;

}
.footer_left{
  border-right: 0px; 
  width: 100%; 
  display: flex; 
  flex-direction: column;
}
.footer_left h3{
  margin-bottom: 16px !important;
  margin-top: 16px !important;
}
.footer_right{
  display: flex; 
  flex-direction: column;
  margin-bottom: 100px;
  align-items: start;
}

} 

