.carousel-container {
  position: relative;
  background: url("../images/carousel/carousel-bg.svg") center / cover no-repeat;
  background-size: auto 100%;
  color: #fff;
  padding: 25% 5%;
  text-align: center;
  overflow: hidden;
}

.carousel-container h1 {
  margin-bottom: 2rem;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding-bottom: 1rem;
}
.carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
}

.carousel li {
  flex: 0 0 auto;
  scroll-snap-align: start;
  list-style: none;
  border-radius: 5px;
  overflow: hidden;
}

.carousel li img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  display: block;
}

ul,
li {
  background-color: transparent;
}

@media (min-width: 750px) {
  .carousel li img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
  }
}
