* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    background-color: darkred;
}

#bg {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    object-fit: cover;
    z-index: -10;
}

h1 {
    font-family: 'Courier New', Courier, monospace;
    color: yellow;
    font-size: 5rem;
    text-shadow: 2px 2px orange;
    display: inline-block;
    white-space: nowrap;
    animation: text-anim 15s linear infinite;
    width: 100rem;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
}
@keyframes text-anim {
    0% { transform: translateX(200%); }
    100% { transform: translateX(-200%); }
}