#heroA{
    position: relative;
    overflow: hidden;
}

#heroA::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #00000045;
    top: 0;
    left: 0;
    z-index: 1;
}

#heroA .mediahero .teksthero h1{
    color: white!important;
}

#heroA .mediahero .teksthero h1{
    font-size: 66px;
    line-height: 95px;
    font-weight: 800;
}

#heroA .mediahero .teksthero h1 span{
    font-size: 83px;
    line-height: 95px;
    font-weight: bold;
    color: #ae0018;
}

#heroA .mediahero .teksthero .groenekubuswrapper{
    position: relative;
    width: 100%;
    height: 100%;
    display: contents;
}

#heroA .mediahero .teksthero .groenekubus{
    background: #ae0018;
    width: 75px;
    height: 75px;
    position: absolute;
    right: 50px;
    top: 20px;
}

body:not(.home) #heroA{
    margin-bottom: 220px;
}

#heroA .herobeeldmerk{
    position: absolute;
    top: -00px;
    right: 0%;
    height: 100%;
    width: auto;
    max-width: none;
    z-index: 0;
    pointer-events: none;
}

#heroA .herobeeldmerk img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#heroA .mediahero{
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#heroA .mediahero video{
    width: 100%;
    height: 700px;
    object-fit: cover;
    display: block;
}

#heroA .mediahero img{
    width: 100%;
    height: 800px;
    object-fit: cover;
    border-bottom-left-radius: 100px;
}

#heroA .mediahero .teksthero{
    position: absolute;
    color: white;
    box-sizing: border-box;
    z-index: 1;
}

#heroA .mediahero .teksthero p{
    font-size: 20px;
    line-height: 25px;
    font-weight: bold;
}

#heroA .mediahero .teksthero > *{
    margin: 0;
}

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

    #heroA .mediahero video{
        height: 600px;
    }

    body #heroA > .mediahero .teksthero h1{
        font-size: 38px;
        line-height: 48px;
    }

    body #heroA > .mediahero .teksthero h1 span{
        font-size: 38px;
        line-height: 48px;
    }
    #heroA .mediahero .teksthero .groenekubus{
        top: -85px;
    }

    #heroA .mediahero .teksthero{
        right: 10%;
    }
}

@media only screen and (max-width: 700px) {
    header#mainbar figure.nav-logo a, header#mainbar figure.nav-logo{
        max-width: 100%;
    }
    header#mainbar figure.nav-logo a img{
        height: 55px!important;
        max-width: 100%;
    }
    
}