/* =========================
   HEADER
========================= */

header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    height: 4.5rem;
    min-height: 4.5rem;
    max-height: 4.5rem;

    padding: 0 6rem;
    box-sizing: border-box;
    flex-shrink: 0;

    background: var(--color-primary);
    color: var(--color-on-primary);
}

/* =========================
   LOGO
========================= */

.logo {
    display: flex;
    align-items: baseline;
    gap: 1rem;

    justify-self: start;
}

.logo h3,
.logo p {
    margin: 0;
}

/* =========================
   NAVIGATION
========================= */

.nav {
    display: flex;
    align-items: center;
    justify-self: center;

    height: 100%;
    gap: .5rem;
}

.nav__tab {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    height: 100%;

    padding: 0 1rem;

    color: inherit;
    text-decoration: none;
}

.nav__tab::after {
    content: "";

    position: absolute;

    left: 18%;
    right: 18%;
    bottom: 10px;

    height: 4px;

    border-radius: 999px;

    background: var(--color-on-primary);

    opacity: 0;

    transition: opacity .15s ease;
}

.nav__tab:hover::after,
.nav__tab.router-link-active::after {
    opacity: 1;
}

/* =========================
   ACTIONS
========================= */

.nav__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: .75rem;

    margin-left: 1rem;
}

.nav__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 3rem;
    height: 3rem;

    border-radius: 50%;

    color: inherit;
    text-decoration: none;

    transition: background-color .15s ease;
}

.nav__icon:hover {
    background: rgba(255,255,255,.15);
}

.nav__icon img {
    width: 1.5rem;
    height: 1.5rem;
}

/* =========================
   UNUSED CTA
========================= */

.nav__cta {
    display: none;
}
