header {
    display: flex;
    align-items: stretch;
    position: sticky;
    top: 0;
    z-index: 9;
    background-color: #ffffff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
}

.toggle-menu-button {
    border: 0;
    padding: var(--spacing);
    background-color: #ffffff;
    color: #000000;
    font-weight: bold;
    text-align: center;
    transition: background-color ease-out 120ms;

    &:hover,
    &:focus {
        background-color: #cccccc;
    }

    @media (width >= 500px) {
        display: none;
    }
}

.header-logo {
    display: inline-block;
    padding: var(--spacing);
    height: 80px;
}

.header-logo img {
    max-width: 100%;
    max-height: 100%;
}

nav {
    display: flex;
    flex: 1 0 auto;

    @media (width < 500px) {
        position: absolute;
        top: 100%;
        right: 100%;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
        transition: transform 80ms ease-out;

        &.is-active {
            transform: translateX(100%);
        }
    }

    ul {
        display: flex;
        align-items: stretch;
        flex: 1 0 auto;
        margin: 0;
        padding: 0;
        list-style: none;

        @media (width < 500px) {
            flex-direction: column;
        }

        > li {
            display: flex;
            align-items: stretch;
        }

        .right-nav {
            @media (width >= 500px) {
                margin-left: auto;
            }
        }
    }

    a {
        display: flex;
        align-items: center;
        padding: var(--spacing);
        background-color: #ffffff;
        color: #000000;
        font-weight: bold;
        text-align: center;
        transition: background-color ease-out 120ms;

        &:hover,
        &:focus {
            text-decoration: underline;
        }
    }
}

.call-icon {
    margin-right: 0.5em;
}

.promo-banner {
    padding: var(--spacing);
    background-color: #dc3545;
    color: #ffffff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
    font-weight: bold;
    line-height: 1.4;
}
