 
.wrapper {
  width: 100%;
  height: 500px;
  position: relative;
  perspective: 300px;

}

.sLider {
  position: relative;
  width: 100%;
  height: 500px;
  margin: 0 auto;
  overflow: visible;
  perspective: 300px;
  background: #169b81;

   }

.slide {
  text-align: center;
  color: #fff;
  width: 100%;
  height: 100%;
  font-family: Impact;
  font-size: 96px;
  -webkit-animation-name: slideList;
          animation-name: slideList;
  -webkit-animation-duration: 28s;
          animation-duration: 28s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  transition-timing-function: ease-in-out;
  position: absolute;
  bottom: 0px;
  transform-origin: bottom;
  transform: rotateX(90deg);
  opacity: 0;
    

}

.slide1 {
  background-color: #169b81;
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
  z-index: 7;
  
}
/*
.slide:after {content:"";display:block;width:32px;height:32px;position:absolute;bottom:-32px;background:#fff}
.slide1:after {background-color: #ef7b00;}
.slide2:after {background-color: #169b81;left:32px}
.slide:hover {z-index:999;animation-play-state:stop}
*/
.slide2 {
  background-color: #169b81;
  -webkit-animation-delay: 4s;
          animation-delay: 4s;
  z-index: 7;
}

.slide3 {
  background-color: #169b81;
  -webkit-animation-delay: 8s;
          animation-delay: 8s;
  z-index: 7;
}

.slide4 {
  background-color: #169b81;
  -webkit-animation-delay: 12s;
          animation-delay: 12s;
  z-index: 7;
}

.slide5 {
  background-color: #169b81;
  -webkit-animation-delay: 16s;
          animation-delay: 16s;
  z-index: 7;
}
.slide6 {
  background-color: #169b81;
  -webkit-animation-delay: 20s;
          animation-delay: 20s;
  z-index: 7;
}
.slide7 {
  background-color: #169b81;
  -webkit-animation-delay: 24s;
          animation-delay: 24s;
  z-index: 7;
}

@keyframes slideList {
  0% {
    transform: rotateX(-90deg);
    opacity: 0;
    transform-origin: top;
  }
  3% {
    transform: rotateX(0deg);
    opacity: 1;
    z-index: 6;
  }
  18% {
    transform: rotateX(0deg);
    opacity: 1;
    z-index: 6;
  }
  23% {
    transform: rotateX(90deg);
    opacity: 0;
    transform-origin: bottom;
  }
  100% {
    transform: rotateX(90deg);
    opacity: 0;
    transform-origin: bottom;
  }
}

@-webkit-keyframes slideList {
  0% {
    -webkit-transform: rotateX(-90deg);
    opacity: 0;
    -webkit-transform-origin: top;
  }
  3% {
    -webkit-transform: rotateY(0deg);
    opacity: 1;
    z-index: 6;
  }
  18% {
    -webkit-transform: rotateX(0deg);
    opacity: 1;
    z-index: 6;
  }
  23% {
    -webkit-transform: rotateX(90deg);
    opacity: 0;
    -webkit-transform-origin: bottom;
  }
  100% {
    -webkit-transform: rotateX(90deg);
    opacity: 0;
    -webkit-transform-origin: bottom;
  }
}



/*optional*/

.slideContent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}


/* Mobile */
@media (max-width: 768px) {
  .wrapper {
    height: 350px;
    perspective: 200px;
  }

  .sLider {
    width: 100%;
    max-width: 100%;
    height: 350px;
    overflow: hidden;
  }

  .slide {
    font-size: 42px;
    padding: 0 15px;
  }

  .slideContent {
    width: 90%;
    text-align: center;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .wrapper {
    height: 350px;
  }

  .sLider {
    height: 350px;
  }

  .slide {
    font-size: 28px;
    line-height: 1.2;
  }

  .slideContent {
    width: 95%;
  }
}