/* This is CSS file for supporting page 404... or navigation bar */

/* Navigation */

/* 404 page */
@import url("https://fonts.googleapis.com/css?family=Montserrat:100");

.four-section,
.four-section h1 {
    padding: 0;
    margin: 0;
    font-family: "Montserrat", sans-serif !important;
}

#app {
    background: #0a0a0a;
    height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(10, 10, 10, 0.6), rgba(0, 0, 0, 0.9)),
        repeating-linear-gradient(0, transparent, transparent 2px, black 3px, black 3px),
        url(images/404.webp);
    background-size: cover;
    background-position: center;
    z-index: 1;
}

#wrapper {
    text-align: center;
}

.sub {
    font-family: "Montserrat", sans-serif !important;
    color: #64dcdc;
    letter-spacing: 1em;
    font-weight: bold;
    font-size: 16px;
}
.not_btn {
    font-family: "Montserrat", sans-serif !important;
    text-align: center;
    text-decoration: none;
    letter-spacing: 1px;
    color: #000;
    background-color: #fff;
    font-weight: 600;
    margin-top: 50px;
    padding: 14px 20px 14px 20px;
    transition: all 0.3s;
    box-shadow: 0px 5px 30px -10px #fff;
}
.not_btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0px 9px 30px -10px #fff;
}
.not_btn:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0px 7px 30px -10px #fff;
}

/* Our mixin positions a copy of our text
directly on our existing text, while
also setting content to the appropriate
text set in the data-text attribute. */
.glitch {
    position: relative;
    color: white;
    font-size: 200px;
    letter-spacing: 0.2em;
    /* Animation provies a slight random skew. Check bottom of doc
  for more information on how to random skew. */
    animation: glitch-skew 1s infinite linear alternate-reverse;
}
.glitch::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    /* Creates an initial clip for our glitch. This works in
  a typical top,right,bottom,left fashion and creates a mask
  to only show a certain part of the glitch at a time. */
    clip: rect(44px, 450px, 56px, 0);
    /* Runs our glitch-anim defined below to run in a 5s loop, infinitely,
  with an alternating animation to keep things fresh. */
    animation: glitch-anim 5s infinite linear alternate-reverse;
}
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    left: -2px;
    text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
    animation: glitch-anim2 1s infinite linear alternate-reverse;
}

