.cb-slideshow,.cb-slideshow:after {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 16px;
  left: 0;
  z-index: 0;
}

.cb-slideshow:after {
  content: '';
  background: url(../images/pattern.png) top left repeat transparent;
}

.cb-slideshow li span {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  color: transparent;
  background-size: cover;
  background-position: 50% 50%;
  opacity: 0;
  z-index: 0;
  animation: imageAnimation 36s 0s linear infinite;
}

.cb-slideshow li div {
  z-index: 1000;
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  text-align: center;
  opacity: 0;
  color: #fff;
  animation: titleAnimation 36s 0s linear infinite;
}

.cb-slideshow li div h3 {
  font-family: "Bebas Neue Regular", "Arial Narrow", Arial, sans-serif;
  font-size: 120px;
  padding: 0;
  line-height: 120px;
}

 .cb-slideshow li:nth-child(1) span {
  background-image: url(../images/760.jpg);
  -webkit-animation-delay: 1s;
  -moz-animation-delay: 1s;
  -o-animation-delay: 1s;
  -ms-animation-delay: 1s;
  animation-delay: 61;
}

.cb-slideshow li:nth-child(2) span {
  background-image: url(../images/782.jpg);
  -webkit-animation-delay: 6s;
  -moz-animation-delay: 6s;
  -o-animation-delay: 6s;
  -ms-animation-delay: 6s;
  animation-delay: 6s;
}

.cb-slideshow li:nth-child(3) span {
  background-image: url(../images/757.jpg);
  -webkit-animation-delay: 12s;
  -moz-animation-delay: 12s;
  -o-animation-delay: 12s;
  -ms-animation-delay: 12s;
  animation-delay: 12s;
}

.cb-slideshow li:nth-child(4) span {
  background-image: url(../images/761.jpg);
  -webkit-animation-delay: 18s;
  -moz-animation-delay: 18s;
  -o-animation-delay: 18s;
  -ms-animation-delay: 18s;
  animation-delay: 18s;
}

.cb-slideshow li:nth-child(5) span {
  background-image: url(../images/350.jpg);
  -webkit-animation-delay: 24s;
  -moz-animation-delay: 24s;
  -o-animation-delay: 24s;
  -ms-animation-delay: 24s;
  animation-delay: 24s;
}

.cb-slideshow li:nth-child(6) span {
  background-image: url(../images/451.jpg);
  -webkit-animation-delay: 30s;
  -moz-animation-delay: 30s;
  -o-animation-delay: 30s;
  -ms-animation-delay: 30s;
  animation-delay: 30s;
}

.cb-slideshow li:nth-child(7) span {
  background-image: url(../images/423.jpg);
  -webkit-animation-delay: 36s;
  -moz-animation-delay: 36s;
  -o-animation-delay: 36s;
  -ms-animation-delay: 36s;
  animation-delay: 36s;
}

.cb-slideshow li:nth-child(8) span {
  background-image: url(../images/716.jpg);
  -webkit-animation-delay: 42s;
  -moz-animation-delay: 42s;
  -o-animation-delay: 42s;
  -ms-animation-delay: 42s;
  animation-delay: 42s;
}

.cb-slideshow li:nth-child(1) div {
  animation-delay: 1s;
}

.cb-slideshow li:nth-child(2) div {
  animation-delay: 6s;
}

.cb-slideshow li:nth-child(3) div {
  animation-delay: 12s;
}

.cb-slideshow li:nth-child(4) div {
  animation-delay: 18s;
}

.cb-slideshow li:nth-child(5) div {
  animation-delay: 24s;
}

.cb-slideshow li:nth-child(6) div {
  animation-delay: 30s;
}
.cb-slideshow li:nth-child(7) div {
  animation-delay: 36s;
}
.cb-slideshow li:nth-child(8) div {
  animation-delay: 42s;
}

@keyframes imageAnimation {
  0% {
    opacity: 0;
    animation-timing-function: ease-in;
  }

  8% {
    opacity: 1;
    animation-timing-function: ease-out;
  }

  17% {
    opacity: 1;
  }

  25% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes titleAnimation {
  0% {
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  17% {
    opacity: 1;
  }

  19% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@media screen and (max-width:1140px) {
  .cb-slideshow li div h3 {
    font-size: 140px;
  }
}

@media screen and (max-width:600px) {
  .cb-slideshow li div h3 {
    font-size: 80px;
  }
}