/* ------------- PRIMERA SECCION ------------- */

.seccion-directiva {
    width: 100%;
    height: auto;
    background-color: #f0f0f0;
    padding: 1rem 5% 2rem 5%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* ------------- CONTENEDOR TODO LA DIRECTIVA ACTUAL ------------- */

.contenedor-directiva {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    border-radius: 15px;
    border: 1px solid rgba(123, 75, 55, 0.5);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* ------------- PRIMER CONTENEDOR ------------- */

.contenedor-directiva-titulo {
    width: 97%;
    padding: .3rem;
    margin-top: 1rem;
    background-color: rgb(201, 51, 51);
    border-radius: 20px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.contenedor-directiva-titulo h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    text-align: center;
    font-weight: 600;
    color: #F8F9FA;
}

/* ------------- SEGUNDO CONTENEDOR ------------- */

.contenedor-directiva-integrantes {
    width: 100%;
    height: auto;
    padding: 1rem;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;

    justify-content: center;
    align-items: baseline;
}

.roles-parte {
    width: 100%;
    height: 100%;
    /* padding: .5rem; */

    border-radius: 10px;
    border: 1px solid rgba(123, 75, 55, 0.5);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.roles-comision {
    width: 100%;
    /* margin-bottom: .5rem; */
    padding: .3rem 10px;
    font-family: 'Poppins', sans-serif;

}

.roles-comision h2 {
    width: 100%;
    font-size: 1.2rem;
    color: #991f1f;
}

.roles-comision p {
    width: 100%;
    font-size: 1rem;
    color: #333;
}

/* ------------- TERCER CONTENEDOR ------------- */

.contenedor-directiva-foto {
    width: 100%;
    height: auto;
    padding: 1.5rem 10px;

    display: flex;
    justify-content: center;
    align-items: center;


}

.contenedor-directiva-foto img {
    width: 90%;
    height: auto;
    padding: 1rem;
    border: 2px solid rgba(173, 37, 28, 0.5);
    background-color: rgba(211, 79, 70, 0.808);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    border-radius: 20px;
}

.foto-amplia {
    width: 90%;
    height: auto;
    min-height: 50%;
    padding: .5rem;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 25px;
    /* background-color: #316497; */
    background-color: #973131;
    border: 1px solid rgba(255, 255, 255, 0.5);

    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: all .3s ease-in-out;
}

/* ------------- CUARTO CONTENEDOR ------------- */

.contenedor-directiva-descripcion {
    width: 100%;
    padding: 1rem;
 
    /* border-radius: 10px;
    border: 1px solid rgba(123, 75, 55, 0.5);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4); */

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap:.5rem;
}

.contenedor-directiva-descripcion p {
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    text-align: justify;
    font-weight: 500;
    color: #333;
}



/* ------------- QUINTO CONTENEDOR ------------- */

.contenedor-boton-directiva-anteriores {
    width: 100%;
    padding: 1.5rem 10px 1rem 10px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.contenedor-boton-directiva-anteriores button {
    padding: 10px;
    border: none;
    background-color: rgb(201, 51, 51);
    color: whitesmoke;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    cursor: pointer;
}

.contenedor-boton-directiva-anteriores button:hover {
    transform: scale(1.1);
    transition: all .2s ease-in-out;
}

.ocultar-anteriores {
    display: none;
}


/* ------------------- DIRECTIVAS ANTIGUAS ------------------- */

.contenedor-dorectivas-antiguas {
    width: 100%;
    height: 100%;
    border-top: 3px solid #3c493b;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 20px;
}

.contenedor-dorectivas-antiguas {
    display: none;
}

/* ------------- PRIMER CONTENEDOR ------------- */

.contentedor-texto-anteriores-directivas {
    width: 100%;
    background-color: #aaaaaa;
    border-radius: 20px;
    padding: 5px;
    margin-top: 1rem;

    display: flex;
    justify-content: center;
    align-items: baseline;
}

.contentedor-texto-anteriores-directivas h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 600;
    color: #333;
}

.contenedor-dorectivas-antiguas .contenedor-directiva-titulo {
    margin-top: 1rem;
}


@media screen and (max-width:530px) {

    .contenedor-directiva-titulo {
        width: 95%;
    }
    .contenedor-directiva-titulo h2{
        font-size: medium;
    }

    .contenedor-directiva-integrantes {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .contenedor-directiva-descripcion p {
        font-size: medium;
        text-align: left;
    }
    
}