@font-face {
  font-family: 'Tylko';
  src: url('Tylko-Regular.ttf') format('truetype');
}@font-face {
    font-family: 'Roboto';
    src: url('Roboto-Medium.ttf') format('truetype');
  }
@font-face {
    font-family: 'Material-Icons';
    src: url('MaterialIcons-Regular.ttf') format('truetype');
  }

html {
  height: 100%;
  background:
    radial-gradient(#000 0.5px, transparent 0.5px) 0 0 /3px 3px,
    radial-gradient(#000 0.5px, transparent 0.5px) 1px 1px /3px 3px,
    radial-gradient(#000 0.5px, transparent 0.5px) 2px 2px /3px 3px,
    /* url(scanlines.png) repeat, */
    url(background.jpg) left / cover,
    #222222;
}

i { font-family: "Material-Icons"; font-style: normal; }

body{ 
  display: flex;
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #fff;
  font-size: 96px;
  font-family: Tylko;
  letter-spacing: -7px;
}

.main {
  position: fixed;
  font-size: 8rem;
  color: #ffffff;
}
small { font-size: 3rem; color: #666666;
    letter-spacing: 0;
}
.imprint { 
    letter-spacing: 0;
    text-align: center;
    font-family:"Roboto"; font-size: 16px;
}
.imprint small { font-size: 16px; }
.imprint a {
    text-decoration: none;
    color: aqua; 
    font-size: 3rem;
}

.glitch{
  animation: glitch 1s linear infinite;
}

@keyframes glitch{
  2%,64%{
    transform: translate(2px,0) skew(0deg);
  }
  4%,60%{
    transform: translate(-2px,0) skew(0deg);
  }
  62%{
    transform: translate(0,0) skew(5deg); 
  }
}

.glitch:before,
.glitch:after{
  content: attr(title);
  position: absolute;
  left: 0;
}

.glitch:before{
  animation: glitchTop 1s linear infinite;
  clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

@keyframes glitchTop{
  2%,64%{
    transform: translate(2px,-2px);
  }
  4%,60%{
    transform: translate(-2px,2px);
  }
  62%{
    transform: translate(13px,-1px) skew(-13deg); 
  }
}

.glitch:after{
  animation: glitchBotom 1.5s linear infinite;
  clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
  -webkit-clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
}

@keyframes glitchBotom{
  2%,64%{
    transform: translate(-2px,0);
  }
  4%,60%{
    transform: translate(-2px,0);
  }
  62%{
    transform: translate(-22px,5px) skew(21deg); 
  }
}
