
/* === 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;
  }
}


        body {
        
        }

        #container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 30px;
        }

        #switchBtn {
            padding: 15px 30px;
            font-size: 18px;
            background: #4CAF50;
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
            left: 0;
        }

        #switchBtn:hover {
            background: #45a049;
            transform: scale(1.05);
        }

        #picture {
            width: 600px;
            height: 300px;
            object-fit: cover;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            transition: transform 0.3s;
        }

        #picture:hover {
            transform: scale(1.02);
        }
