.text-effect{
color: #db5d2b;
font-family: 'Aladin', cursive;
font-size: 100px;
font-weight: 400;
text-align: center;
transition: all .3s ease-in-out;
}
.text-effect span{
display: inline-block;
animation: loading-text 2s infinite ease-in-out;
}
.text-effect span:nth-child(1) { animation-delay: 0.9s; }
.text-effect span:nth-child(2) { animation-delay: 1s; }
.text-effect span:nth-child(3) { animation-delay: 1.1s; }
.text-effect span:nth-child(4) { animation-delay: 1.2s; }
.text-effect span:nth-child(5) { animation-delay: 1.3s; }
.text-effect span:nth-child(6) { animation-delay: 1.4s; }
.text-effect span:nth-child(7) { animation-delay: 1.5s; }
.text-effect span:nth-child(8) { animation-delay: 1.6s; }
.text-effect span:nth-child(9) { animation-delay: 1.7s; }
.text-effect span:nth-child(10) { animation-delay: 1.8s; }
@keyframes loading-text{
0%{
opacity: 1;
transform: translateY(0%);
}
20%{
opacity: 1;
transform: translateY(-30%);
}
40%{
opacity: 0;
transform: translateY(-50%);
}
60%{ opacity: 0; }
80%{ opacity: 0; }
100%{ opacity: 1; }
}
@media only screen and (max-width: 990px){
.text-effect{ font-size: 80px; }
}
@media only screen and (max-width: 767px){
.text-effect{ font-size: 60px; }
}
@media only screen and (max-width: 576px){
.text-effect{ font-size: 35px; }
}