body {
    font-family: 'Manrope', sans-serif;
    margin: 0;
}

* {
    box-sizing: border-box;
}

/* 2025_05_12 BEGIN add class for first section */
.portfolioSectionTitle {
    padding: 40px;
    /* 2025_05_19 Add _variables.css in order to put in place variables for css */
    /* background-color: #1f2039; */
    background-color: var(--backgroundColorTitle);
}

/* 2025_05_19 Add _variables.css in order to put in place variables for css */
.portfolioSectionTitle h2 {
    color: var(--H2colorUpdate);
    font-size: 3em;
    font-family: 'Manrope', sans-serif;
}

/* 2025_05_12 END add class for first section */

.portfolioSectionPictures {
    /* 2025_05_19 Add _variables.css in order to put in place variables for css */
    /* background-color: white; */
    background-color: var(--backgroundColorSite);
}

.portfolioSectionPictures h2 {
    color: #242424;
    margin-bottom: 40px;
}

.squareImage {
    width: 300px;
    height: 300px;
    overflow: hidden;
    object-fit: cover;
    padding: 20px;
}

.squareImage a {
    font-weight: bold;
    color: #5c5b5b;
}

.grid-paysages {
    width: 95%;
    min-height: 10px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.grid-portraits {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 300px 300px;
    gap: 15px;
}

.grid-paysages img,
.grid-portraits img {
    width: 100%;
    height: 90%;
    object-fit: cover;
}

.linkContainerPicture {
    position: relative;
}

.pictureHover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
}

.linkContainerPicture:hover .pictureHover {
    display: flex;
}

@media screen and (max-width: 996px) {
    .grid-paysages {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .grid-portraits {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}