/* Creates an animation with 20 steaps. For each step, it calculates 
a percentage for the specific step. It then generates a random clip
box to be used for the random glitch effect. Also adds a very subtle
skew to change the 'thickness' of the glitch.*/
@keyframes glitch-anim {
    0% {
        clip: rect(63px, 9999px, 62px, 0);
        transform: skew(0.52deg);
    }
    5% {
        clip: rect(16px, 9999px, 32px, 0);
        transform: skew(0.98deg);
    }
    10% {
        clip: rect(83px, 9999px, 97px, 0);
        transform: skew(0.17deg);
    }
    15% {
        clip: rect(47px, 9999px, 23px, 0);
        transform: skew(0.95deg);
    }
    20% {
        clip: rect(17px, 9999px, 57px, 0);
        transform: skew(0.92deg);
    }
    25% {
        clip: rect(14px, 9999px, 43px, 0);
        transform: skew(0.99deg);
    }
    30% {
        clip: rect(26px, 9999px, 50px, 0);
        transform: skew(0.44deg);
    }
    35% {
        clip: rect(85px, 9999px, 38px, 0);
        transform: skew(0.03deg);
    }
    40% {
        clip: rect(93px, 9999px, 20px, 0);
        transform: skew(0.04deg);
    }
    45% {
        clip: rect(94px, 9999px, 94px, 0);
        transform: skew(0.43deg);
    }
    50% {
        clip: rect(76px, 9999px, 19px, 0);
        transform: skew(0.36deg);
    }
    55% {
        clip: rect(61px, 9999px, 94px, 0);
        transform: skew(0.41deg);
    }
    60% {
        clip: rect(15px, 9999px, 9px, 0);
        transform: skew(0.35deg);
    }
    65% {
        clip: rect(46px, 9999px, 35px, 0);
        transform: skew(0.49deg);
    }
    70% {
        clip: rect(13px, 9999px, 66px, 0);
        transform: skew(0.88deg);
    }
    75% {
        clip: rect(59px, 9999px, 11px, 0);
        transform: skew(0.1deg);
    }
    80% {
        clip: rect(39px, 9999px, 94px, 0);
        transform: skew(0.9deg);
    }
    85% {
        clip: rect(48px, 9999px, 100px, 0);
        transform: skew(0.72deg);
    }
    90% {
        clip: rect(24px, 9999px, 58px, 0);
        transform: skew(0.4deg);
    }
    95% {
        clip: rect(21px, 9999px, 69px, 0);
        transform: skew(0.66deg);
    }
    100% {
        clip: rect(20px, 9999px, 20px, 0);
        transform: skew(0.94deg);
    }
}
@keyframes glitch-anim2 {
    0% {
        clip: rect(90px, 9999px, 47px, 0);
        transform: skew(0.44deg);
    }
    5% {
        clip: rect(80px, 9999px, 74px, 0);
        transform: skew(0.8deg);
    }
    10% {
        clip: rect(94px, 9999px, 85px, 0);
        transform: skew(0.65deg);
    }
    15% {
        clip: rect(62px, 9999px, 72px, 0);
        transform: skew(0.3deg);
    }
    20% {
        clip: rect(21px, 9999px, 92px, 0);
        transform: skew(0.14deg);
    }
    25% {
        clip: rect(58px, 9999px, 90px, 0);
        transform: skew(0.47deg);
    }
    30% {
        clip: rect(11px, 9999px, 100px, 0);
        transform: skew(0.12deg);
    }
    35% {
        clip: rect(22px, 9999px, 20px, 0);
        transform: skew(0.85deg);
    }
    40% {
        clip: rect(88px, 9999px, 64px, 0);
        transform: skew(1deg);
    }
    45% {
        clip: rect(16px, 9999px, 49px, 0);
        transform: skew(0.41deg);
    }
    50% {
        clip: rect(71px, 9999px, 25px, 0);
        transform: skew(0.91deg);
    }
    55% {
        clip: rect(65px, 9999px, 62px, 0);
        transform: skew(0.06deg);
    }
    60% {
        clip: rect(57px, 9999px, 28px, 0);
        transform: skew(0.38deg);
    }
    65% {
        clip: rect(17px, 9999px, 8px, 0);
        transform: skew(0.71deg);
    }
    70% {
        clip: rect(76px, 9999px, 24px, 0);
        transform: skew(0.94deg);
    }
    75% {
        clip: rect(56px, 9999px, 61px, 0);
        transform: skew(0.98deg);
    }
    80% {
        clip: rect(15px, 9999px, 82px, 0);
        transform: skew(0.46deg);
    }
    85% {
        clip: rect(17px, 9999px, 55px, 0);
        transform: skew(0.68deg);
    }
    90% {
        clip: rect(19px, 9999px, 75px, 0);
        transform: skew(0.09deg);
    }
    95% {
        clip: rect(3px, 9999px, 38px, 0);
        transform: skew(0.4deg);
    }
    100% {
        clip: rect(35px, 9999px, 96px, 0);
        transform: skew(0.46deg);
    }
}
@keyframes glitch-skew {
    0% {
        transform: skew(3deg);
    }
    10% {
        transform: skew(3deg);
    }
    20% {
        transform: skew(4deg);
    }
    30% {
        transform: skew(0deg);
    }
    40% {
        transform: skew(-4deg);
    }
    50% {
        transform: skew(3deg);
    }
    60% {
        transform: skew(5deg);
    }
    70% {
        transform: skew(-4deg);
    }
    80% {
        transform: skew(4deg);
    }
    90% {
        transform: skew(2deg);
    }
    100% {
        transform: skew(-2deg);
    }
}

@media screen and (max-width: 992px) {
    .sub {
        font-size: 24px;
    }
    .four-section a {
        font-size: 24px;
    }
}

@media screen and (max-width: 576px) {
    .glitch {
        font-size: 300px;
    }
    .sub {
        font-size: 32px;
    }
    .four-section a {
        padding: 22px 40px;
        font-size: 38px;
    }
}
