body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #ffffff;
  background-size: 100% 100%;
}

#splash {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.logo {
  width: 20vw;
  max-width: 100px;
  height: auto;
  object-fit: contain;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in {
  animation: fadeInScale 1.2s ease-out forwards;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.07);
  }
}

.pulse {
  animation: pulse 1.2s ease-in-out infinite;
}

#messages {
  font-family: "Fredoka", sans-serif;
  font-size: 1.3rem;
  color: #4f4f4f;
  height: 30px;
  width: 100%;
  text-align: center;
  overflow: hidden;
}

.message-slide {
  animation: slideDownFade 0.5s ease;
}

@keyframes slideDownFade {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0%);
    opacity: 1;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background: linear-gradient(to bottom right, #3ec2cf, #f7f7f7, #8b89ad);
  }
}
