.multigrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;

    padding-left: min(200px, 10.42vw);
    padding-right: min(150px, 7.81vw);
    max-width: 1875px;
    margin-left: auto;
    margin-right: auto;

    & .rightBigPicture {
        position: relative;
    }
    & .leftSmallPicture {
        position: relative;
    }
    & .middleSmallPicture {
        position: relative;
    }

    & img {
        min-height: 100%;
        object-fit: cover;
        width: -moz-available;
        width: -webkit-fill-available;
        width: fill-available;
    }

    & picture {
        height: 100%;
        width: 100%;
    }

    & .textfield {
        position: absolute;
        /* bottom: clamp(9.375rem,8.313rem + 4.531vw,10rem); */
        bottom: 2rem;
        width: fit-content;
        margin: 0 auto;
        padding: 0 min(2vw, 60px);

        & a {
            color: #ffffff;

            &:hover {
                transition: color .15s .08s;
                color: #50a2a8;
            }
        }
    }

    & .textblockBodytext {
        & a {
            color: #ffffff;

            &:hover {
                transition: color .15s .08s;
                color: #50a2a8;
            }
        }
    }

    & h1, & h2, & h3, & h4, & h5, & p, & li {
        color: #fff;
        list-style-image: url('../Icons/check.svg');
    }
}

.textblock {
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap: 25px;
    padding-top: 60px;
    padding-bottom: 50px;
    padding-right: 50px;
    padding-left: 6vw;

    & .textblockHeader {
        font-size: var(--font-size-h3);
    }

    &.colored-bg {
        background: transparent linear-gradient(0deg, #017F95 0%, #017F8B 0%, #0D3564 56%, #0F265C 100%) 0% 0% no-repeat padding-box;
        align-items: center;
    }
}

@media screen and (min-width: 600px) {
    .textblock {
        padding-left: 6vw;
    }
}

@media screen and (min-width: 900px) {
    .multigrid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 1fr auto;

        & .textblockHeader {
            align-self: flex-end;
        }

        & .textblockBodytext {
            align-self: flex-start;
        }
    }
}

@media screen and (min-width: 1380px) {
    .multigrid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 1fr auto;

        & .textblock {
            grid-area: 1 / 1 / 2 / 3;
        }
        & .rightBigPicture {
            grid-area: 1 / 3 / 3 / 4;
        }
        & .leftSmallPicture {
            grid-area: 2 / 1 / 3 / 2;
        }
        & .middleSmallPicture {
            grid-area: 2 / 2 / 3 / 3;
        }

        & .textblockHeader,
        & .textblockBodytext {
            align-self: center;
        }
    }

    .textblock {
        grid-template-columns: 1fr 1fr;
        padding-top: 6vw;
        padding-left: 9vw;
    }
}

@media screen and (min-width: 1921px) {
    .textblock {
        padding-top: 115px;
        padding-left: 170px;
    }
}
