#carousel {
  position: relative;
  padding-block: 2rem !important;
}

.carousel-sketch-1 {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.75;
  z-index: -10;
}

@media (max-width: 992px) {
  .carousel-sketch-1 {
    transform: translate(-10rem, 55rem);
  }
}

@media (min-width: 1556px) {
  .carousel-sketch-1 {
    transform: translate(0, -10rem);
  }
}

@media (min-width: 1798px) {
  .carousel-sketch-1 {
    transform: translate(0, -15rem);
  }
}

@media (min-width: 1941px) {
  .carousel-sketch-1 {
    transform: translate(0, -20rem);
  }
}

@media (min-width: 2028px) {
  .carousel-sketch-1 {
    transform: translate(0, -25rem);
  }
}

@media (min-width: 2359px) {
  .carousel-sketch-1 {
    transform: translate(0, -40rem);
  }
}

.index-carousel-container {
  display: flex;
  margin-inline: auto;
  border-radius: 2rem;
  box-shadow: 0px 0px 15px rgb(0, 0, 0, 0.25);
}

.index-carousel-item {
  position: relative;
  width: 100%;
  cursor: pointer;
}

.index-carousel-container > .index-carousel-wrapper img {
  width: 100%;
  height: 30rem;
  object-fit: cover;
  border-radius: 2rem;
}

.index-carousel-container > .index-carousel-wrapper img {
  aspect-ratio: 16 / 9;
}

.index-carousel-desc,
.index-carousel-hero {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  max-width: 80%;
  color: var(--white);
}

.index-carousel-hero h1,
.index-carousel-hero h2 {
  margin-block: 0;
  font-size: 6rem;
  text-shadow: 5px 5px 5px rgb(0, 0, 0, 0.5);
}

.index-carousel-hero h2 {
  font-size: 3rem;
}

.index-carousel-desc span {
  font-size: 1rem;
  font-weight: 500;
}

.index-carousel-desc p {
  font-size: 1.25rem;
  font-weight: 600;
}

.index-carousel-desc h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

.index-carousel-cta {
  display: flex;
  margin-top: 1rem;
  gap: 1rem;
}

.index-carousel-cta a {
  padding: 1rem 2rem;
  background-color: var(--sales);
  color: var(--white);
  font-family: "DynaPuff", system-ui;
  font-size: 1.125rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-radius: 1rem;
}

.index-carousel-cta a:last-child {
  background-color: #25d366;
}

@media (max-width: 992px) {
  .index-carousel-container > .index-carousel-wrapper img {
    height: auto;
    aspect-ratio: 9 / 16;
  }

  .index-carousel-hero h1,
  .index-carousel-hero h2 {
    margin-block: 0;
    font-size: 3rem;
  }

  .index-carousel-hero h2 {
    font-size: 1.5rem;
  }

  .index-carousel-desc h2 {
    font-size: 1.25rem;
  }

  .index-carousel-desc span {
    font-size: 0.875rem;
  }

  .index-carousel-cta {
    flex-direction: column;
    text-align: center;
  }
}
