/* Estilos generales del logo */
.navbar-brand img {
    max-width: 150px;  /* Tamaño estándar del logo */
    height: auto;      /* Mantiene la proporción */
}

/* Redes sociales flotantes */
.social-icons {
    position: fixed;
    right: 10px;
    top: 40%;
    display: flex;
    flex-direction: column;
    gap: 5px; /* Espacio reducido entre los botones */
    z-index: 1000;
}

/* Estilo base para los íconos redondos */
.social-icons a, .more-button {
    display: inline-block;
    width: 45px; /* Botones más pequeños */
    height: 45px;
    line-height: 45px;
    border-radius: 50%;
    background-color: #3b5998; /* Color inicial para todos los botones (Facebook) */
    color: white;
    text-align: center;
    font-size: 20px; /* Tamaño del ícono */
    transition: all 0.3s;
}
/* Efecto hover: aumentar tamaño y cambiar color */
.social-icons a:hover, .more-button:hover {
    transform: scale(1.1); /* Aumentar el tamaño un 10% */
}
/* Efecto hover: cambiar al color específico de cada red */
.social-icons a:hover.facebook {
    background-color: #2d4373;
}

.social-icons a:hover.instagram {
    background-color: #bc2a8d;
}

.social-icons a:hover.whatsapp {
    background-color: #1ebe57;
}

.social-icons a:hover.youtube {
    background-color: #FF0000;
}

.social-icons a:hover.tiktok {
    background-color: black;
}

/* Botón de más redes */
.more-button {
    background-color: #555;
}

.more-button:hover {
    background-color: #333;
}

/* Redes sociales adicionales (ocultas inicialmente en pantallas grandes) */
.additional-icons {
    display: none;
    flex-direction: column;
    gap: 5px;
}

/* Mostrar redes adicionales cuando están activas */
.additional-icons.active {
    display: flex;
}
/* Fin de redes flotantes */


.pdf-title {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    color: #0B2538;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    padding-top: 20px;
}

/* Estilos de las cards (tarjetas) */
.pdf-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.pdf-card {
    background-color: #0B2538;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    padding: 15px;
    display: flex;
    flex-direction: column; /* Flex para alinear contenido en columna */
    justify-content: space-between; /* Asegura que el botón esté en la parte inferior */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pdf-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.pdf-card embed {
    width: 100%;
    height: 200px;
    margin-bottom: 15px; /* Espacio entre el PDF y el botón */
}

.pdf-card button {
    background-color:  #E0C023;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.pdf-card button:hover {
    background-color: #04680d;
}

/* Estilos del visor PDF (modal) */
.pdf-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 900px;
    height: 80%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.pdf-modal iframe {
    width: 100%;
    height: 85%;
    border-radius: 8px;
    border: none;
}

.pdf-modal .close-pdf {
    background-color:  #E0C023;
    color: white;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    width: 100%;
    border: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.pdf-modal .close-pdf:hover {
    background-color: #c9302c;
}

.pdf-modal .download-pdf {
    background-color:  #E0C023;
    color: white;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    width: 100%;
    border: none;
    font-size: 16px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.pdf-modal .download-pdf:hover {
    background-color: #449d44;
}

/* Fondo oscuro detrás de la modal */
.pdf-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 900;
    display: none;
}

h3 {
    color: white;
}


/* Estilo base para el iframe y la imagen de vista previa */
.pdf-frame-computer {
    display: none; 
    width: 100%;
    height: 300px; 
}

.pdf-preview {
    display: block; 
    width: 100%;
    height: auto; 
}


@media (min-width: 768px) {
    .pdf-preview {
        display: none; 
    }
    .pdf-frame-computer {
        display: block; 
    }
}


@media (max-width: 767px) {
    .pdf-frame-computer {
        display: none; 
    }
}

.footer-title {
    font-size: 1.2rem; 
    margin-bottom: 10px; 
}

footer p {
    font-size: 0.9rem; 
    margin: 5px 0; 
}

footer .small-text {
    font-size: 0.8rem; 
    opacity: 0.7; 
}


html, body {
    height: 100%; 
    margin: 0;
    display: flex;
    flex-direction: column;
}


main {
    flex: 1; 
}


footer {
    background-color: #0B2538; 
    color: white;
    padding: 20px 10px;
    margin-top: auto; 
}