.box_contrainer {
    /* background: red; */
    width: 100%;
    height: calc(100vh - 85px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.img_carrousel, .box_texte {
  width: 400px;
  max-width: 400px;
  min-width: 250px;
  aspect-ratio: 1 / 1; /* Évite que la box ne se rétrécisse en largeur ou hauteur */

}

.box_texte, .box_carrousel {
    /* margin-left: 70px;
    margin-right: 70px; */
    margin: 70px;
}

.box_carrousel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 520px;
}

.img_carrousel {
    width: 100%;
    height: 100%;
}
.arrow_right {
    transform: rotate(180deg);
    margin-right: 20px;
}

.arrow_left {
    margin-left: 20px;
}
.arrow_carrousel {
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.box_texte {
    font-family: 'Montserrat', sans-serif;
    background: #F8F5F3;
    border: 1px solid #C9AF9E;
}

.box_texte p {
    padding: 10px;
}


.container {
  width: 500px;
  height: 500px;
  position: relative;
  overflow: hidden;
}
.container img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  animation: fade 1s;
}
.container .arrow {
  z-index: 10;
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  width: 1.5rem;
  height: 1.5rem;
  font-size: 1.5rem;
  color: currentColor;
  /* opacity: 0.5; */
  transition: opacity 1s;
}
.container .arrow:hover {
  cursor: pointer;
  opacity: 1;
}
.container .arrow-left {
  left: 2%;
}
.container .arrow-right {
  right: 2%;
}

@keyframes fade {
  from {
    opacity: 0.1;
  }
  to {
    opacity: 1;
  }
}



@media screen and (max-width: 900px) {
    .box_contrainer {
        height: unset;
        justify-content: center;
        gap: 70px;
        flex-wrap: wrap; /* Pour la responsive */
    }
}
