/* Estilos generales */
#info p{
    color: #fff;
}
body {
    background-color: black;
    margin: 0;
    padding: 0;
    /* overflow: hidden; */ /* Eliminado para permitir el scroll y mostrar el footer */
    font-family: Arial, sans-serif;
    /* background-color: #f4f4f4; */
    
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px; /* Aumentado para mejor disposición en escritorio */
    margin: 10px auto; /* Aumentado el margen superior e inferior */
    padding: 5px; /* Aumentado el padding para mejor espaciamiento */
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    
    /* Flexbox para disposición lado a lado en escritorio */
    /* display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left; */

    /* Flexbox para disposición en columna */
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center; 
}

/* Panel de Información */
#info {
    width: 30%; /* Ancho del panel de información */
    color: antiquewhite;
    margin-right: 20px; /* Espaciado entre info y slideshow */
    margin-top: 60px;
}

#info h1 {
    color: #70787e;
    font-size: 2em; /* Tamaño de fuente ajustado para escritorio */
    margin-bottom: 10px;
}

#info h2 {
    color: #70787e;
    font-size: 1.5em; /* Tamaño de fuente ajustado para escritorio */
    margin-bottom: 10px;
}
#info h3 {
    color: #0091ff;
    font-size: 1.5em; /* Tamaño de fuente ajustado para escritorio */
    margin-bottom: 10px;
}
.transmission {
    font-size: 1em;
    color: #ffb300;
    margin-bottom: 20px;
}

.transmission p {
    margin-top: 10px;
    font-size: 1em;
}
/* #escudos {
        width: 55%;
        display: flex;
        flex-direction: row; 
        justify-content: space-between; 
        align-items: center;
        gap: 20px; 
    }
    
    #escudos img.escudo {
        width: 48%; 
        height: auto;
        border-radius: 5px;
    } */

    #escudos {
        width: 100%;
        display: flex;
        flex-direction: row; 
        justify-content: center;
        gap: 20px; 
    }
    
    #escudos img.escudo {
        width: 35%; 
        height: 85%;
        border-radius: 5px; 
    }

/* Slideshow */
#slideshow {
    width: 60%; /* Ancho del slideshow */
    height: auto; /* Auto height */
    position: relative; /* Para posicionar los controles si se agregan */
}

.slide {
    display: none;
    text-align: center;
    position: relative; /* Para posicionar la descripción si es necesario */
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%; /* Imagen ocupa el 100% del contenedor del slideshow */
    height: auto;
    border-radius: 5px; /* Bordes redondeados para estética */
}

/* Descripción */
.slide .description {
    color: white;
    margin-top: 10px;
    font-size: 1.2em; /* Tamaño de fuente ajustado para escritorio */
    opacity: 0; /* Inicialmente invisible */
}

/* Animaciones para las descripciones */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInBottom {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animaciones para las imágenes */
@keyframes imgSlideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes imgSlideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes imgSlideInBottom {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes imgFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Clases de animación para descripciones */
.animate-left {
    animation: slideInLeft 1s forwards;
}

.animate-right {
    animation: slideInRight 1s forwards;
}

.animate-bottom {
    animation: slideInBottom 1s forwards;
}

.animate-fade {
    animation: fadeIn 1s forwards;
}

/* Clases de animación para imágenes */
.img-animate-left {
    animation: imgSlideInLeft 1s forwards;
}

.img-animate-right {
    animation: imgSlideInRight 1s forwards;
}

.img-animate-bottom {
    animation: imgSlideInBottom 1s forwards;
}

.img-animate-fade {
    animation: imgFadeIn 1s forwards;
}

/* Reset de la opacidad al ocultar la diapositiva */
.slide.active .description {
    opacity: 1; /* Asegura que la descripción sea visible cuando la diapositiva está activa */
}

/* Header */
.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
    background-color: #333f48;
    color: #fff;
}

.header-content img.logo {
    max-width: 100px;
    margin-bottom: 10px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.header-content img.logo.visible {
    opacity: 1;
}

.header-content h3 {
    margin: 10px 0 5px;
    font-size: 24px;
}

.header-content p {
    margin: 0;
    font-size: 14px;
    font-style: italic;
}

/* Footer */

.logo {
    max-width: 50px;
    margin: 0 auto;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.logo.visible {
    opacity: 1;
}

.footer-content {
    text-align: center;
    padding: 10px;
    background-color: #333f48;
    color: #fff;
}

.footer-content h3 {
    margin: 3px 0 5px;
    font-size: 18px;
}

.footer-content p {
    margin: 0;
    font-size: 14px;
    font-style: italic;
}

/* Enlaces */
a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff0; /* Amarillo */
}

/* Countdown */
#countdown-container {
    font-size: 1em;
    margin-top: 5px;
    color: #fff;
}

#countdown {
    font-weight: bold;
}

/* Media Queries para dispositivos móviles */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Column direction on mobile */
        align-items: center;
        text-align: center;
    }

    #info, #slideshow {
        width: 100%;
        margin: 0;
    }

    #info {
        margin-bottom: 20px; /* Espacio entre info y slideshow en móvil */
    }

    .header-content {
        padding: 3px;
    }

    .header-content img.logo {
        max-width: 40px;
    }
    .footer-content img.logo {
        margin-top: 5px;
        max-width: 30px;
    }
    .header-content h3 {
        margin: 3px 0 5px;
        font-size: 15px;
    }
    
    .header-content p {
        font-size: 12px;
    }

    #info h1 {
        font-size: 1.5em; /* Tamaño de fuente ajustado para móvil */
        margin-bottom: 1px;
    }
    
    #info h2 {
        font-size: 1.1em; /* Tamaño de fuente ajustado para móvil */
        margin-bottom: 1px;
    }
    
    .transmission {
        font-size: 1.2em;
        margin-bottom: 1px;
    }
    
    .transmission p {
        font-size: 1em;
    }
    
    #countdown-container {
        font-size: 1.1em;
        margin-top: 1px;
    }
    
    #slideshow {
        height: auto; /* Mejor responsividad */
    }
    
    .slide img {
        max-width: 100%; /* Ajuste de imágenes para móvil */
        height: auto;
    }
    
    .slide p {
        margin-top: 5px;
        font-size: 1.5em;
    }
    #escudos img.escudo {
        width: 60%; 
        height: auto;
        border-radius: 5px; 
    }
    
}




