@font-face {
    font-family: 'mixtmi_15-webfont';
    font-style: normal;
    font-weight: 500;
    src: local(''),
         url('../fonts/mixtmi_15-webfont.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/mixtmi_15-webfont.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
	font-display: swap;
  }

  html {
   background: url(../../media/landfill-879437.jpg) no-repeat center center fixed; 
   background-size: cover;
  }
  
body {
  background: #222;
  font-family: "mixtmi_15-webfont", sans-serif;
  font-style: italic;
  
  overflow-y: hidden;
}

.container {
  position: absolute;
  transform: translate(-50%, -50%);
  top: 45%;
  left: 50%;
  text-align:center;
}

img {
	color: pink;
	fill: red !important;
}

.glitch {
  color: rgb(20, 20, 15);
  position: relative;
  font-size: 12vw;
  // margin: 70px 200px;
  animation: glitch 5s 5s infinite;
}

.glitch::before {
  content: attr(data-text);
  position: absolute;
  left: -2px;
  text-shadow: -5px 0 magenta;
  /* background: black; */
  overflow: hidden;
  top: 0;
  animation: noise-1 3s linear infinite alternate-reverse, glitch 5s 5.05s infinite;
}

.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 2px;
  text-shadow: -5px 0 yellow;
  /* background: black; */
  overflow: hidden;
  top: 0;
  animation: noise-2 3s linear infinite alternate-reverse, glitch 5s 5s infinite;
}

@keyframes glitch {
  1%{
    transform: rotateX(10deg) skewX(30deg);
  }
  2%{
    transform: rotateX(0deg) skewX(0deg);
  }
}

@keyframes noise-1 {
  $steps: 30;
  @for $i from 1 through $steps {
    #{percentage($i*(1/$steps))} {
      $top: random(100);
      $bottom: random(101 - $top);
      clip-path: inset(#{$top}px 0 #{$bottom}px 0);
    }
  }
}

@keyframes noise-2 {
  $steps: 30;
  @for $i from 0 through $steps {
    #{percentage($i*(1/$steps))} {
      $top: random(100);
      $bottom: random(101 - $top);
      clip-path: inset(#{$top}px 0 #{$bottom}px 0);
    }
  }
}


@keyframes fudge {
  from {
    transform: translate(0px, 0px);
  }
  to {
    transform: translate(0px, 2%);
  }
}

  .glitch,
  .glow { 
  line-height: 115%;
  }

.glow {
  @extend .glitch;
  text-shadow: 0 0 1000px rgb(250, 225, 60);
  color: transparent;
  position: absolute;
  top: 0;
}

.subtitle {
	/* display: none; */
  font-family: mono;
  font-weight: 100;
  font-size: .8vw;
  color: rgba(165, 141, 141, .4);
  text-transform: uppercase;
  letter-spacing: 1em;
  text-align: center;
  /* position: absolute; */
  /* left: 17%; */
  animation: glitch-2 5s 5.02s infinite;
}

.subline {
	display: inline-block;
	height: 85px;
	width: 100vw;
	background: url(../../media/allesabgeraeumt.svg) repeat; 
	background-size: 160px 85px;
}

/*
.subtitle img {	
	 max-height: 140px; 
	  animation: glitch-2 5s 5.02s infinite;
}
*/

@keyframes glitch-2 {
  1%{
    transform: rotateX(10deg) skewX(20deg);
  }
  2%{
    transform: rotateX(0deg) skewX(0deg);
  }
}



.scanlines {
  overflow: hidden;
  mix-blend-mode: difference;
}

.scanlines::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: -25px;
  left: 0;

  background: repeating-linear-gradient(
    to bottom,
    transparent 0%,
    rgba(230, 200, 25, 0.07) .7%,
    transparent 1%
  );

  animation: fudge 7s ease-in-out alternate infinite;
}

