section#diensten{
    padding-bottom: 80px;
}

section#diensten h2{
    font-size: 45px;
    line-height: 50px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 900;
    margin: 0;
    color: #15388d;
    position: relative;
}

section#diensten .container > h3{
    margin: 0;
    font-weight: 300;
}

section#diensten .dienstwrapper{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 20px;
    row-gap: 40px;
    margin-top: 40px;
}

section#diensten .dienstwrapper .dienst{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

section#diensten .dienstwrapper .dienst h3{
    margin: 0;
}

section#diensten .dienstwrapper img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 4px;
}

@media only screen and (max-width: 1000px) {
    section#diensten h2{
        line-height: 40px;
        font-size: 35px;
    }

    section#diensten .container > h3{
        font-size: 22px;
        line-height: 26px;
        margin: 0 !important;
    }

    section#diensten .dienstwrapper{
        margin-top: 20px;
        grid-template-columns: 1fr 1fr;
    }

    section#diensten{
        padding-bottom: 40px;
    }

    section#diensten .dienstwrapper .dienst h3{
        font-size: 22px;
        line-height: 22px;
    }
}

@media only screen and (max-width: 600px) {
    section#diensten .dienstwrapper{
        grid-template-columns: 1fr;
    }
}