/* Estilos generales del logo */
.navbar-brand img {
    max-width: 150px;  
    height: auto;      
}

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

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

/* Estilo base para los íconos redondos */
.social-icons a, .more-button {
    display: inline-block;
    width: 45px;
    height: 45px;
    line-height: 45px;
    border-radius: 50%;
    background-color: #3b5998; 
    color: white;
    text-align: center;
    font-size: 20px;
    transition: all 0.3s;
}

.social-icons a:hover, .more-button:hover {
    transform: scale(1.1); 
}

.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;
}

.additional-icons {
    display: none;
    flex-direction: column;
    gap: 5px;
}

 */
.additional-icons.active {
    display: flex;
}



.pdf-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    padding-top: 0px;
}


.pdf-card {
    background-color: #0B2538;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: auto;
    height: 900px; 
    text-align: center;
    padding: 15px;
    display: flex;
    flex-direction: column; 
    justify-content: space-between; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pdf-card iframe {
    width: 100%;
    height: 900px !important; 
    margin-bottom: 15px; 
}

/* Botón dentro de la tarjeta */
.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;
}


.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;
}


.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;
}


@media (min-width: 1201px) {
    .pdf-card {
        width: 90%; 
        max-width: 1200px; 
        height: 80%; 
        padding: 20px; 
    }

    .pdf-card iframe {
        height: 500px; 
    }

    .pdf-modal {
        width: 80%; 
        height: 80%; 
    }
}


@media (max-width: 1200px) {
    .pdf-card {
        width: 100%; 
        height: 80%;   
     }

    .pdf-card iframe {
        height: 350px; 
    }

    .pdf-modal {
        width: 90%; 
        height: 80%; 
        margin-top: 100px;
    }
}


@media (max-width: 768px) {
    .pdf-card {
        width: 100%; 
        height: 80%;
    }

    .pdf-card iframe {
        height: 300px; 
    }

    .pdf-modal {
        width: 95%; 
        height: 85%;
    }

    .pdf-card h3 {
        font-size: 1rem; 
    }

    .pdf-card button {
        font-size: 0.9rem; 
    }
}


@media (max-width: 480px) {
    .pdf-card {
        padding: 10px;
    }

    .pdf-card iframe {
        height: 250px; 
    }
}

.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; 
    }
}


html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}


body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
}


.container {
    flex: 1;
}


footer {
    margin-top: auto; 
}

.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; 
}