* {
  padding: 0;

  margin: 0
}

body {
  background-color: #000000;
overflow:hidden;
}

.crossfade > figure {

  animation: imageAnimation 30s linear infinite 0s;
  backface-visibility: hidden;
  background-size: cover;
  background-position: center center;
  color: transparent;
  height: 100%;
  left: 0px;
  opacity: 0;
  position: absolute;
  top: 0px;
  width: 100%;

  z-index: 0;
}

.crossfade > figure:nth-child(1) {
  background-image: url('../images/1.jpg');
}
.crossfade > figure:nth-child(2) {
  animation-delay: 6s;
  background-image: url('../images/2.jpg');
}
.crossfade > figure:nth-child(3) {
  animation-delay: 12s;
  background-image: url('../images/3.jpg');
}
.crossfade > figure:nth-child(4) {
  animation-delay: 18s;
  background-image: url('../images/4.jpg');
}
.crossfade > figure:nth-child(5) {
  animation-delay: 24s;
  background-image: url('../images/5.jpg');
}
.crossfade > figure:nth-child(6) {
  animation-delay: 30s;
  background-image: url('../images/6.jpg');
}
.crossfade > figure:nth-child(7) {
  animation-delay: 36s;
  background-image: url('../images/7.jpg');
}
.crossfade > figure:nth-child(8) {
  animation-delay: 42s;
  background-image: url('../images/8.jpg');
}
.crossfade > figure:nth-child(9) {
  animation-delay: 48s;
  background-image: url('../images/9.jpg');
}
.crossfade > figure:nth-child(10) {
  animation-delay: 54s;
  background-image: url('../images/10.jpg');
}
.crossfade > figure:nth-child(11) {
  animation-delay: 60s;
  background-image: url('../images/11.jpg');
}
.crossfade > figure:nth-child(12) {
  animation-delay: 66s;
  background-image: url('../images/12.jpg');
}
.crossfade > figure:nth-child(13) {
  animation-delay: 72s;
  background-image: url('../images/13.jpg');
}
.crossfade > figure:nth-child(14) {
  animation-delay: 78s;
  background-image: url('../images/14.jpg');
}

.crossfade > figure:nth-child(15) {
  animation-delay: 84s;
  background-image: url('../images/15.jpg');
}

.crossfade > figure:nth-child(16) {
  animation-delay: 90s;
  background-image: url('../images/16.jpg');
}

.crossfade > figure:nth-child(17) {
  animation-delay: 96s;
  background-image: url('../images/17.jpg');
}

.crossfade > figure:nth-child(18) {
  animation-delay: 102s;
  background-image: url('../images/18.jpg');
}

.crossfade > figure:nth-child(19) {
  animation-delay: 108s;
  background-image: url('../images/19.jpg');
}

.crossfade > figure:nth-child(20) {
  animation-delay: 114s;
  background-image: url('../images/20.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
  }
}
