/* CSS variables */
:root {
    --light: #f9f9f9;
    --lightAlt: #e0e0e0;
    --footer: #fff;
    --dark: #222;
    --primary: #ef5812; 
    --secondary: #e7e7e7;
    --alt1: #624ac4;
    --alt2: rgb(221, 221, 221);
}

html {
    box-sizing: border-box;
    font-family:'Roboto', sans-serif;
    background-color: var(--light);
    margin: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100vw;
}

img {
    max-width: 100%;
}

.temp {
    max-width: 30rem;
    margin-top: 20rem;
}

/* buttons */

.btnPrimary,
.btnSecondary,
.navContactBtn {
    position: relative;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 3rem;
    transition: background-color 300ms, color 300ms, border-color 300ms;
    border-radius: 0.2rem;
    border: var(--alt1) solid 3px;
}

.btnPrimary,
.btnSecondary {
    padding: 0.8rem 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.2rem;
    font-weight: 500;
    border: var(--alt1) solid 3px;
}

.btnPrimary {
    color: var(--footer);
    background-color: var(--alt1);
    margin-right: 2rem;
}

.btnSecondary {
    color: var(--alt1);
    background-color: transparent;
    margin-right: 0;
}


.btnPrimary:hover,
.btnSecondary:hover,
.navContactBtn:hover {
    color: var(--light);
    background-color: #432BA4;
    border-color: #432BA4;
}

.btnPrimary:active,
.btnSecondary:active,
.navContactBtn:active {
    background-color: #301f75;
    border-color: #301f75;
}

.btnLight {
    position: relative;
    color: var(--dark);
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 300ms;
    text-decoration: none;
}

.textLink {
    text-decoration: underline;
}

.link i {
    transition: padding-left 300ms;
}

.link:hover.link i {
    padding-left: 1.62rem;
}

.line {
    height: .00001rem;
    background-color: var(--secondary);
    width: 50%;
    margin-left: 0;
}

ul {
    list-style-type: square;
}

i.pad {
    padding-left: 1rem;
}

.navContactBtn {
    padding: 0.6rem 0.8rem;
    color: var(--footer);
    background-color: var(--alt1);
}

.sideLine {
    padding-left: 4rem;
    position: absolute;
    margin-top: 1rem;
    left: 0;
    color: var(--primary);
}

.sideLine::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    height: 2px;
    width: 3.2rem;
    background-color: var(--primary);
    transform: translateY(-50%);
}

/* Layout -------------------------------------------- */
.wrapper,
.wrapperHeader {
    display: grid;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    padding-left: 4rem;
    padding-right: 4rem;
    gap: 24px;
    grid-template-columns: repeat(12, 1fr);
    width: 100vw;
    box-sizing: border-box;
    position: relative;
}

.wrapper {
    max-width: 82rem;  
}

.wrapperRoute {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(6, 1fr);
}

.wrapperSub {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(12, 1fr);
}

.noGap {
    row-gap: 0;
    column-gap: 0;
}

section {
    padding-bottom: 12rem;
    box-sizing: border-box;
    color: var(--dark);
    position: relative;
}

.sectionWhite {
    background-color: var(--light);
}

.first {
    padding-top: 30vh;
}

.vhMinHeight {
    min-height: 100vh;
}

.container {
    padding-top: 6rem;
    padding-bottom: 6rem;
    background-color: var(--secondary);
    color: var(--dark);
    position: relative;
    transition: all 300ms;
}
.containerImg {
    margin-bottom: 1.38rem;
}

.containerHidden {
    overflow: hidden;
    max-height: 0rem;
    padding-top: 3rem;
}

.containerShow {
    max-height: fit-content;
}

#arrow {
    padding-left: 0.8rem;
}

.noPadding {
    padding: 0;
}
.noTop {
    margin-top: 0;
    padding-top: 0;
}
.noBottom {
    margin-bottom: 0;
    padding-bottom: 0;
}

.row {
    width: 100%;
    margin-top: 4rem;
}

.lineBlock {
    margin-left: 0;
    width: 50%;
    display: block; height: 1px;
    border: 0; border-top: 1px solid var(--primary);
    margin: 1em 0; padding: 0;
}

@media (max-width: 1690px) {
    .sideLine {
        position: relative;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0;
        max-width: 82rem;  
        box-sizing: border-box;
    }
    .sideLine::before {
        visibility: hidden;
    }
    .wrapperHeader {
        max-width: 82rem;
    }
}

/* Navigation */
header {
    width: 100vw;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 9999;
    box-sizing: border-box;
}

.headerBG {
    background-color: var(--light);
    position: absolute;
    width: 100%;
    height: 0%;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all .8s;
}

