nav#navbar {
    height: 48px;
    width: 100%;
    top: 0;
    position: sticky;
    display: flex;
    flex-direction: row;
    align-items: center;
    z-index: 5;
    padding: 0 10px 0 10px;
    background: var(--color-app-primary);
    color: white;
    box-shadow: 0 1px 1.5px 0 rgba(53, 53, 53, 0.3);
    user-select: none;
}

[data-theme='dark'] nav#navbar {
    background: rgb(var(--color-gray-100));
}

nav#navbar .link {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    text-decoration: none;
    font-weight: 300;
}

nav#navbar .link .logo {
    background-color: white;
    height: 40px;
    width: 40px;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav#navbar .link .logo .img {
    height: 30px;
}

nav#navbar .separator {
    margin-left: auto;
}

nav#navbar .buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

nav#navbar .buttons .button[data-active='true'] {
    background: white;
    color: black;
}

nav#navbar .buttons .button {
    font-size: 0.8em;
    font-weight: 100;
    cursor: pointer;
}

nav#navbar .menu {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    gap: 7px;
    padding: 1px;
    margin: 1px;
    margin-right: 5px;
}

nav#navbar .menu > div {
    background: white;
    height: 2px;
    width: 24px;
    min-width: 24px;
    border-radius: 5px;
    transition: all 0.5s;
    transform-origin: left;
}

nav#navbar .menu[data-open='true']:hover div:nth-child(1) {
    transform: rotate(45deg);
}

nav#navbar .menu[data-open='true']:hover div:nth-child(2) {
    opacity: 0;
}

nav#navbar .menu[data-open='true']:hover div:nth-child(3) {
    transform: rotate(-45deg);
}

nav#navbar .menu[data-open='false']:hover div:nth-child(1) {
    transform: rotate(23deg);
}

nav#navbar .menu[data-open='false']:hover div:nth-child(2) {
    opacity: 0;
}

nav#navbar .menu[data-open='false']:hover div:nth-child(3) {
    transform: rotate(-23deg);
}

@media (max-width: 992px) {
    nav#navbar .menu {
        display: none !important;
    }
}

@media (max-width: 1068px) {
    nav#navbar .buttons .button span.label {
        display: none;
    }
    nav#navbar .buttons .button[data-active='true'] {
        border-radius: 30px;
        padding: 5px;
    }
}
