section#diensten{
    padding-top: 80px;
    padding-bottom: 160px;
    position: relative;
}

section#diensten .dienstengear{
    height: 100%;
    width: 800px;
    
    position: absolute;
    right: 10px;
    top: -135px;
    object-position: left;
    z-index: 1;
    overflow: hidden;
}

section#diensten .dienstengear .fullgear{
    object-fit: contain;
    height: 100%;
    width: 100%;
}

section#diensten:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 50%;
    bottom: 0;
}

section#diensten h2{
    margin: 0;
    color: white;
    font-size: 45px;
    line-height: 50px;
    margin-bottom: 40px;
    font-weight: 700;
}

section#diensten .content p{
    color: white;
}

section#diensten h2 strong{
    color: #be1622;
}

section#diensten .container .content a.button{
    margin-top: 30px;
}

section#diensten .container .content a.button:hover{
    background: #0ADCD2;
    color: #011A36;
}

section#diensten .container{
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
    overflow: visible;
    align-items: center;
    z-index: 1;
}

section#diensten .container .content{
    flex: 0 0 55%;
    padding: 80px 60px;
    box-sizing: border-box;
    border-radius: 20px;
    z-index: 2;
    position: relative;
    bottom: -10px;
    opacity: 0;
}
section#diensten .container .content a:not(.button){
    display: inline-block;
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

section#diensten .container:before{
    position: absolute;
    width: 80%;
    background: #011A36;
    height: 100%;
    content: '';
    border-radius: 20px;
}

section#diensten .container .afbeelding{
    position: absolute;
    right: 0;
    bottom: -90px;
    height: 100%;
    width: 45%;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
}

section#diensten .container .afbeelding a{
    height: 100%;
    display: flex;
    width: 100%;
    position: relative;
    justify-content: center;
    align-items: center;
}

section#diensten .container .afbeelding a:before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

section#diensten .container .afbeelding a .playbutton{
    position: absolute;
    height: 50%;
    width: 50%;
    object-fit: contain;
    object-position: center;
}

section#diensten .container .afbeelding a .thumb{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

section#diensten .container .dienstwrapper .row img{
    width: 70px;
    height: 70px;
    object-fit: contain;
    background: #EAEAEA;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 10px;
    flex: 0 0 70px;
}

section#diensten .container .dienstwrapper .row:nth-child(n+3){
    margin-top: 40px;
} 

section#diensten .container .dienstwrapper .row{
    display: flex;
    gap: 20px;
}

section#diensten .container .dienstwrapper .row h3{
    font-size: 20px;
    line-height: 20px;
    margin-top: 0;
    margin-bottom: 5px;
}

section#diensten .container .dienstwrapper .row .content p{
    margin: 0;
}

section#diensten .container .dienstgalerij{
    flex: 1;
    position: relative;
    display: grid;
    grid-template: 1fr / 1fr 1fr;
    gap: 20px;
    padding-bottom: 60px;
}

section#diensten .container .dienstgalerij a{
    position: relative;
    width: 100%;
    display: block;
}

section#diensten .container .dienstgalerij .column:nth-child(2){
    position: relative;
    top: 60px;
}

section#diensten .container .dienstgalerij a:nth-child(2){
    margin-top: 20px;
}

section#diensten .container .dienstgalerij a img{
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: grayscale(1);
}

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


    section#diensten .container .dienstwrapper{
        flex: 0 0 100%;
    }
}

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

    section#diensten .container .content{
        flex: 0 0 100%;
        padding: 40px;
    }

    section#diensten .container{
        gap: 40px;
        justify-content: center;
    }

    section#diensten .dienstengear{
        width: 90%;
        height: 100%;
        top: 10px;
    }

    section#diensten .dienstengear img{
        height: auto!important;
    }

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

    section#diensten .container:before{
        width: 100%;
    }

    section#diensten .container .afbeelding{
        height: 300px;
        width: 80%;
        bottom: -280px;
        right: unset;
    }
}

@media screen and (max-width: 750px) {
    section#diensten h2{
        font-size: 30px;
        line-height: 30px;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 550px) {
    section#diensten .container .dienstgalerij a img{
        height: 140px;
    }
}