.headerBGshow {
    height: 100%;
}

.navContainer {
    padding-top: 1rem;
    padding-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;    
}

.logo {
    z-index: 2;
}
#navLogo {
    height: 2.5rem;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    width: auto;
    gap: 12px;
}

#navLogo .NL-1 {
    height: 70%;
}

#navLogo .NL-2 {
    height: 100%;
}

#navLogo img {
    width: auto;
    display: flexbox;
}

#navLogo > .navLogoItem1 {
    height: 30px;
}

nav {
    display: flex;
    gap: 3rem;
}

.navItem{
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    text-align: center;
    position: relative;
}

.navLink,
.navContactBtn { 
    box-sizing: border-box;
    text-decoration: none;
    transition: color .2s;
}

.currentPage,
.navLink:hover,
.navLink:focus {
    color: var(--primary);
}

.currentPage:after,
.navLink:hover:after,
.navLink:focus:after {
    opacity: 1;
    transform: scaleX(1);
    background-color: var(--primary);
}

.navInfo {
    display: none;
    margin-top: 7rem;
    flex-direction: column;
    align-items: center;
    bottom: 0;
    left: 0;
}
.navInfo p {
    margin-top: 0;
}

#burger {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    opacity: 0;
    z-index: 2;
    font-size: 2rem;
}

.menuBG {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #22222255;
    width: 100vw;
    height: 100vh;
    opacity: 100%;
    transition: opacity 300ms;
}

.menuShowChild {
    width: 0;
    opacity: 0%;
}



@media (min-width: 1025px) {
    #burger {
        width: 0;
        opacity: 0;
    }
}

.wrapperSub,
.item-full {
    grid-column: 1 / 13;
}

.item-a {
    grid-column: 1 / 7;
}
.item-a2 {
    grid-column: 4 / 13;
}
.item-aLong {
    grid-column: 1 / 8;
}

.item-b {
    grid-column: 7 / 13;
}

.item-c {
    grid-column: 1 / 5;
}

.item-d {
    grid-column: 5 / 9;
}

.item-e {
    grid-column: 9 / 13;
}

.item-f {
    grid-column: 2 / 6;
}

.item-f2 {
    grid-column: 2 / 12;
}

.item-g {
    grid-column: 8 / 12;
}

.itemShort-a {
    grid-column: 1 / 4;
}
.itemShort-b {
    grid-column: 4 / 7;
}
.itemShort-c {
    grid-column: 7 / 10;
}
.itemShort-d {
    grid-column: 10 / 13;
}

.item-footer2 {
    grid-column: 5 / 13;
}

.wrapperSub,
.item-full,
.item-a,
.item-a2,
.itemShort-a,
.item-b,
.itemShort-b,
.item-c,
.itemShort-c,
.item-d,
.itemShort-d,
.item-e,
.item-f,
.item-f2,
.item-g {
    position: relative;
}


.wrapper img,
.wrapper svg {
    display: block;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}


/* Home */
#hero {
    grid-column: 1 / 13;
    display: flex;
    flex-direction: column;
}

.heroLogo {
    display: flex;
}
.heroLogo img {
    max-height: 4rem;
    width: auto;
    margin: 0;
}

.heroImage,
.heroImageAlt {
    position: absolute;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    z-index: -1;
} 

.heroImage {
    background-image: url('../media/images/hero.webp');
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    transform: translate3d();
}

.heroImageAlt {
    margin-left: auto;
    margin-right: auto;
    width: 90vw;
    height: 80vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#diensten {
    padding-top: 6rem;
}


/* Phone-only */
@media (max-width: 599px) { 
    .wrapperSub,
    .item-full,
    .item-a,    .itemShort-a, .item-aLong,
    .item-b,    .itemShort-b,
    .item-c,    .itemShort-c,
    .item-d,    .itemShort-d,
    .item-e,
    .item-f,    .item-f2,
    .item-g,
    .item-footer2 {
        grid-column: 1 / 5;
    }

    .heroLogo {
        order: -1;
    }

    footer {
        text-align: center;
    }

    .order1Sml {
        order: 1;
    }

    .order2Sml {
        order: 2;
    }

}

/* Tablet ONLY */
@media (min-width: 600px) and (max-width: 1024px) { 
    #hero,
    .item-full,
    .item-full-tablet,
    .wrapperSub {
        grid-column: 1 / 9;
    }

    .item-a-tablet {
        grid-column: 1 / 5;
    }

    .item-b-tablet {
        grid-column: 5 / 9;
    }

    .item-c-tablet {
        grid-column: 1 / 3;
    }
    .item-c2-tablet {
        grid-column: 3 / 9;
    }
}

