/* CRT Scanlines */

body::before {

    content:"";

    position:fixed;

    inset:0;

    background:
    repeating-linear-gradient(
        0deg,
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.45) 3px,
        transparent 3px,
        transparent 6px
    );

    pointer-events:none;

    z-index:9998;

    animation:
    scanMove 8s linear infinite;

}



@keyframes scanMove {

    from {

        background-position:0 0;

    }


    to {

        background-position:0 100px;

    }

}



/* CRT Curve + Flicker */

body::after {

    content:"";

    position:fixed;

    inset:0;

    background:
    radial-gradient(
        ellipse,
        transparent 50%,
        rgba(0,0,0,0.7)
    );

    pointer-events:none;

    z-index:9999;


}



body {

    animation:
    crtBrightness .2s infinite;

}


@keyframes crtBrightness {

    0% {

        filter:brightness(.98);

    }


    50% {

        filter:brightness(1);

    }


    100% {

        filter:brightness(.97);

    }

}