.grid-photos-6p img,
.grid-photos-9p img,
.grid-photos-1p img,
.grid-photos-12p img {
    width: 100%;
    height: 100%;
    /* Même si vous ne connaissez pas cette propriété, vous en aurez besoin pour permettre aux images de respecter les dimensions de la grid CSS */
    object-fit: cover;
    border-radius: 10px;
    transition: transform .4s;
}

.page-section-photos {
    background-color: #FCFAF8;
    display: flex;
    flex-direction: row;
}

.page-section-column {
    background-color: #FCFAF8;
    display: flex;
    flex-direction: column;
}

h2 {
    text-align: left;
    color: black;
    margin-bottom: 50px;
}

h3 {
    font-size: 5em;
    top: 20%;
    left: 28%;
    right: 5%;
    bottom: 65%;
}

ul {
    color: black;
    font-family: 'Circe'
}

.text-page {
    background-color: #FCFAF8;
    width: 40%;
    overflow: auto;
    margin-right: 50px;
}

.text-grid {
    display: flex;
    width: 100%;
    flex-direction: row;
}

.page-section-photos p {
    text-align: left;
    color: black;
    text-align: justify;
    font-family: 'Circe';
}

.page-section-column p {
    text-align: left;
    color: black;
    text-align: justify;
    font-family: 'Circe';
}

.grid-photos-6p {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 250px 250px;
    grid-gap: 15px;
    margin: auto;
}

.grid-photos-9p {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 250px 250px 250px;
    grid-gap: 15px;
    margin: auto;
}

.grid-photos-12p {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 250px 250px 250px;
    grid-gap: 15px;
    margin: auto;
}

/* .grid-photos-1p {
    display: flex;
    height: 280px;
    margin-top: 25px;
    margin: auto;
} */

.lien-conteneur-photo {
    position: relative;
}

.photo-hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.3);
    font-size: 1.5em;
    font-weight: 400;
    color: black;
    opacity: 0.7;
    border-radius: 5px;
    display: none
}

.lien-conteneur-photo:hover .photo-hover {
    display: flex;
    transform: scale(1.05);
}

.lien-conteneur-photo:hover img {
    display: flex;
    transform: scale(1.05);
}

@media screen and (max-width: 1249px) {
    section {
        padding: 50px 20px;
    }

    .page-section-photos,
    .page-section-column,
    .text-grid {
        flex-direction: column;
    }

    .text-page {
        width: 100%;
        margin-bottom: 30px;
    }

    .grid-photos-6p,
    .grid-photos-9p,
    .grid-photos-1p,
    .grid-photos-12p {
        display: flex;
        flex-direction: column;
        grid-gap: 15px;
        width: 100%;
        margin: auto;
    }

    .grid-photos-6p img,
    .grid-photos-9p img,
    .grid-photos-12p img {
        height: 300px;
    }
}

h2 {
    margin-bottom: 30px;
    margin-top: 30px;
}

.grid-photos-1p img {
    height: 200px;
}

.grid-photos-1p {
    height: 200px;
}

@media all and (min-width: 1250px) and (max-width: 1400px) {
    .text-page {
        width: 50%;
        overflow: auto;
    }
}

@media screen and (max-width: 996px) {
    h3 {
        left: 0;
        font-size: 2.5em;
    }
}