@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=VT323&display=swap');

:root {
    --dark: black;
    --light: white;
    --accent: hsl(196, 100%, 36%);
}

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

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    color: var(--light);
    background-color: var(--accent);
}

pre {
    font-family: "VT323", monospace;

    font-size: 4vh;
    line-height: 1;
    white-space: pre;
    user-select: none;

    animation: scroll 10s linear infinite;
}

h2 {
    font-family: "IBM Plex Sans", sans-serif;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    color: var(--light);
    font-size: 25vmin;
    text-align: center;
}

#dvd {
    position: absolute;
    width: 25vmin;
    top: 0;
    filter: drop-shadow(0 0 0.5vmin white);

    animation: bounce-vertical 4.5s linear infinite alternate, bounce-horizontal 6.5s linear infinite alternate;
}

@keyframes scroll {
    from { transform: translateY(-48%); }
    to { transform: translateY(0); }
}

@keyframes bounce-vertical {
    0% { top: 0 }
    100% { top: calc(100vh - 11vmin) }
}

@keyframes bounce-horizontal {
    0% { left: 0 }
    100% { left: calc(100vw - 25vmin) }
}