/* Navigation */

.nav {
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 80px 20px 20px;
    position: sticky;
    top: 0;
    background-color: #fff;
}

.brand {
    margin-left: 60px;
}

.brand-div {
    display: flex;
    align-items: center;
}

.brand-logo {
    width: 40px;
}

.brand-name {
    margin-left: 15px;
    font-weight: 700;
    font-size: 22px;
}

.brand-link {
    color: var(--red);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--light-gray);
}

.nav-item {
    list-style: none;
    padding: 0 10px;
    font-size: 18px;
    color: var(--dark-gray);
}

.currently-selected {
    color: var(--red);
}

.menu-icon {
    display: none;
    list-style: none;
}

.nav-items-container {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Media */
@media only screen and (max-width: 930px) {
    .nav {
        padding: 20px 15px 20px 0;
    }
    .brand {
        margin-left: 20px;
    }
}

@media only screen and (max-width: 700px) {
    .nav-links {
        position: relative;
        align-items: center;
    }
    .nav-item {
        display: none;
    }
    .menu-icon {
        display: block;
        margin-right: 0px;
        cursor: pointer;
        position: relative;
    }
    .menu-icon .nav-items-container {
        display: none;
        position: absolute;
        top: 110%;
        right: 0;
        background-color: #fff;
        box-shadow: 0 6px 18px rgba(0,0,0,0.12);
        border-radius: 6px;
        padding: 6px 0;
        min-width: 160px;
        z-index: 50;
    }
    .menu-icon:hover .nav-items-container,
    .menu-icon:focus-within .nav-items-container {
        display: block;
    }
    .nav-item-mobile {
        display: block;
        padding: 10px 20px;
        white-space: nowrap;
    }
    .nav-item-mobile .nav-link {
        color: var(--dark-gray);
        display: block;
    }
    .brand-name {
        font-size: 18px;
        margin-left: 10px;
    }
    .brand-logo {
        width: 32px;
    }
}