.carousel-agromar-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  container-type: inline-size;
}
.carousel-agromar-1 .content-wrapper {
  position: relative;
  width: 100%;
  max-width: 120rem;
  overflow: hidden;
}
.carousel-agromar-1 .content-wrapper .control-panel {
  width: 100%;
  position: absolute;
  z-index: 15;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.carousel-agromar-1 .content-wrapper .control-panel .arrow {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border: none;
  cursor: pointer;
  pointer-events: auto;
}
.carousel-agromar-1 .content-wrapper .control-panel .arrow > img {
  width: 1.5rem;
  height: 1.5rem;
  -o-object-fit: contain;
     object-fit: contain;
}
.carousel-agromar-1 .content-wrapper .control-panel .left {
  transform: rotate(180deg);
}
.carousel-agromar-1 .content-wrapper .carousel-window {
  height: 100dvh;
  max-height: 50rem;
  width: 100%;
  z-index: 1;
}
.carousel-agromar-1 .content-wrapper .carousel-window .carousel {
  position: relative;
  left: 0%;
  display: flex;
  height: 100%;
  transition: 0.5s;
}
.carousel-agromar-1 .content-wrapper .carousel-window .carousel .image-container {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  border: solid 1.5rem rgba(255, 255, 255, 0);
  display: flex;
  justify-content: center;
}
.carousel-agromar-1 .content-wrapper .carousel-window .carousel .image-container .image {
  max-height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 1;
}
.carousel-agromar-1 .content-wrapper .carousel-window .carousel .image-container .gradient {
  width: 100%;
  height: 100%;
  position: absolute;
  background: linear-gradient(180deg, rgba(56, 13, 6, 0) 40%, #380D06 110%);
  z-index: 5;
}
.carousel-agromar-1 .content-wrapper .carousel-window .carousel .image-container .sticker {
  position: absolute;
  z-index: 10;
  left: 4rem;
  top: 4rem;
}
.carousel-agromar-1 .content-wrapper .carousel-window .carousel .image-container .img-text {
  z-index: 15;
  position: absolute;
  bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 70%;
}
.carousel-agromar-1 .content-wrapper .carousel-window .carousel .image-container .img-text > h2 {
  font-size: 4rem;
  line-height: 4.5rem;
  color: #fcf1d9;
  font-weight: 500;
  margin-bottom: 1.5rem;
  text-align: center;
}
.carousel-agromar-1 .content-wrapper .carousel-window .carousel .image-container .img-text > p {
  font-size: 1rem;
  line-height: 1.25rem;
  color: #fcf1d9;
  font-weight: 400;
  margin-bottom: 3rem;
  text-align: center;
}
.carousel-agromar-1 .content-wrapper .carousel-window .carousel .image-container .img-text > a {
  padding: 1.25rem 4rem;
  background-color: #d6350f;
  border: none;
  border-radius: 0.25rem;
  font-size: 1.5rem;
  line-height: 1.5rem;
  font-weight: 400;
  color: #fcf1d9;
  text-align: center;
  cursor: pointer;
}

@container (max-width: 100rem) {
  .carousel-agromar-1 .content-wrapper {
    max-width: unset;
  }
  .carousel-agromar-1 .content-wrapper .control-panel .arrow {
    width: 4rem;
    height: 4rem;
  }
  .carousel-agromar-1 .content-wrapper .control-panel .arrow > img {
    width: 1.5rem;
    height: 1.5rem;
  }
  .carousel-agromar-1 .content-wrapper .carousel-window {
    max-height: 59rem;
  }
  .carousel-agromar-1 .content-wrapper .carousel-window .carousel .image-container {
    border: solid 1.5rem rgba(255, 255, 255, 0);
  }
  .carousel-agromar-1 .content-wrapper .carousel-window .carousel .image-container .sticker {
    display: none;
  }
  .carousel-agromar-1 .content-wrapper .carousel-window .carousel .image-container .img-text {
    bottom: 6rem;
    max-width: 80%;
  }
  .carousel-agromar-1 .content-wrapper .carousel-window .carousel .image-container .img-text > h2 {
    font-size: 4rem;
    line-height: 4.5rem;
    margin-bottom: 1.5rem;
  }
  .carousel-agromar-1 .content-wrapper .carousel-window .carousel .image-container .img-text > p {
    font-size: 1.25rem;
    line-height: 1.5rem;
    font-weight: 500;
    margin-bottom: 4rem;
  }
  .carousel-agromar-1 .content-wrapper .carousel-window .carousel .image-container .img-text > a {
    padding: 1.25rem 4rem;
    font-size: 1.5rem;
    line-height: 1.5rem;
  }
}
@container (max-width: 45rem) {
  .carousel-agromar-1 .content-wrapper .control-panel .arrow {
    width: 2.25rem;
    height: 2.25rem;
  }
  .carousel-agromar-1 .content-wrapper .control-panel .arrow > img {
    width: 1rem;
    height: 1rem;
  }
  .carousel-agromar-1 .content-wrapper .carousel-window {
    max-height: 40rem;
  }
  .carousel-agromar-1 .content-wrapper .carousel-window .carousel .image-container {
    border: solid 1.25rem rgba(255, 255, 255, 0);
  }
  .carousel-agromar-1 .content-wrapper .carousel-window .carousel .image-container .img-text {
    bottom: 3rem;
    max-width: 90%;
  }
  .carousel-agromar-1 .content-wrapper .carousel-window .carousel .image-container .img-text > h2 {
    font-size: 3rem;
    line-height: 3rem;
    margin-bottom: 2rem;
  }
  .carousel-agromar-1 .content-wrapper .carousel-window .carousel .image-container .img-text > p {
    font-size: 1rem;
    line-height: 1.25rem;
    font-weight: 400;
    margin-bottom: 2.25rem;
  }
  .carousel-agromar-1 .content-wrapper .carousel-window .carousel .image-container .img-text > a {
    padding: 1rem 4rem;
    font-size: 1rem;
    line-height: 1rem;
  }
}
