#nav_template{
  width: 80%;
  display: flex;
  justify-content: start;
  align-items: center;
  gap:3%;
  flex-wrap: wrap;
  transition: transform 0.5s ease;
  padding: 0% 0% 0% 5%;
  z-index: 100;
  position: relative;
}
#category{
  padding-left: 5%;
  margin-top: 5%;
}
#text_first_vitrnie{
  width: 50%;
  padding-left: 5%;
  margin-top: 10%;
}
#menu{
  margin-top: 20%;
}
.line{
  position: relative;
  display: flex;
  height:100%;
  width: 100%;
  gap:1%;
  flex-wrap: wrap;
  padding-left: 5%;
}
.square{
  position: relative;
  cursor: pointer;
  width: 23%;
  min-width: 23%;
  margin-top: 1%;
  transition: width 0.5s ease, height 0.5s ease;
  transform-origin: left;
  overflow: hidden;
}
.img_item{
  object-fit: cover;
  width: 100%;
  height:100%;
  border-radius: 10px!important;
}
.img_item_fiche{
  width: 100%;
  height:100%;
  object-fit: cover;
  position: absolute;
  top:0;
  left:0;
}
.close{
  position: absolute;
  top:1%;
  right:1%;
  z-index: 10;
}
.overlay{
  transition: opacity 1s ease;
  width: 40%;
  height:100%;
  opacity: 0;
  position: absolute;
  top:0%;
  right:5%;
  background-attachment: fixed;
  background-color: #000000;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='105' viewBox='0 0 80 105'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='death-star' fill='%23f6f4f9' fill-opacity='0.06'%3E%3Cpath d='M20 10a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V10zm15 35a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V45zM20 75a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V75zm30-65a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V10zm0 65a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V75zM35 10a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V10zM5 45a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V45zm0-35a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V10zm60 35a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V45zm0-35a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V10z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  border: 1px solid white;
  box-shadow: 4px 4px 10px rgba(253, 253, 253, 0.2);
  z-index: 20;
  padding: 0.5%;
  padding-left: 2%;
}
.fiche{
  position: relative;
  width: 30%;
  margin-left: 35%;
  height:35%;
  background-color: white;
}
.under_fiche{
  margin-top: 5%;
}
.btn_voir{
  border: 1px solid white;
  border-radius: 12px;
  padding: 1%;
  margin-left: 10%;
  background-color: transparent;
  color:white;
  cursor: pointer;
  margin-top: 10%;
  width: 80%;
  box-shadow: 4px 4px 10px rgba(253, 253, 253, 0.2);
}
.enum{
  width: fit-content;
}
.line_pres{
  display: flex;
  flex-wrap: wrap;
  gap:1%;
}

.el_site{
  cursor: pointer;
  width: fit-content;
}

.titre_1_pres{
  padding: 5%;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 10px;
  margin-top: 20%;
}
.grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}











@media (max-width: 1350px) {
  #text_first_vitrnie{
    width: 55%;
  }
}


@media (max-width: 1050px) {
  #text_first_vitrnie{
    width: 60%;
  }
  .square{
    width: 30%;
  }
}

@media (max-width: 800px) {
  #text_first_vitrnie{
    display: none;
  }

}
@media (max-width: 768px) {
  body{
    font-size: 4.5vw;
    overflow-x: hidden;
  }
  .is_titre{
    font-size: 11.1vw;
  }
  .is_titre1{
    font-size: 7.2vw;
  }
  .is_titre2{
    font-size: 6.6vw;
  }
  .is_titre3{
    font-size: 5.3vw;
  }
  .is_titre4{
    font-size: 4.8vw;
  }
  .is_text{
    font-size: 5vw;
  }
  #left_nav{
    width: 100%;
    display: flex;
    align-items: center;
  }
  #right_nav{
    width: 0;
  }
  .el_site{
    width: 30%;
  }
  .line{
    flex-wrap: wrap;
    gap: 20px;
  }
  .square{
    width: 45%;
    min-width: 45%;
    padding-bottom: 0;
    height:20svh;
  }
  .overlay{
    transition: opacity 1s ease;
    width: 95%;
    height:100%;
    opacity: 0;
    position: absolute;
    top:0%;
    right:5%;
    background-attachment: fixed;
    background-color: #000000bc;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='105' viewBox='0 0 80 105'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='death-star' fill='%23f6f4f9' fill-opacity='0.06'%3E%3Cpath d='M20 10a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V10zm15 35a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V45zM20 75a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V75zm30-65a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V10zm0 65a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V75zM35 10a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V10zM5 45a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V45zm0-35a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V10zm60 35a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V45zm0-35a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V10z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    padding: 5%;
    border: 1px solid white;
    
    box-shadow: 4px 4px 10px rgba(253, 253, 253, 0.2);
    z-index: 20;
  }
  .hastag{
    flex-wrap: wrap;
    justify-content: start;
    padding: 3%;
    text-align: center;
  }
  .el_site{
    width: fit-content;
    padding: 1%;
    text-align: center;
  }

}





























