.top-nav {
    padding: 0 var(--spacing-md);
    height: 72px;
    background-color: rgba(255, 255, 255, 0.75);
    max-width: 1800px;
    /* Semi-transparent background */
    backdrop-filter: blur(16px);
    color: black;
    display: flex;
    align-items: center;
    z-index: 100;
    transition: 0.4s;
    position: absolute;
    left: 50%;
    top: 0;
    width: 100%;
    transform: translateX(-50%);
    justify-content: space-between;
}

.scrolling-nav {
    width: calc(100% - 24px);
    top: var(--spacing-sm);
    position: fixed;
    max-width: 1360px;
    border-radius: 52px;
}

.wide-nav-links {
    display: none;
}

.nav-link a,
.menu-icon img {
    cursor: pointer;
}

.wide-nav-links .nav-link a:not(.logo-wrapper a) {
    position: relative;
    bottom: -8px;
}

.nav-link {
    font-size: 1.125rem;
}

.nav-link a:after {
    transition: all ease-in-out .2s;
    background: none repeat scroll 0 0 var(--color-highlight);
    content: "";
    display: block;
    height: 2px;
    width: 0;
}

.nav-link a:hover:after {
    width: 100%;
}

.logo-wrapper a:hover:after {
    width: 0;
}


.menu-icon img {
    width: 48px;
    height: 48px;
    position: relative;
}

.nav-mobile-dropdown {
    border-radius: 0 0 52px 52px;
}

.nav-mobile-dropdown>.nav-link-list {
    background-color: rgba(255, 255, 255, 0.75);
    /* Semi-transparent background */
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-box);
    width: 100%;
    max-height: 0;
    overflow: hidden;
    position: absolute;
    text-align: right;
    top: 72px;
    transition: 0.8s;
    right: 0;
    border-radius: 0 0 52px 52px;
}

.nav-mobile-dropdown:hover .nav-link-list,
.nav-link-list:hover {
    max-height: 1000px;
}

.nav-mobile-dropdown>.nav-link-list>.nav-link {
    padding: var(--spacing-md) var(--spacing-lg);
}

@media screen and (width > 880px) {

    .top-nav {
        justify-content: center;
    }

    .wide-nav-links {
        display: flex;
        width: 100%;
    }

    .wide-nav-links .nav-link {
        flex: 1;
        text-align: center;
    }

    .logo-wrapper img {
        margin: 0 auto;
    }

    .mobile-logo,
    .nav-mobile-dropdown {
        display: none;
    }

}