/* CSS*/

@font-face {
    font-family: "HelveticaNeueMedium";
    src: url("https://codeberg.org/impale2122/pages/src/branch/main/fonts/HelveticaNeue-Medium.otf") format("opentype");
}

body {
  background-color: #FFFFFF;
  color: #535353;
  font-size: 13px;
  line-height: 1.2;
}

.big.title {
  font-size: 39px;  
}

ul {
  
  list-style-type:none; /* this removes the bulletpoints */
  /* there is an annoying left padding in the ul element by default */
  padding-left:0; /* this removes it */

}

li a {
  display:inline-block; /* this allows us to add margin to each item 
                           so there's space for it to rotate */
  margin:10px;
}

/* this makes stuff happen when you hover! */
li a:hover {
  transform:rotate(-25deg); /* play with this 15deg value, works w/ negatives too! */
  color: LightSlateGrey;
  background-color: transparent;
  text-decoration: none;
  /* more CSS transform options: https://developer.mozilla.org/en-US/docs/Web/CSS/transform */
}

li a:link {
  color: RebeccaPurple;
  background-color: transparent;
  text-decoration: none;

}

a:active {
  color: RebeccaPurple;
  background-color: transparent;
  text-decoration: none;
}

a:link {
  color: RebeccaPurple;
  background-color: transparent;
  text-decoration: none;

}

/* this makes stuff happen when you hover! */
 a:hover {
  transform:rotate(-25deg); /* play with this 15deg value, works w/ negatives too! */
  color: LightSlateGrey;
  background-color: transparent;
  text-decoration: none;
  /* more CSS transform options: https://developer.mozilla.org/en-US/docs/Web/CSS/transform */
}

li a:active {
  color: RebeccaPurple;
  background-color: transparent;
  text-decoration: none;
}

del {
  background: #000;
  color: #000;
  text-decoration:none;
  
}

del:hover {
  color: #fff;
}

.glitch-title {
  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); 
  }
}

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

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

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

.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
}
