#scratch img {
    -ms-interpolation-mode: bicubic;
}

#scratch canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    -ms-touch-action: none;
    -webkit-touch-action: none;
    -moz-touch-action: none;
    touch-action: none;
    transition:
        opacity 500ms ease-out 0ms,
        height 0ms linear 500ms;
}

#scratch.revealed canvas {
    opacity: 0;
    height: 0;
}

#scratch #brush {
    width: 120px;
    height: 120px;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    z-index: 3;
}

#scratch.scratching:hover #brush {
    opacity: 1;
}

.bg-fuzzy-white {
    text-shadow:
        0 0 3px var(--white),
        0 0 6px var(--white),
        0 0 10px var(--white),
        0 0 15px var(--white),
        0 0 20px var(--white),
        0 0 30px var(--white),
        0 0 40px var(--white),
        0 0 50px var(--white),
        0 0 60px var(--white);
}
