ul.gBox_m1 {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, auto);
    gap: 20px; /* Espacio entre filas y columnas */
}

/* Estilos opcionales para las cajas */
ul.gBox_m1 > li {
    background-color: var(--color1);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    border-radius: 5px;
}

/* Galería de 4 columnas */
ul.gBox_m2 {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, auto);
    gap: 20px; /* Espacio entre filas y columnas */
}


ul.gBox_m2 > li {
    background-color: var(--color1);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    border-radius: 5px;
}




@media only screen and (min-width: 320px) {
}
@media only screen and (min-width: 480px) {

} 
@media only screen and (min-width: 590px) {
    ul.gBox_m1 {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
    }

    ul.gBox_m2 {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, auto);
    }
}
/* Ancho horizontal del celular Xiomi 11 Ancho:395px - 790px*/
@media only screen and (min-width: 848px) {

    ul.gBox_m1{
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, auto);
    }

    ul.gBox_m2{
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, auto);
    }
}
@media only screen and (min-width: 1024px) {
}
@media only screen and (min-width: 1140px) {
}