.carousel {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-arrow {
  z-index: 999;
  position: absolute;
  display: flex;
  justify-content: center;
  top: 0;
  bottom: 0;
  margin-block: auto;
  height: fit-content;
  width: 48px;
  border: none;
  font-size: 3rem;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 100ms;
}

.carousel-arrow:hover,
.carousel-arrow:focus {
  opacity: 1;
}

.carousel-arrow--prev {
  left: 0;
}

.carousel-arrow--next {
  right: 0;
}

.carousel-container {
  width: 100%;
  height: 260px;
  overflow: hidden;
  overflow-x: auto;
  display: flex;
  width: 100%;
  gap: 8px;
  align-items: center;
  scroll-snap-type: x mandatory;
  flex-flow: row nowrap;
  scroll-behavior: smooth;
}

.carousel-container::-webkit-scrollbar {
  height: 3px;
}

.carousel-container::-webkit-scrollbar-track {
  width: 100px;
}

.carousel-container::-webkit-scrollbar-thumb {
  background-color: black;
  border-radius: 10px;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  flex-flow: column nowrap;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  scroll-snap-align: center;
}

@media (max-width: 600px) {
  .carousel-slide {
    flex: 1 0 100%;
  }
}

.lazy-load {
  filter: blur(6px);
  transition: filter 2s ease-in-out;
}
.lazy-loaded {
  filter: blur(0px);
}
