:root {
  font-family: 'MNO'; /* Dieser Name korrespondiert mit den Einstellungen in fonts.css */
  color: #FFC5F4;
}

body{
  height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rainbow-animation 2s linear infinite alternate; 
}

h1{
  font-family: 'MNO';
  font-variation-settings: 'wdth' 200;
  color: #FF352A;
  font-size: 150px;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: glitch 0.9s linear infinite;
  mix-blend-mode: screen;
} 

h1:before, h1:after {
  content: "SAYVULVA";
  position: absolute;
  left: 0;
}

@keyframes glitch{
  2%,64%{
    transform: translate(3px, 0) skew(0deg);
  }
  4%,60%{
    transform: translate(-2px, 0) skew(0deg);
  }62%{
    transform: translate(0, 0) skew(5deg);
  }
  0% {font-variation-settings: 'wdth' 200}
  100% {font-variation-settings: 'wdth' 100}
}

h1:before, h1:after{
  animation: glitchTop 0.8s linear infinite;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 40%);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 35%, 0 40%);
}

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

h1:after{
  animation: glitchBottom 1.3s 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 glitchBottom{
  2%,64%{
    transform: translate(0, 0);
  }
  4%,60%{
    transform: translate(0, 0);
  }
  62%{
    transform: translate(-30px, 5px) skew(21deg);
  }
  
}

@keyframes rainbow-animation {
  0% {
    background-color: red;
  }
  20% {
    background-color: orange;
  }
  40% {
    background-color: yellow;
  }
  60% {
    background-color: green;
  }
  80% {
    background-color: blue;
  }
  100% {
    background-color: violet;
  }
}