/*
 * Inhoud
 *
 * -Header
 * -Mobiel menu
 * -Watermerken
 * -Footer
 * -Pagina hoogte
 *  -Header
 * -Overgang naar mobiel
 * --Header
 * --Mobiel menu
 * --Footer
 */


/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100% - 170px);
    height: 140px;
    z-index: 2;
    right: 170px;
}
header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--default-color);
    opacity: 0.4;
}
header.sticky::after {
    opacity: 1;
}

header .logo {
    width: auto;
    height: 140px;
    padding: 0 60px;
    position: relative;
    display: flex;
    align-items: center;
}
header .logo a {
    position: relative;
}
header .logo img {
    height: 60px;
    width: auto;
    position: relative;
    z-index: 1;
}

.header-nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}
.header-nav .top-navigation {
    margin-right: 50px;
}
.header-nav .top-navigation .nav {
    display: flex;
    margin: 0;
    padding: 0;
    height: 100%;
}
.header-nav .top-navigation .nav .nav-item {
    list-style: none;
    font-size: 24px;
    margin-right: 45px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-nav .top-navigation .nav-item a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: .3s;
    font-weight: bold;
}
.header-nav .top-navigation .nav .nav-item:hover a {
    color: var(--primary-color);
}
header.sticky .header-nav .top-navigation .nav-item a {
    color: var(--primary-color);
}
header.sticky .header-nav .top-navigation .nav-item:hover a {
    color: var(--secondary-color);
}

/* Mobiel menu */
.fullpage-menu {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: none;
}
.nav-open .fullpage-menu::after {
    content: "";
    background: var(--default-color);
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}
.nav-open .fullpage-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.nav-open .navbar-toggler {
    z-index: 11;
}
.fullpage-menu .logo img {
    width: auto;
    position: relative;
    z-index: 4;
}
.nav-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    z-index: 4;
    height: calc(100% - 160px);
    overflow-x: auto;
}
.page-navigation {
    max-width: 1280px;
    display: block;
    box-sizing: border-box;
    margin: 0 auto;
    width: 100%;
}
.page-navigation .nav {
    list-style: none;
    padding: 60px 0;
    margin: 0;
}
.page-navigation .nav .nav-item {
    padding: 20px 0;
    text-align: center;
}
.page-navigation .nav .nav-item .nav-link {
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Ubuntu-bold', sans-serif;
    font-weight: bold;
    font-size: 60px;
    transition: .3s;
}
.page-navigation .nav .nav-item:hover .nav-link {
    color: var(--secondary-color);
}

.navbar-toggler {
    display: none;
    position: relative;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0 30px;
    -webkit-appearance: none;
    outline: none;
}
.navbar-toggler img {
    width: 40px;
    height: auto;
}
.navbar-toggler-icon {
    display: block;
}
.nav-open .navbar-toggler-icon {
    display: none;
}
.navbar-toggler-times {
    display: none;
}
.nav-open .navbar-toggler-times {
    padding: 0 5px;
    display: block;
}
.navbar-toggler-times img {
    width: 30px;
}

/* Watermerken */
.page-button {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2;
}
.page-button::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 140px;
    background: var(--default-color);
}
header.sticky ~ .page-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 140px;
    background: var(--secondary-color);
}

.page-button .outer-page-button {
    height: 460px;
    width: 170px;
    display: flex;
    justify-content: flex-end;
}
.page-button .outer-page-button::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 130px;
    height: 180px;
    background: var(--default-color);
}
.page-button .outer-page-button::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 130px;
    height: 280px;
    background: var(--primary-color);
}

.page-button .wt-mark {
    z-index: 1;
    position: relative;
    max-height: 410px;
    padding: 20px;
}

/* Footer */
.footer {
    background: #f2f3f9;
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
}
.footer .footer-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 230px 0 60px;
}
.footer .footer-container .content,
.footer .footer-container .content a {
    color: var(--primary-color);
    font-size: 16px;
    font-style: italic;
    font-family: 'Ubuntu', sans-serif;
    margin: 0;
}
.footer .footer-container .footer-socials a,
.footer .footer-container .footer-nav a {
    text-decoration: none;
    font-family: 'Ubuntu-bold', sans-serif;
    font-weight: bold;
    color: var(--primary-color);
    padding: 30px 10px;
    display: inline-block;
}
.footer .footer-container .footer-socials img {
    height: 20px;
}
.footer .footer-container .footer-socials a {
    padding: 25px 10px;
}
.footer .col {
    position: relative;
    z-index: 1;
}
.footer .footer-socials {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 0;
}
.footer .footer-container .footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}
.footer .footer-container .footer-nav a {
    font-weight: normal;
    font-family: 'Ubuntu', sans-serif;
}

