@import url('https://fonts.googleapis.com/css2?family=Rubik+Mono+One&display=swap');

html, body {
    margin: 0; padding: 0; overflow: hidden; background: transparent; height: 100%;
    font-family: "Rubik Mono One", monospace;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    flex-direction: column;
  }
  canvas {
    display: block;
    width: 100vw;
    height: 100vh;
    position: absolute;
    z-index: -1;
  }

.glitch {
    animation: glitch 400ms infinite;
    font-weight: 700;
    position: relative;
    text-shadow: .05em 0 0 #00fffc,-.03em -.04em 0 #fc00ff,.025em .04em 0 #fffc00;
    text-transform: uppercase;
    background-color: transparent;
    height: fit-content;
    margin: 0;
}

.glitch,.glitch span {
    font-size: 5rem;
    overflow: visible
}

.glitch span {
    left: 0;
    position: absolute;
    top: 0
}

.glitch span:first-child {
    animation: glitch .2s infinite;
    -webkit-clip-path: polygon(0 0,100% 0,100% 35%,0 35%);
    clip-path: polygon(0 0,100% 0,100% 35%,0 35%);
    opacity: .75;
    transform: translate(-.04em,-.03em)
}

.glitch span:last-child {
    animation: glitch 115ms infinite;
    -webkit-clip-path: polygon(0 65%,100% 65%,100% 100%,0 100%);
    clip-path: polygon(0 65%,100% 65%,100% 100%,0 100%);
    opacity: .75;
    transform: translate(.04em,.03em)
}

@keyframes glitch {
    0% {
        text-shadow: .05em 0 0 #00fffc,-.03em -.04em 0 #fc00ff,.025em .04em 0 #fffc00
    }

    15% {
        text-shadow: .05em 0 0 #00fffc,-.03em -.04em 0 #fc00ff,.025em .04em 0 #fffc00
    }

    16% {
        text-shadow: -.05em -.025em 0 #00fffc,.025em .035em 0 #fc00ff,-.05em -.05em 0 #fffc00
    }

    49% {
        text-shadow: -.05em -.025em 0 #00fffc,.025em .035em 0 #fc00ff,-.05em -.05em 0 #fffc00
    }

    50% {
        text-shadow: .05em .035em 0 #00fffc,.03em 0 0 #fc00ff,0 -.04em 0 #fffc00
    }

    99% {
        text-shadow: .05em .035em 0 #00fffc,.03em 0 0 #fc00ff,0 -.04em 0 #fffc00
    }

    to {
        text-shadow: -.05em 0 0 #00fffc,-.025em -.04em 0 #fc00ff,-.04em -.025em 0 #fffc00
    }
}

a{ 
    text-decoration: none;
    color: inherit;
}