* {
  padding: 0;
  margin: 0;
}

body {
  // background-color: #d7cfcc;
  background-image: url('_webbody/achtergrond-picture-0.jpg');  
}

.crossfade > figure {
  animation: imageAnimation 15s linear infinite 0s;
  backface-visibility: hidden;
  background-size: cover;
  background-position: center center;
  color: transparent;
  height: 100%;
  left: 0px;
  top: 0px;
  opacity: 0;
  position: fixed;
  width: 100%;
  z-index: 0;
}

@media only screen and (orientation: portrait) {

.crossfade > figure {
  animation: imageAnimation 15s linear infinite 0s;
  backface-visibility: hidden;
  background-size: cover;
  background-position: center center;
  color: transparent;
  height: 100%;
  left: -50%;
  top: 0px;
  opacity: 0;
  position: fixed;
  width: 178%;
  z-index: 0;
}

}

.crossfade > figure:nth-child(1) {
  background-image: url('_webbody/achtergrond-picture-1.jpg');
}
.crossfade > figure:nth-child(2) {
  animation-delay: 3s;
  background-image: url('_webbody/achtergrond-picture-2.jpg');
}
.crossfade > figure:nth-child(3) {
  animation-delay: 6s;
  background-image: url('_webbody/achtergrond-picture-3.jpg');
}
.crossfade > figure:nth-child(4) {
  animation-delay: 9s;
  background-image: url('_webbody/achtergrond-picture-4.jpg');
}
.crossfade > figure:nth-child(5) {
  animation-delay: 12s;
  background-image: url('_webbody/achtergrond-picture-5.jpg');
}

@keyframes imageAnimation {
  0% {
    animation-timing-function: ease-in;
    opacity: 0;
  }
  8% {
    animation-timing-function: ease-out;
    opacity: 1;
  }
  17% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.text-on-slider{
   position: relative;
   // height: 100%;
   // margin-top: 0px; 
   // display: flex; 
   // flex-direction: column; 
   // justify-content: center; 
   // align-items: left; 
   // z-index: 2; 
   // top: 0px; 
   pointer-events: auto; 
   width: 100%;
}