.text-effect{
color:#fff;
font-family: 'Kadwa', serif;
font-size: 100px;
font-weight: 700;
text-align: center;
}
.text-effect span{
text-shadow: 0px 2px 10px rgba(46, 74, 81, 0.3);
display: inline-block;
opacity: 0;
transform: translatex(0);
animation: moveLetters 2.4s infinite ease-in-out;
}
.text-effect span:nth-child(1){ animation-delay: 0.1s; }
.text-effect span:nth-child(2){ animation-delay: 0.2s; }
.text-effect span:nth-child(3){ animation-delay: 0.3s; }
.text-effect span:nth-child(4){ animation-delay: 0.4s; }
.text-effect span:nth-child(5){ animation-delay: 0.5s; }
.text-effect span:nth-child(6){ animation-delay: 0.6s; }
.text-effect span:nth-child(7){ animation-delay: 0.7s; }
.text-effect span:nth-child(8){ animation-delay: 0.8s; }
.text-effect span:nth-child(9){ animation-delay: 0.9s; }
.text-effect span:nth-child(10){ animation-delay: 1s; }
@keyframes moveLetters{
0%{
opacity: 0;
transform: translateX(-15vw);
}
33.3%, 66%{
opacity: 1;
transform: translateX(0);
}
100%{
opacity: 0;
transform: translateX(15vw);
}
}
@media only screen and (max-width: 990px){
.text-effect{ font-size: 70px; }
}
@media only screen and (max-width: 767px){
.text-effect{ font-size: 60px; }
}
@media only screen and (max-width: 576px){
.text-effect{ font-size: 40px; }
}