html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fafafa;
}

#splash {
  position: fixed;
  inset: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  background: linear-gradient(
    180deg,
    #fafafa 0%,
    #f5f5f5 100%
  );

  z-index: 9999;

  transition: opacity .6s ease;
}

.logo-wrapper {
  position: relative;
}

.logo-wrapper::before {
  content: "";

  position: absolute;

  width: 220px;
  height: 220px;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  border-radius: 50%;

  background: rgba(255, 193, 7, 0.35);

  filter: blur(40px);

  animation: glow 2s ease-in-out infinite;
}

.logo {
  width: 180px;
  position: relative;

  animation:
      fadeScale 1s ease forwards,
      floatLogo 3s ease-in-out infinite;
}

.title {
  margin-top: 24px;

  font-size: 24px;
  font-weight: 600;

  color: #7a4e00;

  letter-spacing: .5px;

  opacity: 0;

  animation:
    titleFade 1s ease forwards;
  animation-delay: .5s;
}

.loader {
  display: flex;
  gap: 8px;

  margin-top: 30px;
}

.loader span {
  width: 10px;
  height: 10px;

  border-radius: 50%;

  background: #d97706;

  animation: bounce 1.2s infinite;
}

.loader span:nth-child(2) {
  animation-delay: .15s;
}

.loader span:nth-child(3) {
  animation-delay: .3s;
}

.fade-out {
  opacity: 0;
  pointer-events: none;
}

@keyframes fadeScale {
  from {
    opacity: 0;
    transform: scale(.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes titleFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: scale(.7);
    opacity: .5;
  }

  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}

@keyframes glow {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
  }
@keyframes floatLogo {
    0% {
      transform: translateY(0px);
    }

    50% {
      transform: translateY(-8px);
    }

    100% {
      transform: translateY(0px);
    }
  }
}