@import url("https://fonts.googleapis.com/css2?family=Bagel+Fat+One&display=swap");
:root {
  --body-opacity: 1;
}
body {
  display: flex;
  background: #1f1f1f;
  color: #b3b3b3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  height: 100svh;
  overflow: hidden;
}
body:after {
  content: "";
  position: absolute;
  width: 100vw;
  height: 100svh;
  z-index: -1;
  background: linear-gradient(#b30e920d, #cd129e),
    url("assets/nyan.webp") 0 0 repeat;
  background-size: 80px;
  transition: all 0.5s;
}
body::before {
  content: "";
  background: #212121;
  width: 100vw;
  height: 100svh;
  position: absolute;
  opacity: var(--body-opacity);
  transition: opacity 0.3s;
}

* {
  -webkit-tap-highlight-color: transparent;
}

#bye {
  font-family: "Bagel Fat One";
  margin: 10px 0;
  font-size: 30px;
  line-break: anywhere;
  line-height: 0.8;
  position: absolute;
  top: 35vh;
  padding: 0 40px;
  background: #121fcf;
  background: linear-gradient(45deg, #f319f0 0%, #ff0231 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
}
#wave {
  background: url("assets/wave.png");
  width: 80px;
  height: 80px;
  background-size: contain;
  cursor: pointer;
  z-index: 1;
  user-select: none;
  -moz-user-select: none;
  position: relative;
}
#wave::before {
  content: "";
  position: absolute;
  padding: 80px;
  top: -40px;
  left: -40px;
  cursor: pointer;
}

.waving {
  animation: wave_hand 0.25s infinite ease-in-out;
}
@keyframes wave_hand {
  0% {
    rotate: 0deg;
  }
  50% {
    rotate: -20deg;
  }
  100% {
    rotate: 0deg;
  }
}
