@import url('https://fonts.googleapis.com/css?family=Fira+Mono:400');

html{
  background-color: #201112;
  height: -webkit-fill-available;
  user-select: none;
}
*{padding: 0;margin: 0;}
a{color: #fff; text-decoration: none;}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #00000065;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #00000086;
}


body{
  background-image: url(images/background.png);
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  min-height: 100vh;
}

::-moz-selection {
  color: white;
  background-color: rgba(108, 35, 35, 0.612);
}

::selection {
  color: white;
  background-color: rgba(108, 35, 35, 0.612);
}


@media (orientation: portrait) and (max-width: 650px){
  body{
    flex-direction: column-reverse;
    min-height: -webkit-fill-available;
    height: 100%;
  }
}









#content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease-in-out;
  opacity: 0;
}

#content.fade-in {
  opacity: 1;
}

.hidden {
  opacity: 0;
}




main{
  max-width: 1000px;
}

#nofound{
  animation: glitch 1s linear infinite;
  color: #fff;
  font-size: 96px;
  font-family: 'Fira Mono', monospace;
  letter-spacing: -7px;
}

@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); 
  }
}

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

#nofound: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); 
  }
}

#nofound: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); 
  }
}
