#heroA{
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 140px;
}

#heroA .beeldmerk{
    position: absolute;
    overflow: visible;
    left: 18%;
    height: 120%;
    pointer-events: none;
}

#heroA .beeldmerk img{
    height: 100%;
    width: auto;
    pointer-events: none;
}

.lijnbeeldmerk{
    position: absolute;
    top: 0;
    width: 100%;
    height: auto;
    pointer-events: none;
}

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

#heroA .mediahero .button{
    position: absolute;
    left: 10%;
    bottom: 180px;
    z-index: 2;
}

#heroA .mediahero .teksthero h1{
    font-size: 55px;
    line-height: 81px;
    font-weight: 600;
}

#heroA .mediahero .teksthero .tekstbubbel{
    height: 100%;
    width: 100%;
    position: relative;
}

#heroA .mediahero .teksthero .tekstbubbel .triangle{
    width: 0;
    height: 0;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-right: 30px solid #e38d73;
    position: absolute;
    left: -20px;
    top: calc(100% + -10px);
    transform: rotate(45deg);
    transform-origin: left;
}


#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: flex-end;
}

#heroA .mediahero .heroimage{
    flex: 0 0 55%;
}

#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;
    left: 10%;
    box-sizing: border-box;
    z-index: 1;
    background: #e38d73;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 30px;
    border-bottom-left-radius: 0!important;
}

#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;
    }

    #heroA .beeldmerk{
        max-width: 90%;
        left: 0;
        overflow: hidden;
        display: flex;
        align-items: center;
    }

    #heroA .beeldmerk img{
        width: 100%;
        height: auto;
    }

    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;
    }
}

@media only screen and (max-width: 900px) {
    #heroA .beeldmerk{
        display: none;
    }

    #heroA .mediahero .heroimage{
        flex: 0 0 95%;
    }
    #heroA .mediahero img{
        height: 600px;
    }

    #heroA{
        margin-bottom: 0;
    }

    #heroA .mediahero .button{
        bottom: 130px;
    }
}

@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%;
    }
    
}