canvas {
    position: fixed;
    /* stay in place even when scrolling */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    /* behind all other content */
    display: block;
    /* remove default inline space */
}

html {
    background-color: rgb(15, 15, 15);
}

body {
    background-color: transparent;
    margin: 0;
    padding: 0;

    color: #eee;
    font-family: Helvetica;
    scroll-behavior: smooth;
    font-size: 16px;
    font-weight: lighter;
}

.block {
    padding-left: 10vw;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    max-width: 700px;
    margin: 1px auto;
    padding: 5px;
    min-height: 3rem;
}

.block:first-of-type {
    background-color: transparent;
    padding-top: 40vh;
    font-size: 30px;
    font-weight: bold;
    font-family: 'Press Start 2P', Helvetica;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    text-shadow: 2px 2px 0px rgba(0, 255, 153, 0.3);
}

.block.visible {
    background-color: transparent;
    opacity: 1;
    transform: translateY(0);
}

.line {
    white-space: pre-wrap;
    display: block;
}

.blinking-cursor {
    display: inline-block;
    animation: blink 0.6s step-start infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

#cta {
    all: unset;
    font-family: 'Press Start 2P', Helvetica;
    font-size: 20px;
    color: #00ff99;
    background-color: transparent;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 0 0px transparent;
    opacity: 1;
    transition: all 0.4s ease;
}

#cta.visible {
    opacity: 1;
    transform: translateY(0);
}

#cta:hover {
    background-color: #00ff99;
    color: black;
    /* Remove glow, keep clean look */
    box-shadow: none;
}

#cta:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 255, 153, 0.5);
}

.button_block {
    /* padding-left: 10vw; */
    transform: translateY(10px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    max-width: 700px;
    margin: auto;
    /* padding: 3px 3vw; */
    min-height: 3rem;
}

.block.sub-description {
    margin-bottom: -2rem;
    /* Reduce space after sub-description */
}