.dienstCasa {
    position: absolute;
    background-image: url("../media/images/casa.webp");
    width: 100%;
    height: 100%;
    background-repeat: none;
    background-size:cover;
    background-position: center;
}

.dienstImg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('../media/images/dienstHome.webp');
    background-repeat: none;
    background-size: cover;
    background-position: center;
}
.particulierImg {
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: auto;
}

.mapBorder {
    border: solid var(--alt1) 4px;
    
}

.mapCopy {
    padding: 4rem;
}

.mapImg {
    background-image: url("../media/images/HBMap.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Testimonial */

.RB-container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: nowrap;
    line-height: 1.75;
}

.RB-container svg {
    display: flexbox;
    margin-left: 0;
}

.RB-tekst {
    padding-right: 1.4rem;
    width: auto;
    white-space: nowrap;
}

.RB {
    display: flexbox;
    max-width: 50%;
}

.cls-1 {
    fill: #aa0a2f;
}
.cls-2 {
    fill: var(--dark);
}
.cls-3 {
    fill: var(--footer);
}

/* Particulier------------------------------------------------------- */
.number {
    color: var(--primary);
}

/* Zakelijk------------------------------------------------------- */


/* Over Ons------------------------------------------------------- */

/* Vennoten */

.bioPic {
    border-radius: 51%;
    width: 75%;
}

.personalInfo {
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.general {
    order: 2;
}

.personalInfo svg {
    order: 1;
    width: 3.2rem;
    height: 3.2rem;
    margin-left: 0;
    margin-right: 0;
    fill: #0A66C1;
    border-radius: 2px;
}

.personalInfo svg:hover,
.personalInfo svg:focus {
    fill: var(--primary);
    cursor: pointer;
}


/* Contact------------------------------------------------------- */

.contactInfo p {
    color: white;
}

.map {
    width: 100%;
    height: 100%;
}

.locatie {
    margin-bottom: 3rem;
}

/* Vacatures------------------------------------------------------- */

.block {
    margin-top: 3rem;
}

.block h3,
.block h4 {
    margin-top: 1.5rem;
}

.recruiters {
    margin-bottom: 5rem;
}


/* Call to action */

.CTA {
    padding-top: 4rem;
    padding-bottom: 4rem;
    color: var(--dark);
}

.CTAimg {
    border-radius: 2%;
}

.roundedImg {
    border-radius: .5rem;
}


/* footer */

footer {
    margin: 0 0 0;
    padding: 3rem 0 1rem;
    bottom: 0;
    background-color: var(--footer);
    color: var(--dark);
    width: 100vw;
}

footer a {
    color: var(--alt1);
}

.footerLogoContainer {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footerLogo {
    width: auto;
    height: auto;
    max-width: 75%;
    max-height: 7rem;
    margin-right: auto;
    display: flexbox;
    top: 0;
}
.footerLogo2 {
    max-height: 5rem;
    margin-top: 1rem;
}

.footnote {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
    margin-left: auto;
    margin-right: auto;
    gap: 20px;
}

.btnText {
    color: var(--dark);
}

.btnText:hover,
.btnText:focus {
    color: var(--primary);
}

.iFooter {
    padding-left: 0;
    padding-right: 1rem;
}



/* Image-huggers-------------------------DECO------------ */

/* image decoration colors */
.decoPrimary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.decoSecondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.decoAlt1 {
    background-color: var(--alt1);
    border-color: var(--alt1);
}


.decoLight {
    background-color: var(--light);
    border-color: var(--light);
}

.decoDark {
    background-color: var(--dark);
    border-color: var(--dark);
}

/* Deco TYPE */

.deco {
    position: absolute;
    box-sizing: border-box;
    z-index: -1;
}

.decoBorder {
    border-style: solid;
    border-width: .2rem;

    z-index: 3;
    background-color: transparent;
}

.decoImg {
    z-index: 20;
}

/* Deco positioners */

.decoFrame {
    position: relative;
    z-index: 1;
}

.cornerHug {
    top: -2rem;
    right: -2rem;
    width: 13rem; 
    height: 6rem;
}

.bottomSlug {
    width: 16rem;
    height: 4rem;
    bottom: -2rem;
    left: 4rem;
}

.testiHug1 {
    width: 2rem;
    height: 2rem;
    top: 4rem;
    left: -5rem;
}

.testiHug2 {
    width: 1rem;
    height: 1rem;
    top: 6rem;
    left: -3rem;
    z-index: 2;
}

.CTAimg-square {
    width: 5rem;
    height: 5rem;
    bottom: 0;
    right: 0;
}

/* Over ons */
.vennootHug1 {
    width: 5rem;
    height: 5rem;
    top: 2rem;
    left: 2rem;
}

.vennootHug2 {
    width: 4rem;
    height: 4rem;
    bottom: 0rem;
    right: 3rem;
}

/* Contact */
.routeHug {
    top: 2rem;
    right: -2rem;
    height: 7rem;
    width: 4rem;
}


@media (max-width: 1024px) {
    .heroImage {
        background-image: url('../media/images/heroTablet.webp');
    }
    .sideLine {
        padding-left: 2rem;
    }
    .dienstImg {
        visibility: hidden;
    }
    .mapCopy {
        padding: 2rem;
    }
}

@media (max-width: 1799px) {
    .cornerHug {
        width: 11rem; 
        height: 5rem;
    }
    .bottomSlug {
        width: 10rem;
    }
    .huggerDienstenHome {
        height: 5rem;
    }
    .testiHug1,
    .testiHug2 {
        display: none;
    }

    .CTAimg-square {
        width: 4rem;
        height: 4rem;
    }

    .vennootHug1 {
        width: 4rem;
        height: 4rem;
        top: 1rem;
    }
    .vennootHug2 {
        right: 2rem;
    }

    .routeHug {
        height: 6rem;
    }
}

@media (max-width: 599px) {
    .titleBreak {
        display: none;
    }
    .heroImage {
        order: -1;
        background-image: url('../media/images/heroMobile.webp');
    }
    .CTAimg-square {
        left: 70%;
        transform: translateX(-70%);
    }

    .dienstCasa {
        position: relative;
        height: 14rem;
        margin-top: .8rem;
        margin-bottom: 2rem;
    }

    .mapImg {
        height: 16rem;
    }

    .cornerHug {
        top: -1rem;
        width: 9rem; 
        height: 3rem;
    }
    .bottomSlug {
        width: 8rem;
        bottom: -1rem;
    }
}

/* Responsive----------------------------- */


/* Phone-only */
@media (max-width: 599px) { 
    .wrapper,
    .wrapperSub,
    .wrapperRoute {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .btn {
        left: 50%;
        transform: translateX(-50%);
    }

    .btnPrimary {
        margin-right: 1rem;
    }

    .intro {
        display: none;
    }

    .first {
        padding-top: 6rem;
        padding-bottom: auto;
        min-height: 100vh;
    }

    .RB {
        max-width: 8rem;
    }

    .RB-container {
        justify-content: center;
    }
    .RB-container svg {
        margin-right: 0;
    }

    .mapContainer {
        height: 30rem;
    }

    .line { 
        margin-left: auto;
    }
    .lineBlock {
        margin-left: auto;
        margin-right: auto;
        margin-top: 1.3rem;
    }

    .CTAimg,
    .bioPic {
        width: 40%;
    }

    .footnote {
        flex-direction: column;
        margin-left: 0;
        gap: 0;
    }
    .footnote p {
        margin-top: 0;
    }

    .dot {
        display: none;
    }
    
}

/* Tablet landscape - down */
@media (max-width: 1024px) { 

    .logo {
        display: none;
    }

    .navContainer {
        justify-content: flex-end;
    }

    #burger {
        cursor: pointer;
        opacity: 1;
    }

    .navHiddenMobile {
        display: flex;
        position: absolute;
        flex-direction: column;
        width: 0vw;
        height: 100vh;
        background-color:var(--light);
        top: 0;
        right: 0;
        gap: 2rem;
        padding-top: 12vh;
        z-index: 1;
        opacity: 0;
        transform: scale(0, 1);
        transition: width 300ms, opacity 300ms;
        
    }

    .navInfo {
        display: flex;
    }

    .show {
        opacity: 1;
        width: 90vw;
    }
    .showDelay {
        transform: scale(1, 1);
    }

    .wrapper, 
    .wrapperHeader {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .row {
        display: none;
    }

    .bioPic {
        margin-top: 3rem;
    }

    .footerLogoContainer {
        display: none;
    }}

/* Tablet ONLY*/
@media (min-width: 600px) and (max-width: 1024px) { 
    .wrapper,
    .wrapperSub,
    .wrapperRoute {
        grid-template-columns: repeat(8, 1fr);
    }

    .RB {
        max-width: 10rem;
    }

    .footnote {
        justify-content: flex-start;
        margin-left: 2rem;
    }
}

/* Desktop small ONLY */
@media (min-width: 1025px) and (max-width: 1799px) {
    nav {
        gap: 2.8rem;
    }
    .hide {
        display: none;
    }
        
}

/* Desktop mid */
@media (min-width: 1800px) { 
    .hide {
        display: none;
    }
}