body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    color: white;
    height: 100%;
    text-align: center;
    background-color: transparent;
    overflow-x: hidden;
}

.background {
    background-image: url('img/fondo.jpg');
    background-size: cover;
    background-position: center;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: brightness(0.4);
    animation: zoom 10s ease-in-out infinite alternate;
}

@keyframes zoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 90vh;
    padding: 0 20px;
    animation: fadeIn 2s ease-in-out;
}

h1, footer {
    font-family: 'Luckiest Guy', cursive;
}

h1 {
    margin: 10px 0;
    font-size: 1.6rem;
    opacity: 0;
    animation: appear 1s ease forwards;
}

h1:nth-child(2) { animation-delay: 0.5s; }
h1:nth-child(3) { animation-delay: 1s; }
h1:nth-child(4) { animation-delay: 1.5s; }

footer {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0;
    animation: appear 1s ease forwards;
    animation-delay: 2.5s;
}

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

button {
    background-color: #ffffff20;
    color: white;
    font-size: 1rem;
    border: 2px solid white;
    border-radius: 8px;
    padding: 10px 20px;
    margin: 15px auto;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #ffffff40;
}

#info.hidden {
    display: none;
}

#info.show {
    display: block;
    margin-top: 15px;
    font-size: 1rem;
}

.logo-container {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2; /* por encima del fondo */
}
.logo-container img {
  width: 120px;       /* ajusta tamaño a tu gusto */
  height: auto;
  display: block;
}



