/* Splash Screen Styling */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  animation: fadeIn 1s ease-out, slideUp 1s ease-in-out forwards; /* Total 2 detik animasi */
}

.splash-content {
  text-align: center;
  animation: slideUp 1s ease-in-out forwards; /* Durasi 1 detik */
}

.splash-logo {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
  animation: fadeInLogo 1s ease-out forwards; /* Durasi 1 detik */
}

/* Menghapus animasi untuk teks dan subteks */
.splash-text,
.splash-subtext {
  display: none;
}

/* Animation Definitions */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slideUp {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInLogo {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
#splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out; /* Menambahkan transisi smooth untuk efek hidden */
}
