.demo{ background: linear-gradient(135deg, #01373f 0%,#00252d 100%); }
.text-effect{
color: transparent;
font-family:'Paytone One', sans-serif;
font-size: 80px;
font-weight: 400;
letter-spacing: 2px;
text-align: center;
text-shadow: 0 0 10px orange;
animation: focus 2s linear alternate infinite;
}
@keyframes focus{
0%{
letter-spacing: 2px;
text-shadow: 0 0 30px #547C77, 0 20px 50px #16211f;
}
50%{
font-size: 100px;
letter-spacing: 2px;
text-shadow: 0 0 0 #547C77;
}
75%{
font-size: 100px;
letter-spacing: 2px;
text-shadow: 0 0 0 #547C77;
}
100%{
font-size: 100px;
letter-spacing: 2px;
text-shadow: 0 0 0 #547C77;
}
}
@keyframes focus_1{
0%{
letter-spacing: 2px;
text-shadow: 0 0 30px #547C77, 0 20px 50px #16211f;
}
50%{
font-size: 45px;
letter-spacing: 2px;
text-shadow: 0 0 0 #547C77;
}
75%{
font-size: 45px;
letter-spacing: 2px;
text-shadow: 0 0 0 #547C77;
}
100%{
font-size: 45px;
letter-spacing: 2px;
text-shadow: 0 0 0 #547C77;
}
}
@media only screen and (max-width: 990px){
.text-effect{ font-size: 70px; }
}
@media only screen and (max-width: 767px){
.text-effect{
font-size: 60px;
animation: focus_1 2s linear alternate infinite;
}
}
@media only screen and (max-width: 576px){
.text-effect{ font-size: 35px; }
}