/* ****************************** */
/* BELOW 1344px (Smaller desktops (NEST HUB MAX 1280px)) */
/* ****************************** */

@media (max-width: 84em) {
    .pijlers {
        width: 60%;
    }

    /*  INTERIM EN CONSULTANCY  */
    .interim-directeur {
        padding: 4.8rem 4.8rem;
    }

    /*  BUILDING PEOPLE  */
    /*  OVER ONS  */
    .oprichters {
        padding: 4.8rem 4.8rem;
    }

    .modal {
        width: 75%;
    }

    /*  CONTACT  */
}

/* ****************************** */
/* BELOW 1200px (Landscape Tablets (IPAD PRO 1024px)) */
/* ****************************** */

@media (max-width: 75em) {
    html {
        font-size: 56.25%;
    }

    .nav-box {
        padding: 0 3.2rem;
    }

    .header-tekst-box {
        top: 30%;
    }

    .header-tekst-box img {
        width: 60%;
    }

    .pijlers {
        width: 60%;
    }

    .onze-ervaring-box img {
        margin-left: 4rem;
    }

    .image-border-ervaring {
        width: 82%;
    }

    /*  INTERIM EN CONSULTANCY  */
    .interim-directeur {
        width: 70%;
    }

    .quote-interim-manager blockquote {
        font-size: 3rem;
    }

    /*  BUILDING PEOPLE  */
    .keys-activator {
        padding: 4.8rem 4.8rem;
    }

    .keys-activator img {
        width: 50%;
    }

    .quote-keys-activator blockquote {
        font-size: 3.6rem;
    }

    .quote-keys-activator img {
        width: 75%;
    }

    /*  OVER ONS  */
    .oprichters {
        width: 75%;
    }

    .modal {
        width: 90%;
    }

    /*  CONTACT  */
    .contact-formulier form {
        width: 60%;
    }
}

/* ****************************** */
/* BELOW 944px (Tablets (IPAD AIR 820px)) */
/* ****************************** */

@media (max-width: 59em) {
    html {
        font-size: 50%;
    }

    /* MOBILE NAVIGATION */
    .btn-mobile-nav {
        display: block;
        z-index: 9999;
    }

    .main-nav {
        background-color: #003057;
        /*-webkit-backdrop-filter: blur(5px);*/
        /*backdrop-filter: blur(10px);*/
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        transform: translateX(100%);

        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease-in;
        z-index: 20;

        /* Hide navigation */
        /* Allows NO transitions at all */
        /* display: none; */

        /* 1) Hide it visually */
        opacity: 0;

        /* 2) Make it unaccessible to mouse and keyboard */
        pointer-events: none;

        /* 3) Hide it from screen readers */
        visibility: hidden;
    }

    .nav-open .main-nav {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transform: translateX(0);
    }

    .nav-open .icon-mobile-nav.menu-x {
        display: block;
    }

    .nav-open .icon-mobile-nav.menu-bars {
        display: none;
    }

    .main-nav-list {
        flex-direction: column;
        gap: 4.8rem;
    }

    .main-nav-link:link,
    .main-nav-link:visited {
        font-size: 3rem;
    }

    .image-border-werkwijze {
        height: 25rem;
    }

    .image-border-ervaring {
        height: 25rem;
    }

    .footer-box {
        padding: 2.4rem 2.4rem;
    }

    /*  INTERIM EN CONSULTANCY  */
    .voorbeeld-situaties div {
        padding: 4.8rem 4.8rem;
    }

    /*  BUILDING PEOPLE  */
    .header-building-people-tekst-box img {
        width: 20%;
    }

    .keys-activator {
        width: 75%;
    }

    /*  OVER ONS  */
    /*  CONTACT  */
}

/* ****************************** */
/* BELOW 768px (Smaller Tablets (IPAD MINI 768px)) */
/* ****************************** */

@media (max-width: 48em) {
    .header-tekst-box span:nth-child(1) {
        letter-spacing: 1.2rem;
    }

    .image-border-werkwijze {
        height: 25rem;
    }

    .image-border-ervaring {
        height: 25rem;
    }
}

/* ****************************** */
/* BELOW 544px (Phones) (Galaxy S20 below 412px) */
/* ****************************** */

