

#first_section{
  position: relative;
  width: 100%;
  border: 1px solid transparent;
  margin-top: 50px;
}

/*  */
#top_image{
  width: 35%;
  height:80vh;
  position: absolute;
  top:-10%;
  right: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
#int_top_image{
  width: 100%;
  height:100%;
  background-image: url('/static/images/bout/a2.png');
  background-position: center;
  background-size: cover;
  position: relative;
  z-index: 10;
}


#container_titre_item{
  text-align: center;
  width: 50%;
  margin-left: 25%;
}

#container_news_item{
  position: relative;
  z-index: 11;
  width: 80%;
  background-color: #a0aa86;
  display: flex;
  height: 78vh;
  min-height: 400px;
  margin-left: 10%;
  gap:5%;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.new_items{
  height: 80%;
  width: 27%;
  background-color: #e9e2d6;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.582);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap:15px;
  padding: 15px;
}


/* */
.item_top{
  overflow: hidden;
  position: relative;
  width: 100%;
  text-align: center;
  width: 95%;
  height: fit-content;
  padding-bottom: 2px;
}
.first_div{
  position: relative;
  transition: transform 0.3s ease;
}
.under_div{
  position: absolute;
  transition: transform 0.5s ease;
  transform: translateY(50%);
  width: 100%;
  text-align: center;
}
.item_picture{
  position: relative;
  background-color: #e2d8c5;
  width: 85%;
  height:60%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.bottom_item{
  height:20%;
  width: 95%;
  text-align: center;
}









/* */
#btn_accroche{
  margin: auto;
  margin-top: 20px;
}
#acrroche_bottom{
  text-align: center;
  margin-top: 50px;
}









.carousel-wrapper {
    position: relative;
    width:100%;
    overflow: hidden;
    height:auto;
}

.carousel-track {
    overflow: hidden;
    width: 100%;
}


















/* */







@media (max-width:1280px) and (max-height: 1024px) {
  #container_news_item{
    height:64vh;
  }
}
@media (max-width:1280px) and (max-height: 800px) {
  #container_news_item{
    height:72vh;
    width: 70%;
    margin-left: 15%;
  }
}
@media (max-width:1280px) and (max-height: 720px) {
  #container_news_item{
    height:75vh;
  }
}
@media (max-width: 1152px) {
  #container_news_item{
    width: 80%;
    margin-left: 10%;
  }
}


@media (max-width: 950px) {
  #container_image{
    padding: 10px;
    width: 90%;
    margin-left: 5%;
  }
  #container_news_item{
    width: 90%;
    margin-left: 5%;
    gap:2.5%;
  }
  #container_titre_item{
    width: 70%;
    margin-left: 15%;
  }
  .new_items{
    width: 28%;
  }
}

@media (max-width: 800px) {
  .bottom_grid{
    font-size: 12px!important;
    width: 100%;
  }
  #container_news_item{
    display: none;
  }
}
@media (max-width: 500px) {
  #container_titre_item{
    width: 80%;
    margin-left: 10%;
  }
  #container_news_item{
    background-color: none;
  }
  #int_top_image{
    opacity: 0.3;
  }
  #top_image{
    width: 100%;
    right:-40%;
  }
  #acrroche_bottom{
    width: 90%;
    margin-left: 5%;
  }
}