/* Pagina hoogte */
@media (max-height: 650px) {
    /* Header */
    .page-navigation .nav {
        padding: 100px 0 60px 0;
    }
    .page-navigation .nav .nav-item {
        padding: 10px 0;
    }
    .page-navigation .nav .nav-item .nav-link {
        font-size: 40px;
    }
}

/* Overgang naar mobiel */
@media (max-width: 1599px) {
    /* Header */
    header {
        height: 100px;
        width: calc(100% - 130px);
    }

    .header-nav .top-navigation {
        margin-right: 0;
    }
    .header-nav .top-navigation .nav .nav-item {
        font-size: 20px;
        margin-right: 30px;
    }

    header .logo {
        height: 100px;
        padding: 0 30px 0 40px;
    }
    header .logo img {
        height: 50px;
    }

    /* Watermerk */
    .page-button::before {
        height: 100px;
    }
    .page-button .outer-page-button {
        width: 130px;
        height: 330px;
    }
    .page-button .outer-page-button::before {
        width: 100px;
    }
    .page-button .wt-mark {
        max-height: 290px;
    }
    .page-button .outer-page-button::after {
        width: 100px;
        height: 200px;
    }

    header.sticky ~ .page-button::after {
        height: 100px;
    }

    /* Footer */
    .footer .footer-container {
        padding: 0 160px 0 60px
    }
    .footer .footer-socials {
        position: relative;
        justify-content: flex-start;
    }
}

@media (min-width: 1200px) {
    .nav-open .fullpage-menu {
        display: none;
    }
}
@media (max-width: 1199px) {
    /* Header */
    .header-nav .top-navigation {
        display: none;
    }

    /* Mobiel menu */
    .navbar-toggler {
        display: flex;
    }

    /* Footer */
    .footer .footer-container {
        display: block;
    }
    .footer .footer-container .col:not(:first-child) {
        width: 50%;
        float: left;
    }
    .footer .footer-container .footer-nav {
        justify-content: flex-end;
    }
    .footer .footer-container .footer-socials a,
    .footer .footer-container .footer-nav a,
    .footer .footer-container .content {
        padding: 15px 20px;
    }
}

@media (max-width: 768px) {
    /* Header */
    header {
        width: 100%;
    }
    header .logo img {
        height: 40px;
    }

    .page-navigation .nav .nav-item .nav-link {
        font-size: 40px;
    }

    .page-button {
        top: inherit;
        right: 0;
        bottom: -240px;
        left: 0;
    }
    header.sticky ~ .page-button::after {
        width: 100%;
        height: 1px;
    }
    .page-button .outer-page-button {
        width: 100%;
        justify-content: flex-start;
        height: 300px;
    }
    .page-button .wt-mark {
        max-height: 100px;
        padding: 15px;
    }
    .page-button .outer-page-button::after {
        content: "Hulplijn voor bedreigde ondernemers";
        position: relative;
        width: 100%;
        height: 60px;
        color: var(--secondary-color);
        display: flex;
        align-items: center;
        padding: 0 20px;
        font-size: 16px;
        text-transform: uppercase;
        font-family: 'Ubuntu-Bold', sans-serif;
    }

    /* Footer */
    .footer .footer-container {
        padding: 0 20px 70px 20px;
    }
    .footer .footer-container .footer-socials a,
    .footer .footer-container .footer-nav a,
    .footer .footer-container .content {
        padding: 15px 10px;
    }
}

@media (max-width: 576px) {
    /* Header */
    header .logo {
        padding: 0 5px 0 20px;
    }
    header .logo img {
        height: 30px;
    }

    .navbar-toggler img {
        width: 30px;
    }
    .nav-open .navbar-toggler-times img {
        width: 20px;
    }
    .page-navigation .nav .nav-item .nav-link {
        font-size: 30px;
    }

    /* Footer */
    .footer .footer-container .col {
        width: 100% !important;
    }
    .footer .footer-container .footer-socials,
    .footer .footer-container .content {
        text-align: center;
    }
    .footer .footer-container .footer-nav,
    .footer .footer-container .footer-socials {
        justify-content: center;
    }
}