body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: rgb(147, 177, 238); /* Fondo crema */
  color: rgb(235, 226, 211);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* === Caja blanca === */
.home-screen {
  text-align: center;
  background-color:  rgb(235, 226, 211);/* Blanco semitransparente */
  padding: 40px 60px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgb(0 0 0 / 10%);
}

/* === Título === */
.home-screen h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: rgb(35, 79, 194);
}

/* === Slogan === */
.slogan h2 {
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: rgb(35, 79, 194);
}

/* === Botón === */
.login-btn button {
  background-color: rgb(237, 81, 59);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-btn button:hover {
  background-color: #a8835c;
  transform: scale(1.05);
}

/* === Splash Screen === */
#splash-screen {
  position: fixed;
  inset: 0;
  background-color: rgb(36, 79, 194); /* o el color de fondo que prefieras */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 9999;
  opacity: 1;
  animation: fadeOutSplash 0.8s ease forwards;
  animation-delay: 1.8s; /* comienza fade después de 1.8s */
}

.splash-logo {
  width: 120px;
  height: auto;
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
}

.splash-title {
  color: white;
  font-size: 2rem;
  letter-spacing: 4px;
  margin-top: 15px;
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 0.4s;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOutSplash {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

