.contenedor-docentes {
    width: 90%;
    margin: 20px auto;
    padding: 20px;
    background-color: rgb(241, 243, 255);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.docentes {
    text-align: center;
}
.titulo-docentes {
    color: #1B396A;
}
.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.card {
    text-align: center;
    width: 18%;
}
.img-docente {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #2663c5;
    margin-bottom: 10px;
}
.texto-docente {
    font-size: 14px;
    color: #333;
    text-align: center;
}
.role-docente {
    font-weight: 550;
    color: #374864;
    font-family: Arial;
    font-size: 15px;
}
.btn-pdf_docentes {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    background-color: transparent;
    transition: transform 0.3s ease; /* Suavidad en la transición */
}

.btn-pdf_docentes:hover {
    transform: scale(1.1); /* Escala al 120% del tamaño original */
}

.modal-background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal-content {
    width: 80%;
    height: 80%;
    background-color: #0000002c;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media only screen and (max-width: 768px) {
    .card {
        width: 40%;
    }
}