* {
  box-sizing: border-box;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  font-family: 'luckiest-guy-regular', Arial, sans-serif;
  z-index: 0;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-image: url('../img/UI/background/riff_complete.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(5px);
  z-index: -1;
}

canvas {
  display: block;
  background-color: black;
  border-radius: 16px;
}

h1 {
  color: #65e8ef;
  z-index: 10;
  font-size: clamp(12px, 3vw, 40px);
  letter-spacing: 4px;
  text-shadow: 4px 4px 6px #000;
}

span {
  color: #65e8ef;
  font-size: 16px;
  text-shadow: 4px 4px 6px #000;
}

button {
  font-family: inherit;
}

ul {
  list-style: none;
}

.d-none {
  display: none;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.overlay-fade-out {
  animation: fadeOut 0.5s ease-in forwards;
}

@media screen and (max-width:960px) {
  canvas {
    width: 100%;
  }
}

@media screen and (max-height:540px) {
  canvas {
    height: 100vh;
  }
}