h1.title,
h2.title {
overflow: hidden;
display: inline-block;
white-space: nowrap;
}
.typewriter-cursor {
display: inline-block;
border-right: 2px solid currentColor;
animation: typewriter-caret 0.75s steps(1) infinite;
}
@keyframes typewriter-caret {
0% {
border-color: currentColor;
}
50% {
border-color: transparent;
}
100% {
border-color: currentColor;
}
}