.animation2 {
margin-top: 10px;
height: 100px;
width: 100%;
border: 1px solid #FB0055;
overflow: hidden;
font-size: 24pt;
text-align: center;
width: 100%;
}
.text-animation {
margin-top: 35px;
height: auto;
animation-name: text-animation;
animation-duration: 1s;
animation-iteration-count: 1;
}
@keyframes text-animation {
from {
opacity: 0;
transform: translateY(50px);
}
to {
opacity: 1;
transform: translateY(0px);
}
}