.navigation {
    display: flex;
    flex-direction: row;

    align-items: center;
    justify-content: start;

    background: var(--on-backgroud-color);
    width: calc(100% - 48px);
    height: calc(90px - 32px);
    border-radius: var(--primary-border-radius);

    gap: 50px;

    padding: 16px 24px;
}

.navigation .logo-text {
    margin: 0;
    font-size: 19px;
    color: var(--primary-text-color);
    font-weight: 800;
}

.navigation h1 {
    margin: 0;
    font-size: 19px;
    color: var(--primary-text-color);
    font-weight: 800;
}


.navigation .logo-text strong {
    margin: 0;
    font-size: 19px;
    margin-left: 4px;
    color: var(--accent-color);
    font-weight: 800;
}

.greetings-container {
    align-items: start;
    width: fit-content;
    white-space: nowrap;
    flex: 0 1 auto;
}


.greetings-container h2 {
    font-size: 24px;
    color: var(--primary-text-color);
    margin: 0;
    margin-bottom: 4px;
    white-space: nowrap;
    flex: 0 1 auto;
}

.greetings-container p {
    font-size: 16px;
    color: var(--secondary-text-color);
    margin: 0;
    margin-bottom: 6px;
}

.navigation-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    border-radius: 16px;
    width: fit-content;
    cursor: pointer;
    transition: all 0.5s, width 1s;
}

.navigation-tab img {
    margin-left: auto;
    transition: margin-right 0.2s;
    filter: var(--primary-text-filter);
}

.navigation-tab:hover {
    background: var(--accent-light-background-color);
}

.navigation-tab:hover img {
    filter: var(--on-accent-light-background-filter);
}

.task-navigation-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 4px;
    font-size: 18px;
}

.task-navigation-arrow {
    height: 24px;
    width: 24px;
}

.task-navigation-container img {
    filter: var(--secondary-text-filter);
}

.task-navigation-container a {
    color: var(--secondary-text-color);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.5s;
    background: var(--on-backgroud-color);
    white-space: nowrap;
    flex: 0 1 auto;
}

.task-navigation-container a:hover {
    color: var(--on-accent-light-background-color);
    background: var(--accent-light-background-color);
    cursor: pointer;
}

.task-navigation-container p {
    padding: 8px 12px;
    color: var(--primary-text-color);
    white-space: nowrap;
    flex: 0 1 auto;
}

.search-select-container {
    position: absolute;
}

.search-select-container select{
    border: 1px solid var(--input-border-color);
    border-radius: 8px;
    padding: 8px;
    outline: none;
}

.search-select-container select option {
    font-size: 16px;
    border-radius: 4px;
    padding: 4px 8px;
    background: var(--on-backgroud-color);
    transition: all 0.3s;
    cursor: pointer;
}

.search-select-container select option:focus, .search-select-container select option:hover  {
    color: var(--accent-color);
    background: var(--accent-light-background-color);
}



.task-navigation-container h1 {
    margin: 0;
    padding: 8px 12px;
    color: var(--primary-text-color);
    font-size: 18px;
    white-space: nowrap;
    flex: 0 1 auto;
}

.auth-button {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    width: 28px;
    padding: 8px 11px;
    padding-left: 8px;
    border-radius: 8px;
    transition: all 0.5s;
}

.auth-button img {
    filter: var(--primary-text-filter);
}

.profile-button img:nth-child(1n) {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.profile-button img:nth-child(2n) {
    width: 18px;
    height: 18px;
    filter: var(--primary-text-filter);
}

.profile-button:hover img:nth-child(2n) {
    filter: var(--on-accent-light-background-filter);
}


.profile-button {
    margin-left: auto;
    cursor: pointer;
    display: flex;
    max-height: 58px;
    width: fit-content;
    align-items: center;
    overflow: hidden;
    padding: 8px 12px;
    border-radius: 16px;
    transition: all 0.5s;
    gap: 8px;
    min-width: 64px;
}

.profile-button.selected {
    background: var(--accent-light-background-color);
}

.profile-button-popup {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 16px;
    position: absolute;
    width: fit-content;
    top: 120px;
    transform: translateX(-100px);
    background: var(--on-backgroud-color);
    height: fit-content;
    padding: 0;
    box-shadow: 0 0 16px var(--primary-text-color) 24;
    transition: all 0.2s;
    opacity: 0;
    z-index: 10000;
}

.profile-button-popup a {
    visibility: hidden;
    width: 0;
    height: 0;
    font-size: 0;
    padding: 0;
}

.profile-button-popup.visible a {
    visibility: visible;
    width: 148px;
    height: 24px;
    white-space: nowrap;
    font-size: 14px;
    padding: 12px 18px;
}

.profile-button-popup.visible .profile-button-tab img {
    width: 20px;
    height: 20px;
    filter: var(--primary-text-filter);
}

.profile-button-popup.visible {
    opacity: 1;
    padding: 12px;
    transition: all 0.5s;
}

.profile-button-tab {
    display: flex;
    flex-direction: row;
    align-items: center;

    gap: 12px;
    border-radius: 12px;

    cursor: pointer;
    transition: all 0.5s;

    color: var(--secondary-text-color);
}

.profile-button-tab:hover {
    background: var(--accent-light-background-color);
    color: var(--on-accent-light-background-color);
    font-weight: 600;
}

.profile-button-tab:hover img {
    filter: var(--on-accent-light-background-filter);
}

.profile-button-popup .profile-button-tab img {
    width: 0;
    height: 0;
}

.profile-button:hover {
    background: var(--accent-light-background-color);
}

.profile-button img {
    max-height: 58px;
    max-width: 58px;
}

.auth-button:hover {
    background: var(--accent-light-background-color);
}

.auth-button:hover img {
    filter: var(--on-accent-light-background-filter);
}

.auth-button img {
    height: 28px;
    width: 28px;
}


.navigation-tab input {
    margin-left: auto;
    transition: all 1s, background-color 0.5s !important;
    background: var(--background-color);
    outline: none;
    border: none;
}

.navigation-tab.closed input {
    width: 0;
    max-width: 0;
    padding: 0;
    background: var(--on-backgroud-color);
    margin: 0;
}

.navigation-tab.opened input {
    width: 100%;
    max-width: 100%;
    background: var(--background-color);
}

.navigation-tab:hover.closed input{
    background: var(--accent-light-background-color);
}

.navigation-tab:hover.closed {
    border: 1px solid var(--accent-light-background-color);
    background: var(--accent-light-background-color);
}

.navigation-tab.closed {
    width: 24px;
    max-width: 24px;
    border: 1px solid var(--on-backgroud-color);
    background: var(--on-backgroud-color);
}

.navigation-tab.opened img {
    margin-right: 4px;
}

.navigation-tab.closed img {
    margin-right: 0;
}

.navigation-tab.opened {
    width: 100%;
    max-width: 100%;
    border: 1px solid var(--input-border-color);
    background: var(--background-color);
}

.navigation-tab:hover.opened {
    width: 100%;
    max-width: 100%;
    border: 1px solid var(--accent-color);
}