@media (max-width: 34em) {
    .header-home {
        height: auto;
    }

    .header-tekst-box {
        top: 40%;
        width: 75%;
    }

    .header-tekst-box img {
        width: 90%;
    }

    .header-tekst-box span:nth-child(1) {
        font-size: 8.6rem;
        letter-spacing: .7rem;
    }

    .header-tekst-box span:nth-child(2) {
        margin-bottom: 3.2rem;
    }

    .header-tekst-box span hr {
        width: 2rem;
    }

    .header-tekst-box p {
        font-size: 2.4rem;
    }

    .header-tekst-box hr {
        display: inline-block;
        width: 10rem;
        border: .1rem solid #F9B000;
    }

    .to-1-col {
        grid-template-columns: 1fr;
    }

    .pijler-consultancy,
    .pijler-building-people {
        justify-self: center;
    }

    .pijler-building-people {
        margin-top: 2rem;
    }

    .image-border-werkwijze {
        height: 25rem;
    }

    .image-border-ervaring {
        position: absolute;
        border: .3rem solid #FFE37E;
        border-radius: 5rem;
        width: 80%;
        height: 30rem;
        z-index: -1;
        top: -20%;
        left: 55%;
        transform: translate(-50%, -50%);
    }

    .ervaring-img {
        margin-bottom: -28rem;
    }

    .onze-ervaring-box p {
        margin-bottom: 25rem;
        padding: 0 2rem;
    }

    .waar-kunnen-wij-helpen div {
        padding: 2.4rem 3rem;
        margin-top: -13rem;
    }

    .waar-kunnen-wij-helpen li {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .waar-kunnen-wij-helpen li:before {
        margin-top: -3px;
    }

    .recensies h2 {
        margin-top: 12rem;
    }

    .recensie-box {
        padding: 4.8rem 4.8rem;
    }

    .recensie-button-rechts {
        right: -7%;
    }

    .footer-box {
        justify-items: center;
        flex-direction: row;
    }

    .footer-box div :nth-child(1) {
        justify-self: center;
        grid-row: 2;
    }

    .footer-box div:nth-child(2) {
        grid-row: 1;
    }

    .footer-box p {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .footer-box span {
        text-align: center;
    }

    /*  INTERIM EN CONSULTANCY  */
    .header-interim-consultancy-tekst-box img {
        width: 25%;
    }

    .section-voorbeeld-situaties {
        padding: 0 2.4rem;
        height: 45rem;
    }

    .voorbeeld-situaties div {
        margin-top: -13rem;
    }

    .voorbeeld-situaties li {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .voorbeeld-situaties li:before {
        margin-top: -3px;
    }

    .interim-directeur {
        padding: 4.8rem 4.8rem;
        width: 85%;
    }

    .interim-directeur img {
        width: 80%;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .wrap {
        float: none;
    }

    .quote-interim-manager img {
        width: 60%;
    }

    .cta-interim-consultancy p {
        font-size: 2.4rem;
    }

    /*  BUILDING PEOPLE  */
    .header-building-people-tekst-box img {
        width: 15%;
    }

    .header-building-people-tekst-box {
        width: 90%;
    }

    .resultaat-tekst img {
        width: 80%;
    }

    .keys-activator {
        width: 85%;
    }

    .keys-activator img {
        width: 80%;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    /*  OVER ONS  */
    .header-over-ons {
        min-height: 40rem;
    }

    .header-over-ons-tekst-box {
        top: 50%;
    }

    .oprichters {
        padding: 2.4rem 2.4rem;
        width: 85%;
    }

    .oprichters img {
        width: 80%;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-over-ons p:nth-child(1) {
        font-size: 2.4rem;
    }

    .cta-over-ons p:nth-child(2) {
        font-size: 1.6rem;
    }

    .teamlid {
        width: 75%;
        justify-self: center;
    }

    .modal {
        padding: 4.8rem 2.4rem;
    }

    .modal-tekst-box p {
        margin-bottom: 2rem;
    }

    .modal1 {
        transform: translate(-50%, -100%);
    }

    .modal2 {
        transform: translate(-50%, -100%);
    }

    .modal3 {
        transform: translate(-50%, -100%);
    }

    /*  CONTACT  */
    .header-contact {
        min-height: 40rem;
    }

    .header-contact-tekst-box {
        top: 50%;
    }

    .contact-box-john {
        margin-top: -13rem;
    }

    .contact-box-marianne {
        grid-row: auto;
        grid-column: auto;
    }

    .contact-formulier form {
        width: 95%;
    }

    .contact-formulier h2 {
        font-size: 2.4rem;
    }

    .contact-formulier p {
        font-size: 1.6rem;
    }

    .contact-btn {
        margin-top: 2rem;
    }
}

/* ****************************** */
/* BELOW 352px (Galaxy Z Fold 5) */
/* ****************************** */

@media (max-width: 22em) {
    .pijlers {
        width: 80%;
    }

    .image-border-werkwijze {
        height: 20rem;
    }

    .werkwijze-slogan img {
        width: 60%;
    }

    .image-border-ervaring {
        height: 25rem;
    }

    .section-waar-kunnen-wij-helpen {
        height: 50rem;
    }

    .waar-kunnen-wij-helpen li {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .waar-kunnen-wij-helpen li:before {
        margin-top: -3px;
    }

    .waar-kunnen-wij-helpen div {
        margin-top: -10rem;
    }

    .recensies h2 {
        margin-top: 5rem;
    }

    .recensie-button-rechts {
        right: -9%;
    }

    .section-cta-home {
        padding: 6.4rem 0;
    }

    .section-cta-home h2 {
        font-size: 2.4rem;
    }

    .section-cta-home p {
        font-size: 1.6rem;
    }

    .footer-box img {
        width: 50%;
    }

    .footer-box p {
        font-size: 1.6rem;
    }

    /*  INTERIM EN CONSULTANCY  */
    .section-voorbeeld-situaties {
        padding: 0 1.2rem;
        height: 60rem;
    }

    .interim-directeur {
        padding: 4.8rem 1.6rem;
        width: 90%;
    }

    /*  BUILDING PEOPLE  */
    .keys-activator {
        padding: 4.8rem 2.4rem;
        width: 90%;
    }

    .quote-keys-activator blockquote {
        font-size: 2.4rem;
    }

    .cta-building-people p:nth-child(1) {
        font-size: 2.4rem;
    }

    .cta-building-people p:nth-child(2) {
        font-size: 1.6rem;
    }

    /*  OVER ONS  */
    .modal-img-en-tekst-box span {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        padding: 0 2.4rem;
    }

    .modal1 {
        transform: translate(-50%, -85%);
    }

    .modal2 {
        transform: translate(-50%, -85%);
    }

    .modal3 {
        transform: translate(-50%, -90%);
    }

    /*  CONTACT  */
    /* ****************************** */
    /* BELOW 320px (Smallest phone) */
    /* ****************************** */
    @media (max-width: 20em) {
        .section-voorbeeld-situaties {
            padding: 0 1.2rem;
            height: 65rem;
        }
    }
}
