.welcome-text h1 {
    font-size: 42px;
    color: #c6adff;
    text-align: center;
    font-family: Lato, sans-serif;
    font-weight: 700;
}

@keyframes typing {
    /* "ARTIST" */
    0.0000%, 20.9302% { content: ""; }
    1.1395%, 19.7907% { content: "A"; }
    2.2791%, 18.6512% { content: "AR"; }
    3.4186%, 17.5116% { content: "ART"; }
    4.5581%, 16.3721% { content: "ARTI"; }
    5.6977%, 15.2326% { content: "ARTIS"; }
    6.8372%, 14.0930% { content: "ARTIST"; }

    /* "ENGINEER" */
    21.0698%, 47.2558% { content: ""; }
    22.2093%, 46.1163% { content: "E"; }
    23.3488%, 44.9767% { content: "EN"; }
    24.4884%, 43.8372% { content: "ENG"; }
    25.6279%, 42.6977% { content: "ENGI"; }
    26.7674%, 41.5581% { content: "ENGIN"; }
    27.9070%, 40.4186% { content: "ENGINE"; }
    29.0465%, 39.2791% { content: "ENGINEE"; }
    30.1860%, 38.1395% { content: "ENGINEER"; }

    /* "IMAGINEER" */
    47.3953%, 74.5349% { content: ""; }
    48.5349%, 73.3953% { content: "I"; }
    49.6744%, 72.2558% { content: "IM"; }
    50.8140%, 71.1163% { content: "IMA"; }
    51.9535%, 69.9767% { content: "IMAG"; }
    53.0930%, 68.8372% { content: "IMAGI"; }
    54.2326%, 67.6977% { content: "IMAGIN"; }
    55.3721%, 66.5581% { content: "IMAGINE"; }
    56.5116%, 65.4186% { content: "IMAGINEE"; }
    57.6512%, 64.2791% { content: "IMAGINEER"; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.typewriter {
    --caret: currentcolor;
}

.typewriter::before {
    content: "";
    animation: typing 13.5s infinite;
}

.typewriter::after {
    content: "";
    border-right: 1ch solid var(--caret);
    animation: blink 0.5s linear infinite;
}

@media (prefers-reduced-motion) {
    .typewriter::after {
        animation: none;
    }

    @keyframes sequencePopup {
        0%, 100% { content: "artist"; }
        33% { content: "engineer"; }
        66% { content: "imagineer"; }
    }

    .typewriter::before {
        content: "artist";
        animation: sequencePopup 12s linear infinite;
    }
}