/* -------------------------------------- */
/* Two columns grid */
/* -------------------------------------- */

.project-grid {
    grid-template-rows: auto !important;
}

.project-grid2 {
    /* deux colonnes */
    /* toute la largeur du main moins les 1 gaps entre les 2 colonnes */
    width: calc(100% - var(--marginIMG));
    display: grid;
    /* 3 paramètres donc 3 colonnes :
    en l'occurence 3 colonnes de calc(100% / 3) */
    grid-template-columns: calc(var(--gridDesktop) / 2) calc(var(--gridDesktop) / 2);
    gap: var(--marginIMG);
    overflow: hidden;
    grid-template-rows: auto !important;
}

.project-grid2 h1 {
    grid-column: 1 / span 2;
}

.img2,
.img3,
.img4,
.img5 {
    grid-column: auto;
}

.txt {
    grid-column: auto;
}

/* -------------------------------------- */
/* M E D I A S   Q U E R I E S */
/* -------------------------------------- */

@media (max-width: 768px) {

    .txtTablet {
        grid-column: 1 / span 2;
    }
}

@media (max-width: 450px) {

    .project-grid2 {
        width: 100%;
        grid-template-columns: 100%;
    }

    .txtTablet {
        grid-column: 1 / span 1;
    }

    .project-grid2 h1 {
        grid-column: auto;
    }
}