.slideshow {
  height: 100vh;
  position: relative;
}

.slideshow .wrapper {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slideshow .wrapper .picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  opacity: 0;
  transition: 0s;
  animation: fadeSlideshow var(--duration) linear infinite;
  animation-delay: calc(var(--i) * (var(--duration) / var(--total)));
}

@keyframes fadeSlideshow {
  0% {
    opacity: 0;
  }
  0.5% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.slideshow .wrapper .picture.active {
  opacity: 1;
}

.slideshow .wrapper .picture picture {
  width: 100%;
  height: 100%;
}

.slideshow .wrapper .picture picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slideshow .scroll-down {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  flex-direction: column;
  left: 0;
  right: 0;
}

.slideshow .scroll-down > span {
  text-transform: uppercase;
  font-weight: 800;
  font-size: 14px;
  color: var(--blue);
}

.slideshow .scroll-down .arrow {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.slideshow .scroll-down .arrow span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  animation: arrow-bounce 5s infinite;
  margin: 2px 0;
}

.slideshow .scroll-down .arrow span:nth-child(1) {
  animation-delay: 0s;
}

.slideshow .scroll-down .arrow span:nth-child(2) {
  animation-delay: 0.5s;
}

.slideshow .scroll-down .arrow span:nth-child(3) {
  animation-delay: 1s;
}

@keyframes arrow-bounce {
  0%,
100% {
    transform: rotate(45deg) scale(1);
  }
  50% {
    transform: rotate(45deg) scale(2);
  }
}
