.typing {
    /* Deixa o texto em linha com largura controlada */
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid rgb(72, 255, 0); /* cursor */
    width: 0; /* começa com largura 0 */
    animation: typing 2.5s steps(14, end) forwards, blink-caret 0.75s step-end infinite;
}

/* Digita letra a letra (14 caracteres no total, contando o espaço) */
@keyframes typing {
    from { width: 0 }
    to { width: 15ch } /* 14 caracteres */
}

/* Piscar o cursor */
@keyframes blink-caret {
    0%, 100% { border-color: transparent }
    50% { border-color: black }
}