.middelen-grid .wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.middelen-grid .image {
    width: 100%;
    height: 409px;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
}

.middelen-grid .image>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}


.middelen-grid .middelen-item {
    position: relative;
    text-align: center;
    width: 609px;
    height: auto;
    background: linear-gradient(#BD2B82, #8F16FF);
    margin-bottom: 258px;
    margin-left: 10px;
    margin-right: 10px;
}

.middelen-grid .content {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    align-content: space-between;
    padding: 200px 49px 31px 49px;
}

.middelen-grid h1 {
    color: white;
    width: 100%;
    text-align: left;
    font: Rival, Bold;
    font-size: 36px;
    line-height: 44px;
    letter-spacing: 0px;
    opacity: 1;
}

.middelen-grid p {
    color: white;
    font-size: 22px;
    line-height: 34px;
    text-align: left;
    margin-top: 27px;
    width: 100%;
    font-family: Muli, Regular;
    letter-spacing: 0px;
    opacity: 1;
}

.middelen-grid .btn-meer {
    background: none;
    margin-top: 28.6px;
    color: white;
    border-color: white;
    width: 100%;
    height: 62.4px;
    font-size: 18px;
}

.middelen-grid .content a {
	width: 100%;
    color: white;
}

@media screen and (max-width: 1290px) and (orientation: portrait),
screen and (max-width: 1024px) {

    .middelen-grid {
        padding: 0px 105px;
    }

    .middelen-grid .wrapper {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 80px;
    }


    .middelen-grid .image {
        width: 100%;
        height: 409px;
        position: absolute;
        left: 50%;
        top: 0;
        transform: translate(-50%, -50%);
    }

    .middelen-grid .middelen-item {
        text-align: center;
        width: 100%;
        height: auto;
        background: linear-gradient(#BD2B82, #8F16FF);
        margin-bottom: 190px;
    }

    .middelen-grid .content {
        display: flex;
        flex-wrap: wrap;
        height: 100%;
        align-content: space-between;
        padding: 210px 49px 31px 49px;
    }

}

@media screen and (max-width: 767px) {


    .middelen-grid {
        padding: 0px 30px 0px 30px;
    }


    .middelen-grid .wrapper {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 60px;
    }

    .middelen-grid .image {
        width: 100%;
        height: 217px;
        position: absolute;
        left: 50%;
        top: 0;
        transform: translate(-50%, -50%);

    }

    .middelen-grid .image>img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }


    .middelen-grid .middelen-item {
        text-align: center;
        width: 609px;
        height: auto;
        background: linear-gradient(#BD2B82, #8F16FF);
        margin-bottom: 100px;
    }

    .middelen-grid .content {
        display: flex;
        flex-wrap: wrap;
        height: 100%;
        align-content: space-between;
        padding: 115px 30px 28px 30px;
    }

    .middelen-grid h1 {
        color: white;
        width: 100%;
        text-align: left;
        font: Rival, Bold;
        font-size: 40px;
        line-height: 47px;
        letter-spacing: 0px;
        opacity: 1;
    }

    .middelen-grid p {
        color: white;
        font-size: 22px;
        line-height: 34px;
        text-align: left;
        margin-top: 27px;
        width: 100%;
        font-family: Muli, Regular;
        letter-spacing: 0px;
        opacity: 1;
    }

    .middelen-grid .btn-meer {
        background: none;
        margin-top: 28.6px;
        color: white;
        border-color: white;
        width: 100%;
        height: 62.4px;
        font-size: 18px;
    }
}