:root {
    filter: blur(0.4px) sepia(0.15) contrast(0.85) brightness(1.025) contrast(1.15);
}

body:before, body:after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999999999;
    pointer-events: none;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

body:before {
    height: 100vh;

    box-shadow: inset 0 0 20vmin rgba(0, 0, 0, 0.4), inset 0 0 4vmin rgba(0, 0, 0, 0.2);
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.01) 50%, rgba(255, 255, 255, 0.02) 50%);
    background-size: 100% calc(var(--pixelsize) * 3);
    background-repeat: repeat-y;
    mix-blend-mode: hard-light;

    animation-name: scanlines;
    animation-duration: 10s;
}

body:after {
    background: rgba(0, 0, 0, 0.01);
    height: 20vh;
    background-repeat: repeat-y;
    mix-blend-mode: hard-light;

    animation-name: scanline-bar;
    animation-duration: 8s;
}

@keyframes scanlines {
    from {
        background-position-y: -100vh;
    }
    to {
    }
}

@keyframes scanline-bar {
    from {
        top: 100vh;
    }
    to {
        top: -100vh;
    }
}
