#hexGridSelection {
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    margin: 0 auto;
    list-style-type: none;
}

.img-nos-selections #hexGridSelection {
    transform: rotate(-90deg);
    max-width: 60vw;
    width: 100%;
}


.img-nos-selections #hexGridSelection .img-hex {
    position: relative;
    overflow: hidden;
    width: 200%;
    height: 200%;
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    z-index: -1;
    transform: rotate(90deg);
}

.img-nos-selections .hex img {
    left: -100%;
    right: -100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    top: 25%;
}

.hexLink:hover #title-selection-cards,
.hexLink:focus #title-selection-cards {
    margin-top: -25%;
}

.hexLink:hover #text-selection-cards,
.hexLink:focus #text-selection-cards {
    opacity: 1;
}

.content-text-hex-selection {
    width: 100%;
    height: 100%;
    padding: 32% 21%;
}

.content-text-hex-selection #title-selection-cards {
    opacity: 1;
    position: relative;
    font-family: var(--font-title);
    font-size: var(--fs);
    font-weight: 500;
    top: 35%;
    z-index: 10;
}

.content-text-hex-selection #text-selection-cards {
    opacity: 0;
    position: relative;
    top: 23%;
    z-index: 10;
    max-width: 90%;
    margin: 0 auto;
    font-family: var(--font-text);
    font-size: var(--fs-x0-8);
    font-weight: 400;
}

/*** HEXAGON SIZING AND EVEN ROW INDENTATION *****************************************************************/

@media (min-width:1281px) {

    /* <- 3-2  hexagons per row */
    /* #hexGridTSelection {
        padding-bottom: 6%
    } */

    .img-nos-selections #hexGridSelection {
        padding-bottom: 7.4% !important;
        font-size: 14px !important;
    }

    .img-nos-selections #hexGridSelection .hex {
        width: 33.333% !important;
        /* = 100 / 3 */
    }

    .img-nos-selections #hexGridSelection .hex:nth-child(5n+4) {
        /* first hexagon of even rows */
        margin-left: 16.666% !important;
        /* = width of .hex / 2  to indent even rows */
    }
}

@media (max-width: 1280px) and (min-width:992px) {

    /* <- 3-2  hexagons per row */
    /* #hexGridSelection {
        padding-bottom: 7.4%;
        font-size: 14px;
    } */

    .img-nos-selections #hexGridSelection {
        padding-bottom: 7.4%;
        font-size: 14px;
    }

    .img-nos-selections #hexGridSelection .hex {
        width: 33.333%;
        /* = 100 / 3 */
    }
    

    .img-nos-selections #hexGridSelection .hex:nth-child(5n+4) {
        /* first hexagon of even rows */
        margin-left: 16.666%;
        /* = width of .hex / 2  to indent even rows */
    }
}

@media (max-width: 991px) {

    /* <- 2-1  hexagons per row */
    #hexGridThematique {
        padding-bottom: 12.2%;
        font-size: 12px;
    }

    .img-nos-selections #hexGridSelection {
        padding-bottom: 11.2%;
        font-size: 12px;
        position: relative;
    }

    .img-nos-selections #hexGridSelection .hex {
        width: 50%;
        /* = 100 / 3 */
    }

    .img-nos-selections #hexGridSelection .hex:nth-child(3n+3) {
        /* first hexagon of even rows */
        margin-left: 25%;
        /* = width of .hex / 2  to indent even rows */
    }
}

@media (max-width: 601px) {

    /* <- 2-1  hexagons per row */
    #hexGridThematique {
        padding-bottom: 12.2%;
        font-size: 12px;
    }

    .img-nos-selections #hexGridSelection {
        padding-bottom: 11.2%;
        font-size: 12px;
        position: relative;
    }

    .img-nos-selections #hexGridSelection .hex {
        width: 50%;
        /* = 100 / 3 */
    }

    .img-nos-selections #hexGridSelection .hex:nth-child(3n+3) {
        /* first hexagon of even rows */
        margin-left: 25%;
        /* = width of .hex / 2  to indent even rows */
    }

}

@media (max-width: 400px) {
    #hexGridSelection {
        font-size: 8px;
        padding-bottom: 11.2%;
    }
}