html,
body {
  margin: 0;
  padding: 0;
  background-color: black;
}
canvas {
  display: block;
  margin: 0 auto;
}

.button {
  background-color: #4caf50;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 12px;
  cursor: pointer;
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

.spinner {
  border: 8px solid #777;
  border-top: 8px solid #f3f3f3;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  animation: spin 1s linear infinite;
}

/* Spinner animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.emoji-loading {
  font-size: 3rem;
  text-align: center;
  position: absolute;
  transform: translate(-1.5rem, -3.5rem);
}

.emoji-loading span {
  position: absolute;
  opacity: 0;
  animation: emoji-cycle 6s infinite;
}

@keyframes emoji-cycle {
  5% {
    opacity: 0;
    transform: translateY(-50px);
  }
  25% {
    opacity: 1;
    transform: translateY(0);
  }
  33%,
  95% {
    opacity: 0;
    transform: translateY(50px);
  }
}

.emoji-loading span:nth-child(1) {
  animation-delay: 0s;
}
.emoji-loading span:nth-child(2) {
  animation-delay: 1s;
}
.emoji-loading span:nth-child(3) {
  animation-delay: 2s;
}
.emoji-loading span:nth-child(4) {
  animation-delay: 3s;
}
.emoji-loading span:nth-child(5) {
  animation-delay: 4s;
}
.emoji-loading span:nth-child(6) {
  animation-delay: 5s;
}

.emoji-label {
  font-size: 2rem;
  text-align: center;
  margin-top: 1rem;
}

.emoji-label span {
  opacity: 0.1;
  animation: emoji-label-cycle 3s infinite;
}

@keyframes emoji-label-cycle {
  15% {
    opacity: 0.1;
  }
  25% {
    opacity: 1;
  }
  90% {
    opacity: 0.1;
  }
}

.emoji-label span:nth-child(1) {
  animation-delay: 0s;
}
.emoji-label span:nth-child(2) {
  animation-delay: 1s;
}
.emoji-label span:nth-child(3) {
  animation-delay: 2s;
}
