@import 'https://fonts.googleapis.com/css?family=Baloo+Paaji';

//html, body {
//  height: 100%;
//}

//body {
//  font-family: 'Baloo Paaji', cursive;
//}

.containera {
  width: 300%;
  height: 10px;
  position: relative;
}

.containera>div {
  font-size: 50px;
  //text-transform: uppercase;
  color: black;
  opacity: 0;
  height: 0px;
  }

.containera>div:nth-child(1){
  animation: animation 12s infinite;
  //animation-name
  //animation-duration
  //animation-delay
  //animation-iteration-count
  //animation-direction
  //animation-timing-function
  //animation-fill-mode
  //animation

  
}
.containera>div:nth-child(2){
  animation: animation 12s infinite;
  animation-delay: 4s;

    
}
.containera>div:nth-child(3){
  animation: animation 12s infinite;
    animation-delay: 8s;
    //animation-duration: 8s;
}

@keyframes animation {
    0% {opacity: 0; height: auto;}
    16% {opacity: 1;}
    33% {opacity: 0; height: 0px;}
    100% {opacity: 0; height: 0px;}
}