/* Primary navigation bar */
.nav-bar{
    display: flex;
    position: relative;
    height: 5dvh;
    background-color: #000000;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
    z-index: 2;
}

.nav-bar__title{
    opacity: 1;
    cursor: default;
    font-size: 1.5em;
    color: #ffffff;
    font-weight: 700;
    align-content: center;
    text-shadow: 0 0 0.25rem #ffffff;
}

.nav-bar__link{
    display: flex;
    align-items: center;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease-in-out;
    position: relative;
    height: 100%;
    font-size: 1.5em;
    color: #ffffff;
    font-weight: 500;
    align-content: center;
    text-shadow: 0 0 0.25rem #ffffff;
}

.nav-bar__icon{
    max-height: 100%;
    object-fit: cover;
}

.nav-bar__link:hover{
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    cursor: pointer;
}

.nav-bar__brand{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: 1.25rem;
    height: 80%;
}

.nav-bar__menu{
    display: block;
    max-width: 70dvw;
    height: 80%;
}

.nav-bar__menu--desktop{
    display: flex;
    justify-content : flex-end;
    align-items: center;
    height: 100%;
    gap: 1.25rem;
    margin-right: 1.25rem;
}

.nav-bar__menu--mobile{
    display: none;
    position: relative;
    height: 100%;
}

.nav-bar__toggle{
    margin-right: 0.625rem;
    height: 100%;   
    object-fit: cover;
}

.nav-bar__dropdown{
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    padding: 0.625rem;
    border-bottom-left-radius: 0.625rem;
}

@media (max-width: 950px) {
    .nav-bar__menu--desktop{
        display: none;
    }

    .nav-bar__menu--mobile{
        display: block;
    }
}