/* Base styles */
nav {
    background-color: #003066;
}

li {
    display: flex;
    align-content: center;
}

nav a {
    color: white;
    display: flex;
    align-content: center;
}

nav a:hover {
    color: white;
}

.badge {
    height: 2.5rem;
    width: 2.5rem;
    display: flex;
    align-items: center;
    align-self: center;
}

.person-icon {
    font-size: 1.875rem;
    margin: 0 auto 0 auto;
    color: #003066;
}

.top-bar {
    max-width: 90.063em;
    margin: 0 auto;
}

.nav-link {
    font-size: 1.5rem;
}

.dropdown-link {
    font-size: 1.125rem;
}

.title-bar {
    height: 76px;
    padding: 0 2rem;
    justify-content: space-between;
}

#nav-menu {
    row-gap: 0.5rem;
}

/* Prevent FOUC */
.top-bar,
.title-bar {
    display: none;
}

/* Small only */
@media screen and (max-width: 39.9375em) {
    .title-bar {
        display: flex;
    }
    .top-bar {
        padding: 0 1.5rem 2rem;
    }
    .top-bar-right {
        margin-top: 0.5rem;
    }
    .nav-link {
        font-size: 1.25rem;
    }
}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    .top-bar {
        display: flex;
        padding: 1rem 2.5rem;
    }
    #nav-menu {
        column-gap: 1rem;
    }
    .nav-link {
        font-size: 1.4rem;
    }
}

/* Large and up */
@media screen and (min-width: 64em) {
    .top-bar {
        display: flex;
        padding: 1rem 4rem;
    }
    #nav-menu {
        column-gap: 3rem;
    }
}
