@keyframes glitch1 {
  0% {
    transform: none;
    opacity: 1;
  }
  7% {
    transform: skew(-0.5deg, -0.9deg);
    opacity: 0.75;
  }
  10% {
    transform: none;
    opacity: 1;
  }
  27% {
    transform: none;
    opacity: 1;
  }
  30% {
    transform: skew(0.8deg, -0.1deg);
    opacity: 0.75;
  }
  35% {
    transform: none;
    opacity: 1;
  }
  52% {
    transform: none;
    opacity: 1;
  }
  55% {
    transform: skew(-1deg, 0.2deg);
    opacity: 0.75;
  }
  50% {
    transform: none;
    opacity: 1;
  }
  72% {
    transform: none;
    opacity: 1;
  }
  75% {
    transform: skew(0.4deg, 1deg);
    opacity: 0.75;
  }
  80% {
    transform: none;
    opacity: 1;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}

@keyframes glitch2 {
  0% {
    transform: none;
    opacity: 0.25;
  }
  7% {
    transform: translate(-2px, -3px);
    opacity: 0.5;
  }
  10% {
    transform: none;
    opacity: 0.25;
  }
  27% {
    transform: none;
    opacity: 0.25;
  }
  30% {
    transform: translate(-5px, -2px);
    opacity: 0.5;
  }
  35% {
    transform: none;
    opacity: 0.25;
  }
  52% {
    transform: none;
    opacity: 0.25;
  }
  55% {
    transform: translate(-5px, -1px);
    opacity: 0.5;
  }
  50% {
    transform: none;
    opacity: 0.25;
  }
  72% {
    transform: none;
    opacity: 0.25;
  }
  75% {
    transform: translate(-2px, -6px);
    opacity: 0.5;
  }
  80% {
    transform: none;
    opacity: 0.25;
  }
  100% {
    transform: none;
    opacity: 0.25;
  }
}

@keyframes glitch3 {
  0% {
    transform: none;
    opacity: 0.25;
  }
  7% {
    transform: translate(2px, 3px);
    opacity: 0.5;
  }
  10% {
    transform: none;
    opacity: 0.25;
  }
  27% {
    transform: none;
    opacity: 0.25;
  }
  30% {
    transform: translate(5px, 2px);
    opacity: 0.5;
  }
  35% {
    transform: none;
    opacity: 0.25;
  }
  52% {
    transform: none;
    opacity: 0.25;
  }
  55% {
    transform: translate(5px, 1px);
    opacity: 0.5;
  }
  50% {
    transform: none;
    opacity: 0.25;
  }
  72% {
    transform: none;
    opacity: 0.25;
  }
  75% {
    transform: translate(2px, 6px);
    opacity: 0.5;
  }
  80% {
    transform: none;
    opacity: 0.25;
  }
  100% {
    transform: none;
    opacity: 0.25;
  }
}

@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-mono-v12-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
  url('../fonts/roboto-mono-v12-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
  url('../fonts/roboto-mono-v12-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
  url('../fonts/roboto-mono-v12-latin-regular.woff') format('woff'), /* Modern Browsers */
  url('../fonts/roboto-mono-v12-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
  url('../fonts/roboto-mono-v12-latin-regular.svg#RobotoMono') format('svg'); /* Legacy iOS */
}

body {
  background-image: radial-gradient(circle, rgb(9, 2, 29) 0%, rgb(0, 0, 0) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  font-family: "Roboto Mono", sans-serif;
  overflow: hidden;
}

.text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.text .lyrics {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  justify-content: center;
  margin: 3em 2em 4em 2em;
  max-width: 60ch;
  z-index: 100;
}

.text .lyrics a {
  color: #646585;
  transition: .15s;
  text-decoration-color: #237849;
}

.text .lyrics a:hover {
  color: #8963a8;
  transform: scale(1.05);
}

.text .contact {
    margin-top: 2em;
}

.box {
  background: #161633;
  color: #e6dcc8;
  border: none;
  max-height: 80vh;
  scrollbar-width: thin;
  scrollbar-color: #646585 #161633;
  padding: 2em;
}

.box .header {
  display: flex;
  justify-content: space-between;
}

.box .title {
  color: #4c9579;
}

.box .close {
  width: 2em;
  height: 2em;
  background: #646585;
  border: none;
  transition: .15s;
  cursor: pointer;
}

.box .close:hover {
  background: #8963a8;
}

.box a {
    color: #4c9579;
}

.glitch {
  display: block;
  text-decoration: none;
  font-size: 1.5em;
  text-align: center;
  color: #ffffff;
  letter-spacing: 8px;
  font-weight: 400;
  margin: 0;
  line-height: 0;
  animation: glitch1 2.8s infinite;
}

.glitch:nth-child(2) {
  color: #67f3da;
  animation: glitch2 2.8s infinite;
}

.glitch:nth-child(3) {
  color: #f16f6f;
  animation: glitch3 2.8s infinite;
}

.wrapper, .bg, img {
  width: 100%;
  height: 100%;
  margin: 0;
}

.wrapper {
  display: grid;
}

.wrapper > * {
  grid-column: 1;
  grid-row: 1;
}

.bg {
  opacity: .1;
  pointer-events: none;

  img {
    object-fit: cover;
    animation: glitch3 10s infinite reverse;
  }
}

.contact, .contact a {
    color: #576f70;
    text-decoration: none;
}

.contact {
    border-top: 6px solid rgba(39, 44, 44, 0.43);
    padding: 1em;
    font-size: .9em;
}