@import url('https://fonts.googleapis.com/css?family=Kirang+Haerang');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  overflow: hidden;
}

body.fade-out {
  opacity: 0;
  transition: opacity 5s;
}

.glitch {
  position: relative;
  height: 100vh;
  background-image: url('https://i.imgur.com/PHnvcrd.jpg');
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.glitch:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://i.imgur.com/PHnvcrd.jpg');
  background-position: 7px 0;
  opacity: 0.7;
}

.glitch:hover:before {
  animation: animate .5s infinite;
}

.glitch > p {
  font-size: 13rem;
  color: #fff;
  font-family: 'Kirang Haerang', cursive;
  position: relative;
  z-index: 1;
}

.horror-button {
  font-size: 2rem;
  padding: 0.5em 1em;
  color: #fff;
  background: #000;
  border: 2px solid #ff0000;
  font-family: 'Kirang Haerang', cursive;
  position: relative;
  z-index: 1;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5), 0 0 20px rgba(255, 0, 0, 0.5), 0 0 30px rgba(255, 0, 0, 0.5);
}

.horror-button:hover {
  background: #ff0000;
  border-color: #000;
  color: #000;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 0, 0, 0.7), 0 0 60px rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

@keyframes animate {
  0% {
    background-position: 0 0;
    filter: hue-rotate(0deg);
  }
  10% {
    background-position: 4px 0;
  }
  20% {
    background-position: -4px 0;
  }
  30% {
    background-position: 12px 0;
  }
  40% {
    background-position: -16px 0;
  }
  50% {
    background-position: -24px 0;
  }
  50% {
    background-position: -52px 0;
  }
  60% {
    background-position: 0 22px;
  }
  70% {
    background-position: -40px -10px;
  }
  80% {
    background-position: -24px 0;
  }
  90% {
    background-position: -24px 0;
  }
  100% {
    background-position: 0 0;
    filter: hue-rotate(360deg);
  }
}
