.header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1000;
}
  
.main-nav {
    padding: 30px 7.5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(0); /*backdrop filter toevoegen on scroll met javascript*/
    transition: all .35s ease;
}

.main-nav-elements {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: fixed;
    transform: none;
    left: auto;
    right: 0;
    top: -110dvh;
    background-color: #ffffff;
    height: 100dvh;
    width: 100%;
}

.navbar-blur {
    -webkit-backdrop-filter: blur(5px) !important;
    backdrop-filter: blur(5px) !important;
}

.navbar-white {
    background: #ffffff;
}

.navbar-logo-link {
    z-index: 1001;
}

.navbar-logo {
    display: block;
    height: 40px;
}

.main-nav-cta-button {
    display: none;
}

.nav-links {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; 
    align-items: center;
    flex-direction: column;
    gap: 30px;
}

.nav-link-wrapper {
    font-weight: 400;
    font-size: 23px;
}

.nav-link-wrapper[aria-current="page"] {
    position: relative;
    pointer-events: none;
    cursor: default;
}

.nav-link-wrapper[aria-current="page"]::after {
    content: "";
    position: absolute;
    right: 0;
    top: 100%;
    height: 1px;
    width: 100%;
    background-color: #000000;
}
  
.nav-link {
    position: relative;
    text-decoration: none;
    color: #000000;
}

.nav-link {
    transition: color 0.3s ease; /* Adjust the duration and easing as needed */
}

.nav-link::after {
    content: "";
    position: absolute;
    right: 0;
    top: 100%;
    height: 1px;
    width: 0;
    background-color: #000000;
    transition: .2s ease;
}

.nav-link:hover:after {
    left: 0;
    width: 100%;
}

.toggle-mobile-nav {
    display: block;
    position: absolute;
    top: 35px;
    right: 7.5vw;
    height: 24px;
    width: 32px;
    z-index: 102;
}

.toggle-mobile-nav-top {
    left: 0;
    top: 0;
    width: 100%;
}

.toggle-mobile-nav-middle-1, .toggle-mobile-nav-middle-2 {
    left: 0;
    top: calc(50% - 1px);
    width: 100%;
}

.toggle-mobile-nav-bottom {
    right: 0;
    bottom: 0;
    width: 75%;
}

.toggle-mobile-nav span {
    display: block;
    position: absolute;
    background-color: #000000;
    height: 2px;
}

.toggle-mobile-nav--light span {
    background-color: #ffffff;
}

.nav-social-icons-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20svh;
}

.social-icon {
    width: 40px;
}



/* breakpoint from mobile to tablet */
@media only screen and (min-width: 1200px) {
    .toggle-mobile-nav {
        display: none;
    }

    .main-nav-cta-button {
        display: block;
        text-decoration: none;
        font-weight: 500;
        color: #000;
        background-color: var(--primary-color);
        padding: 20px 30px;
        border-radius: 30px;
        font-size: 16px;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
        transition: transform .3s;
    }

    .main-nav-cta-button:hover {
        transform: scale(1.03);
    }

    .main-nav-elements {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: auto;
        background-color: transparent;
        width: auto;
    }

    .nav-links {
        flex-direction: row;
    }

    .nav-links {
        position: static;
        flex-direction: row;
        transform: none;
        gap: 0;
    }

    .nav-link {
        color: #000000;
    }

    .navbar--light .nav-link {
        color: #ffffff;
    }
    
    .navbar--light .nav-link::after {
        background-color: #ffffff;
    }

    .nav-link-wrapper {
        margin: 0 2vw; /* Voegt ruimte toe tussen de lijstitems */ 
        font-size: 18px;
    }

    .nav-social-icons-wrapper {
        display: none;
    }

    .navbar-logo {
        height: 45px;
    }
}

@media only screen and (min-width: 1600px) {
    .main-nav-cta-button {
        font-size: 18px;
    }

    .nav-link-wrapper {
        font-size: 19px;
    }

    .navbar-logo {
        height: 50px;
    }
}

