@font-face {
  font-family: 'Nimbus Mono';
  font-weight: bold;
  src: url(nimbus-mono.bold.woff2);
}

body {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 100vh;
    width:100%;
    overflow: hidden;
    position: fixed;

    color: #FFF;
    background-color: #080808;
    font-family: 'Nimbus Mono', monospace;

    cursor: crosshair;
    user-select: none;

    perspective: 1000px;
}

#parallax {
     will-change: transform;
     transition: transform 0.3s ease-out;
     transform-style: preserve-3d;
}

.center-div {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.title {
    margin: 0;
    font-size: 6rem;
    position: relative;
    transform: rotate(-5deg);
    animation: scaleIn 0.4s cubic-bezier(0.33, 0.45, 0.45, 1) forwards;
    text-shadow:
        0 0 5px rgba(200, 200, 200, 0.5),
        0 0 25px rgba(150, 150, 150, 0.2);
}

.title::before  {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-shadow: 3px 0 #ff0048;
    /*color: red;*/
    z-index: 2;
    animation: glitch1 6s infinite linear 0.5s;
}

.title::after  {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-shadow: -3px 0 #00f3ff;
    /*color: cyan;*/
    z-index: 1;
    animation: glitch2 7.5s infinite linear 0.5s;
}

.slogan {
    font-size: 1.3rem;
    margin-top: -15px;
    color: #888;
    opacity: 0;
    animation: sloganFadeIn 1.5s linear 1s forwards;
}

@media (max-width: 600px) {
    .title {
        font-size: 4.5rem !important;
    }
    .slogan {
        font-size: 1rem !important;
    }
}

@keyframes scaleIn {
    0% {
        transform: rotate(-5deg) scale(4);
        opacity: 0;
    }
    100% {
        transform: rotate(-5deg) scale(1);
        opacity: 1;
    }
}

@keyframes sloganFadeIn {
    0% {
        transform: rotate(-5deg);
        opacity: 0;
    }
    100% {
        transform: rotate(-5deg);
        opacity: 1;
    }
}

@keyframes glitch1 {
    0%, 19.9%, 22%, 49.9%, 51%, 79.9%, 82%, 100% {
        transform: translate(0);
        clip-path: inset(0 0 100% 0);
    }

    20%, 20.9% {
        transform: translate(-5px, 2px);
        clip-path: inset(20% 0 50% 0);
    }
    21%, 21.9% {
        transform: translate(4px, -2px);
        clip-path: inset(70% 0 10% 0);
    }

    50%, 50.9% {
        transform: translate(-3px, 1px);
        clip-path: inset(10% 0 60% 0);
    }

    80%, 80.9% {
        transform: translate(-5px, -2px);
        clip-path: inset(80% 0 5% 0);
    }
    81%, 81.9% {
        transform: translate(2px, 4px);
        clip-path: inset(30% 0 40% 0);
    }
}

@keyframes glitch2 {
    0%, 34.9%, 37%, 69.9%, 71%, 89.9%, 92%, 100% {
        transform: translate(0);
        clip-path: inset(0 0 100% 0);
    }

    35%, 35.9% {
        transform: translate(4px, -2px);
        clip-path: inset(15% 0 60% 0);
    }
    36%, 36.9% {
        transform: translate(-4px, 2px);
        clip-path: inset(55% 0 20% 0);
    }

    70%, 70.9% {
        transform: translate(4px, 1px);
        clip-path: inset(30% 0 40% 0);
    }

    90%, 90.9% {
        transform: translate(-4px, -2px);
        clip-path: inset(80% 0 10% 0);
    }
    91%, 91.9% {
        transform: translate(4px, 2px);
        clip-path: inset(5% 0 80% 0);
    }
}
