.main-section .wrapper {
  z-index: -1;
}

.main-section .slidebackground {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: #222;
}

.slideshow--3-for-6 {
  position: absolute;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.slideshow--3-for-6 img {
  object-fit: cover;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  color: #222;
  opacity: 0;
  z-index: 0;
  animation: slideshow__fade--3-for-6 18s linear infinite 0s;
  backface-visibility: hidden;
}

.slideshow--3-for-6 img:not(:first-child) {
  position: absolute;
  top: 0px;
  left: 0px;
}

.slideshow--3-for-6 img:nth-child(1) {
  animation-delay: 0s;
}

.slideshow--3-for-6 img:nth-child(2) {
  animation-delay: 6s;
}

.slideshow--3-for-6 img:nth-child(3) {
  animation-delay: 12s;
}

@keyframes slideshow__fade--3-for-6 {
  0% {
    opacity: 0;
    animation-timing-function: ease-in;
  }
  8% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  41% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
