.panelGestionAreasV__carrucel{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr)); /* Cuatro columnas inicialmente */
    grid-template-rows: auto auto;
    align-items: stretch;
    padding-right: 1.5rem;
}

#EspacioV3:hover{
    border: white 0px solid;
}

.tarjeta21{
    background-color: rgb(255, 255, 255);
    padding: 20px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0px 19px 34px rgba(0, 0, 0, 0.30), 0px 15px 12px rgba(0, 0, 0, 0.22);
    margin-left: 30px;
    margin-bottom: 30px;
    /*PP*/
    max-width: 100%;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
}
.tarjeta21 a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    height: 100%;
}

.tarjeta21 a:hover {
    scale: 1.05;
}


.tarjeta21 a img {
    width: 20rem;
    height: 20rem;
    /************************************************* quitar al poner imagenes cuadradas*/
    border-radius: 50%;
}

.tarjeta21 a .titulo {
    color: var(--negro);
    font-size: 2.3rem;
}

.tarjeta21 a .descripcion {
    color: var(--negro);
    font-size: 1.3rem;
    text-align: center;
}

/* Agregar borde Rojo a las tarjetas faltantes */
.borde-rojo2 {
    border: 2px solid red;
    /* Define el borde rojo */
    transition: border 0.3s ease;
    /* Suaviza el cambio */
    box-shadow: 0px 4px 8px rgba(190, 45, 55, 0.9);
}



/* Checar el acomodo de las tarjetas en 915px*/
@media (min-width: 501px) and (max-width: 900px) {
    .tarjeta21 {
        background-color: rgb(255, 255, 255);
        padding: 20px;
        text-align: center;
        border-radius: 15px;
        box-shadow: 0px 19px 34px rgba(0,0,0,0.30), 0px 15px 12px rgba(0,0,0,0.22);
        margin-right: 10px;
        max-height: 100%;
        font-family: "Montserrat", sans-serif;
        font-weight: 500;
        min-width: 10rem;
        
    }
    .tarjeta21 a img {
        width: 12rem;
        height: 12rem;
        border-radius: 50%;
    }

    .tarjeta21 a .titulo {
        color: var(--negro);
        font-size: 1.85rem;
    }
    .tarjeta21 a .descripcion {
        color: var(--negro);
        font-size: 1.15rem;
        text-align: center;
    }
}


@media (max-width: 900px){
    .panelGestionAreasV__carrucel{
        display: none;
    }   
}
