@import url("https://fonts.googleapis.com/css?family=Montserrat:100");
html, body, h1 {
  padding: 0;
  margin: 0;
  font-family: 'Oswardx', sans-serif;
}

#app {
  height: 10vh;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-position: center;
  z-index: 1;
}

#wrapper {
  text-align: center;
}

.sub {
  color: #64dcdc;
  letter-spacing: 1em;
}

/* 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: 7.5em;
  font-weight: bold;
  letter-spacing: .05em;
  /* 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;
}




.glitchportada {
  position: relative;
  color: white;
  font-size: 3.2em;
  font-weight: bold;
  letter-spacing: .05em;
  /* 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;
}
.glitchportada::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;
}
.glitchportada::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;
}



.glitchgrado {
  position: relative;
  color: white;
  font-size: 5.7em;
  font-weight: bold;
  letter-spacing: .05em;
  line-height : 75px;
  /* 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;
}
.glitchgrado::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;
}
.glitchgrado::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(76px, 9999px, 81px, 0);
    transform: skew(0.2deg);
  }
  5% {
    clip: rect(5px, 9999px, 54px, 0);
    transform: skew(0.49deg);
  }
  10% {
    clip: rect(9px, 9999px, 6px, 0);
    transform: skew(0.63deg);
  }
  15% {
    clip: rect(79px, 9999px, 62px, 0);
    transform: skew(0.13deg);
  }
  20% {
    clip: rect(17px, 9999px, 66px, 0);
    transform: skew(0.25deg);
  }
  25% {
    clip: rect(44px, 9999px, 48px, 0);
    transform: skew(0.77deg);
  }
  30% {
    clip: rect(90px, 9999px, 65px, 0);
    transform: skew(0.98deg);
  }
  35% {
    clip: rect(67px, 9999px, 80px, 0);
    transform: skew(0.01deg);
  }
  40% {
    clip: rect(82px, 9999px, 59px, 0);
    transform: skew(0.98deg);
  }
  45% {
    clip: rect(80px, 9999px, 99px, 0);
    transform: skew(0.68deg);
  }
  50% {
    clip: rect(43px, 9999px, 94px, 0);
    transform: skew(0.95deg);
  }
  55% {
    clip: rect(91px, 9999px, 51px, 0);
    transform: skew(0.71deg);
  }
  60% {
    clip: rect(98px, 9999px, 58px, 0);
    transform: skew(0.69deg);
  }
  65% {
    clip: rect(85px, 9999px, 56px, 0);
    transform: skew(0.13deg);
  }
  70% {
    clip: rect(78px, 9999px, 33px, 0);
    transform: skew(0.79deg);
  }
  75% {
    clip: rect(55px, 9999px, 43px, 0);
    transform: skew(0.54deg);
  }
  80% {
    clip: rect(81px, 9999px, 17px, 0);
    transform: skew(0.97deg);
  }
  85% {
    clip: rect(57px, 9999px, 64px, 0);
    transform: skew(0.44deg);
  }
  90% {
    clip: rect(32px, 9999px, 73px, 0);
    transform: skew(0.16deg);
  }
  95% {
    clip: rect(39px, 9999px, 71px, 0);
    transform: skew(0.22deg);
  }
  100% {
    clip: rect(86px, 9999px, 50px, 0);
    transform: skew(0.86deg);
  }
}
@keyframes glitch-anim2 {
  0% {
    clip: rect(52px, 9999px, 15px, 0);
    transform: skew(0.15deg);
  }
  5% {
    clip: rect(34px, 9999px, 84px, 0);
    transform: skew(0.93deg);
  }
  10% {
    clip: rect(46px, 9999px, 57px, 0);
    transform: skew(0.24deg);
  }
  15% {
    clip: rect(86px, 9999px, 81px, 0);
    transform: skew(0.85deg);
  }
  20% {
    clip: rect(95px, 9999px, 61px, 0);
    transform: skew(0.22deg);
  }
  25% {
    clip: rect(51px, 9999px, 33px, 0);
    transform: skew(0.79deg);
  }
  30% {
    clip: rect(5px, 9999px, 5px, 0);
    transform: skew(0.93deg);
  }
  35% {
    clip: rect(97px, 9999px, 14px, 0);
    transform: skew(0.06deg);
  }
  40% {
    clip: rect(60px, 9999px, 47px, 0);
    transform: skew(0.41deg);
  }
  45% {
    clip: rect(20px, 9999px, 6px, 0);
    transform: skew(0.37deg);
  }
  50% {
    clip: rect(66px, 9999px, 57px, 0);
    transform: skew(0.82deg);
  }
  55% {
    clip: rect(46px, 9999px, 70px, 0);
    transform: skew(0.86deg);
  }
  60% {
    clip: rect(73px, 9999px, 8px, 0);
    transform: skew(0.18deg);
  }
  65% {
    clip: rect(100px, 9999px, 27px, 0);
    transform: skew(0.55deg);
  }
  70% {
    clip: rect(66px, 9999px, 84px, 0);
    transform: skew(0.44deg);
  }
  75% {
    clip: rect(34px, 9999px, 8px, 0);
    transform: skew(0.47deg);
  }
  80% {
    clip: rect(11px, 9999px, 48px, 0);
    transform: skew(0.46deg);
  }
  85% {
    clip: rect(28px, 9999px, 15px, 0);
    transform: skew(0.25deg);
  }
  90% {
    clip: rect(42px, 9999px, 53px, 0);
    transform: skew(0.92deg);
  }
  95% {
    clip: rect(70px, 9999px, 61px, 0);
    transform: skew(0.72deg);
  }
  100% {
    clip: rect(41px, 9999px, 75px, 0);
    transform: skew(0.22deg);
  }
}

}