.top-bar {
    height: 12px;
    background-color: var(--color-purple-blue);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-nav {
    padding-top: 12px;
}

header {
    background-color: white;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.5rem 2rem;
    position: relative;

    h1 {
        flex-grow: 1;
        text-align: center;
    }
}

.logo {
    height: 65px;
    padding-top: 12px;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.user-info {
    font-family: var(--font-main);
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    vertical-align: middle;
}

.mobile-only {
    display: none;
}

.mobile-hide,
.desktop-only {
    display: flex;
}

.header-title__main {
    font-family: var(--font-main);
    font-weight: 700;
    font-style: normal;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0;
    color: var(--color-dark-blue);
    margin: 0;
    align-self: center;
    padding-top: 12px;
}

.header-title {
    display: flex;
    align-items: start;
    align-self: center;
    gap: 1rem;
}

@media(max-width: 868px) {
    header {
        align-items: center;
        gap: 0.5rem;

        h1 {
            text-align: right;
        }
    }

    nav {
        flex-direction: row;
        align-items: center;
        width: 100%;
        gap: 0.2rem;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .mobile-hide,
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }
}

@media(max-width: 520px) {

    header {
        flex-direction: column;
    }

    .header-title__main {
        display: none;
    }
}

@media(max-width: 350px) {
    header {
        padding: 0.5rem 1rem;
    }
}