:root {
    --scan: rgba(0, 0, 0, 0.24);
}

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

html,
body {
    height: 100%;
    background: #050101;
    color: #bfefff;
    font-family: "Courier New", monospace;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#wrap {
    position: relative;
    image-rendering: pixelated;
}

canvas {
    display: block;
    width: min(96vw, 173.33vh, 1280px);
    height: auto;
    aspect-ratio: 16 / 9;
    background: #0b0304;
    border: 3px solid #3b0f10;
    box-shadow:
        0 0 0 3px #120304,
        0 0 34px rgba(115, 30, 34, 0.65);
    image-rendering: pixelated;
}

#wrap::after {
    content: "";
    position: absolute;
    inset: 3px;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0,
        rgba(0, 0, 0, 0) 2px,
        var(--scan) 3px,
        var(--scan) 4px
    );
    mix-blend-mode: multiply;
}
