::selection{
  color: #fff;
  background: #65567e;
}

a{
  color: #bb6e8c;
  text-decoration: dotted underline;
}

a:hover{
  color: #e9bdcf;
}

body{
  display: flex;
  font-family: Punktype;
  align-items: center;
  min-height: 100vh;
  background: #fff;
  color: #526c8a;
  margin: 0 20px;
  font-size: 20px;
  opacity: 0;
  animation: fade-in 0.5s steps(5) forwards;
}

main{
  position: relative;
}

#title{
  position: absolute;
  z-index: -3;
  top: 40px;
  right: 5px;
  width: fit-content;
  font-size: 95px;
  line-height: 1;
  opacity: 0;
  animation: fade-in 0.35s 1s steps(5) forwards;

  span{
    background: url(/images/index/texture.png);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(2px 2px 0 #293757);
  }
  
  span:nth-of-type(odd){animation: flicker3 0.5s infinite;}
  span:nth-of-type(even){animation: flicker3 0.5s reverse infinite;}
}

h1{
  font-family: Punktype;
  letter-spacing: -3px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  opacity: 0;
  animation: fade-in 0.5s 0.75s steps(5) forwards;
}

h2{
  font-family: QuietBrokenVoice;
  color: #de86a9;
  text-shadow: 2px 2px 0 #5d4561;
  letter-spacing: 2px;
  font-size: 45px;
}

h1, h2{
  font-weight: normal;
  margin: 0;
}

/* decor */

.decor{
  position: absolute;
  user-select: none;
  pointer-events: none;
}

#splash{
  width: 800px;
  user-select: none;
  animation: flicker1 0.75s infinite;
}

#rating{
  z-index: 1;
  width: 200px;
  top: 192px;
  left: 398px;
  animation: flicker2 0.5s -0.35s reverse infinite;
}

#guitarist{
  z-index: 2;
  width: 595px;
  left: 35px;
  top: 30px;
  animation: flicker2 0.5s infinite;
}

#swirl{
  z-index: -1;
  width: 420px;
  top: 105px;
  left: -10px;
  animation: flicker2 0.5s -0.5s reverse infinite;
}

#boombox{
  pointer-events: all;
  z-index: 3;
  width: 295px;
  bottom: -5px;
  left: 175px;
  animation: flicker1 0.5s -0.15s infinite;
}

#cover{
  z-index: 2;
  width: 175px;
  bottom: 140px;
  left: 90px;
  animation: flicker2 0.5s -0.15s infinite;
}

#boombox-playing{
  display: none;
  z-index: 4;
  width: 295px;
  bottom: 0;
  left: 158px;
  animation: fade-in 0.35s steps(3) forwards, flicker3 0.5s reverse infinite;
}

#boombox:hover{
  cursor: help;
  filter: brightness(1.25) sepia(0.2);
}

#boombox.playing{
  animation: flicker3 0.5s infinite;
}