



/* */

#descrp{
 display: inline;
 
}
span{
  margin: 0;
  padding: 0;
}




#container_acrroche_titre_blog{
  width: 100%;
  padding-top: 10%;
  position: relative;
  z-index: 2;
  height: 100%;
}
#container_titre_blog{
  width: 90%;
  margin-left: 5%;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 10%;
  row-gap: 5%;
  width: 90%;
  margin-left: 5%;
  height: 100%;
  place-items: center;
}

.box{
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
  z-index: 0;
  height:60vh;
  min-height: 400px;
  width: 90%;

}
.in_box{
  width: 100%;
  height:100%;
  background-color: #e6e7e05f;
  border-radius: 20px;
  min-height: 400px;
  padding: 5%;
  position: relative;
  transition: box-shadow 1s ease;
}
.img_container{
  height: 50%;
  width: 40%;
  position: absolute;
  bottom: 5%;
  right: 5%;
}
.img_in{
  width: 100%;
  height:100%;
  object-fit: cover;
  transition: transform 1s ease;
  border-radius: 20px;
  position: relative;
  z-index: 5;
}
.opa_text{
  opacity: 0;
  transition: opacity 1s ease;
}
.box:hover .img_in{
  transform: translate(25%, 25%) scale(0.9);
}
.box:hover .opa_text{
  opacity: 1;
}

.box:hover .in_box{
  box-shadow:
  0 10px 30px rgba(0,0,0,.15),
  0 30px 80px rgba(0, 0, 0, 0.114);
}

@media (max-height: 1366px){
  .in_box{
    height:80vh;
  }
}
@media (max-width: 1280px) and (max-height:1024px){
  .in_box{
    height:50vh;
  }
  .img_container{
    width: 50%;
  }
}
@media (max-width: 1280px) and (max-height:800px){
  .in_box{
    height:70vh;
  }
}

@media (max-height: 1152px){
  .in_box{
    height:60vh;
  }
}



@media (max-width: 900px){
  .img_container{
    height: 40%;
  }
}
@media (max-width: 800px){
  .grid {
      display: flex;
      flex-direction: column;
      gap:20px;
  }
  .box{
    height: 40vh;
    min-height: 300px;
  }
  .in_box{
    height:100%;
    min-height: auto;
  }
  #container_acrroche_titre_blog{
    padding-top: 20%;
  }
  .img_container{
    display: none;
  }
  .opa_text{
    opacity: 1;
  }
}
  @media (max-width: 500px){
  #descrp, #text_slide{
    font-size: 18px!important;
  }
}

@media (max-width: 500px){
  #acrroche{
    margin-top: 80vh!important;
  }
}
