@font-face {
    font-family: 'TerminalMonospace';
    src: url("/fonts/my-font.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

html, body {
    margin: 0;
    min-height: 100%;
}

body {
    background: #040404;
    color: #00ff00;
}

main {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

p {
    font-family: 'TerminalMonospace', monospace;
    font-size: 22px;
    width: 38ch;
}

span {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    border-right: 0.6em solid currentColor;
    animation:
    typing 3s steps(38, end) forwards,
    blink 0.8s step-end 3s infinite;
}

@keyframes typing { to { width: 38ch; } }
@keyframes blink { 50% { border-color: transparent; } }
