header {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: var(--headerHeight);
    position: fixed;
    background-color: var(--headerBg);
    box-shadow: 0 1px 5px var(--black);
    z-index: 999;
    font-variation-settings: "wght" 600;
    color: var(--black);
}

header a {
    color: var(--black);
}

header .container {
    justify-content: space-between;
    flex-wrap: wrap;
    min-height: var(--headerHeight);
    width: 100%;
}

.logo-mobile-box {
    width: 100%;
    display: flex;
    justify-content: center;
    height: var(--headerHeight);
}

.logo-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-box {
    width: 50%;
}

.logo-link img {
    width: 100%;
    height: auto;
    max-height: calc(var(--headerHeight) - 1.5rem);
}

.mobile-menu-toggle {
    display: flex;
    font-size: 1.5rem;
    padding: 1rem;
    position: absolute;
    right: 0;
}

.menu {
    width: 100%;
    height: unset;
    max-height: 0;
    transition: max-height 0.5s ease-in-out;
    overflow: hidden;
    flex-wrap: wrap;
}

.menu .link {
    font-size: 1rem;
    padding: 0 1rem;
    border-bottom: unset;
    width: 100%;
}

.menu .link:first-child {
    border-top: 1px solid #eee;
}

.menu .link.active {
    background: unset;
}

.menu .link.active a {
    color: #0a4b78;
}

.menu .link a {
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
    width: 100%;
    text-decoration: none;
}

.menu .link:hover, .menu .link.active {
    background: var(--primaryColor);
}

.menu .link:hover > a, .menu .link.active > a {
    color: var(--white);
}

.flyout:hover > .sub-menu {
    height: auto;
}

.sub-menu > .link {
    border-bottom: 1px solid #ddd;
}