#splash {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  clip-path: circle(150% at center);
  transition: clip-path 1s ease-in-out;
  background: black;
  overflow: hidden;
}

.splash-content {
  color: white;
  font-size: 2rem;
  font-family: sans-serif;
  text-align: center;
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  z-index: 1;
}

.splash-content img {
  height: 100px;
  transition: transform 0.5s ease-in-out;
  animation: ufoScaling 2s ease-in-out infinite;
}

@keyframes ufoScaling {
  0% {
    transform: scale(1) rotate(0);
  }

  25% {
    transform: scale(1.1) rotate(0);
  }

  50% {
    transform: scale(1.1) rotate(360deg);
  }

  75% {
    transform: scale(1) rotate(360deg);
  }

  100% {
    transform: scale(1) rotate(0);
  }
}

.splash-content p,
.splash-content h6 {
  font-weight: 100;
  font-family: var(--font2);
}

.splash-content h6 {
  font-size: 14px;
}

#splash.hidden {
  clip-path: circle(0% at center);
}

.loading-bar {
  position: relative;
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 15px;
}

.loading-bar__fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.splash-content {
  opacity: 0;
  transition: opacity 1s ease;
}

#splash.show-content .splash-content {
  opacity: 1;
}

#splash.reverse {
  clip-path: circle(0% at center);
}

#splash.reverse.show-content {
  clip-path: circle(150% at center);
}