nav {
    display: flex;
    justify-content: space-evenly;
    align-items: center;

    padding: 30px 0;

    color: black;
    font-size: 17px;
    letter-spacing: 2px;

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

nav .navbar-logo {
    /*margin-left: 9vw;*/
    width: 99px;
}

/*nav > div {*/
/*    margin-right: 83px;*/
/*}*/

.active, nav a:hover {
    color: #dca54a;
}

nav a {
    /*padding: 5px 10px;*/
    margin-right: 30px;
    transition: color 0.25s ease;
}

nav a:last-of-type {
    margin-right: 0;
}

nav button i {
    font-size: 17px;
    color: black;
    padding: 10px;
}

/*nav a:first-child i {*/
/*    font-size: 1.6vw;*/
/*    color: black;*/
/*    background-color: white;*/
/*    border-radius: 100%;*/
/*    padding: 10px;*/
/*}*/

.cart-button {
    position: relative;
    border: none;
    background: none;
    cursor: pointer;
}

.cart-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    background: #e11;
    color: #fff;
    border-radius: 999px;
    padding: 0 6px;
    font-size: 0.75rem;
}

/* HAMBURGER */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: black;
}


/* MOBILE MENU */

.mobile-menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 24vh;
    background: white;
    z-index: 2000;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    transition: top 0.35s ease;
}

.mobile-menu.open {
    top: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.mobile-menu li {
    margin: 20px 0;
}

.mobile-menu a {
    font-size: 1.5rem;
    text-decoration: none;
    color: black;
}


/* close button */

.mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    border: none;
    background: none;
    cursor: pointer;
}

@media (max-width: 500px) {
    nav {
        justify-content: unset;
        padding: 16px 10px;
        margin: 0;
        box-sizing: border-box;
    }

    .cart-button-holder {
        margin-left: auto;
        margin-right: 10px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}