@charset "UTF-8";

/* CAROUSELANIMATION STYLE */
.infinity-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.infinity-carousel .carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
}

/* BILD START DESIGN */
.infinity-carousel img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  filter: blur(10px);
  transform: translateX(90%) scale(0.8);

  transition:
    opacity 0.9s ease,
    filter 0.9s ease,
    transform 0.9s ease;
}

/* BILD AKTIV ANIMATION */
.infinity-carousel img.active {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0%) scale(1);
}

/* BILD RAUS ANIMATION */
.infinity-carousel img.prev {
  opacity: 0;
  filter: blur(5px);
  transform: translateX(-90%) scale(0.8);
}

/* INDIKATOREN DESIGN */
.infinity-carousel .carousel-indicators {
  position: relative;
  margin-top: 5px;
  width: 100%;
  padding: 0px 5px 0px 5px;
  display: flex;
  justify-content: center;
  gap: 5px;
}

/* INDIKATOREN INAKTIV */
.infinity-carousel .carousel-indicators div {
  width: 100%;
  height: 10px;
  background: #d4a017;
  opacity: 0.2;
  cursor: pointer;
  transition: opacity 0.3s;
}

/* INDIKATOREN AKTIV */
.infinity-carousel .carousel-indicators .active {
  opacity: 1;
}

/* DESKTOP VIEW */
@media (min-width: 64rem) {

.infinity-carousel img {
  border-radius: 10px;
}

}