.pages-gallerie {
    overflow: hidden;
    position: relative;
    padding-top: 4em;
    background-color: #ffffff;
}

.pages-gallerie__content {
    z-index: 10;
    width: 100%;
    margin: 0 auto;
    max-width: 1390px;
    text-align: center;
    position: relative;
}

.pages-gallerie__head {
    display: flex;
    align-items: center;
    padding-bottom: 4em;
    flex-direction: column;
    justify-content: center;
}

.pages-gallerie__title {
    margin: 0;
    color: #04533d;
    font-size: 50px;
    font-weight: 400;
    line-height: 56px;
    text-align: center;
    white-space: nowrap;
    text-transform: uppercase;
    font-family: var(--e-global-typography-primary-font-family, "Recording Artist JNL"), Sans-serif;
}

.pages-gallerie__body {
    gap: 1em;
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(11, 1fr);
}

.pages-gallerie__item {
    width: 100%;
    overflow: hidden;
    min-height: 303px;
    position: relative;
    border-radius: 20px;
    background-color: #000000;
}

.pages-gallerie__item-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.8s ease-in-out;
}

.pages-gallerie__item:hover .pages-gallerie__item-bg {
    transform: scale(1.1);
}

.pages-gallerie__item-link {
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.8) 100%);
}

/*RESPONSIVE*/

/*phone*/
@media (max-width: 767px) {

    .pages-gallerie__title {
        font-size: 2.5rem;
        line-height: 1.15;
        white-space: normal;
    }

    .pages-gallerie__body {
        grid-template-columns: repeat(2, 1fr);
    }

    .pages-gallerie__item {
        min-height: 180px;
    }

    .pages-gallerie__body .pages-gallerie__item:nth-child(1),
    .pages-gallerie__body .pages-gallerie__item:nth-child(4) {
        grid-column: span 2;
    }

}

/*tablet*/
@media (min-width: 768px) and (max-width: 1023px) {

    .pages-gallerie__body {
        grid-template-columns: repeat(2, 1fr);
    }

    .pages-gallerie__item {
        min-height: 180px;
    }

}

/*mobile and tablet*/
@media (max-width: 1024px) {

    .pages-gallerie {
        padding-top: 4em;
        padding-bottom: 0;
    }

}

/*desktop*/
@media (min-width: 1025px) {

    .pages-gallerie__body .pages-gallerie__item:nth-child(1) {
        grid-area: 1 / 1 / 3 / 5;
    }

    .pages-gallerie__body .pages-gallerie__item:nth-child(2) {
        grid-area: 2 / 5 / 3 / 8;
    }

    .pages-gallerie__body .pages-gallerie__item:nth-child(3) {
        grid-area: 1 / 5 / 2 / 8;
    }

    .pages-gallerie__body .pages-gallerie__item:nth-child(4) {
        grid-area: 1 / 8 / 2 / 10;
    }

    .pages-gallerie__body .pages-gallerie__item:nth-child(5) {
        grid-area: 1 / 10 / 2 / 12;
    }

    .pages-gallerie__body .pages-gallerie__item:nth-child(6) {
        grid-area: 2 / 8 / 3 / 12;
    }

}

/*laptop 1*/
@media (min-width: 1024px) and (max-width: 1439px) {

    .pages-gallerie__content {
        max-width: 1000px;
    }

    .pages-gallerie__item {
        min-height: 220px;
    }

}

/*laptop 2*/
@media (min-width: 1440px) and (max-width: 1700px) {

    .pages-gallerie__content {
        max-width: 1190px;
    }

    .pages-gallerie__item {
        min-height: 260px;
    }

}

/*RESPONSIVE*/
