header
{
    display: grid;
    grid-template-columns: 2fr 1fr;
    box-sizing: border-box;
    grid-gap: 1rem;
    position: sticky;
    top: 0;
    left: 0;
    width: calc(100% - 1px);
    font-family: refrigerator_deluxeregular, cursive;
    font-size: 1.2rem;
    font-weight: bold;
    min-height: var(--sz_header);
    align-items: center;
    background-color: white;
    z-index: 1000;
    box-shadow: 1px 1px 3px black;
}
    header .logo
    {
        background-image: url(/images/mcseal_contracting_logo.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: 15px center;
        height: 100%;
    }
    header > nav
    {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        height: 100%;
        padding-right: 10px;
    }
        header > nav > a:first-child
        {
            display: none;
        }
        header > nav > a
        {
            display: flex;
            height: 100%;
            text-decoration: none;
            color: var(--color_primary);
            align-items: center;
            justify-content: center;
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
        }
        header > nav > *:hover
        {
            background-color: var(--color_primary);
            color: white;
        }
        header > nav > a.button
        {
            display: flex;
            padding: unset;
            height: 90%;
            margin-top: auto;
            margin-bottom: auto;
        }
@media screen and (max-width: 1024px)
{
    header
    {
        grid-template-columns: 1fr;
        height: calc( 0.5 * var(--sz_header));
        min-height: unset;
    }
        header::after
        {
            /*  */
            content: attr(data-curpage);
            display: block;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            right: 2px;
            width: 50%;
            text-align: center;
        }

    header > :nth-child(1)
    {
        background-size: 120px;
    }
    header > :nth-child(2),
    header > :nth-child(3)
    {
        display: none;
    }
    header.click > nav
    {
        display: grid;
        grid-template-columns: 1fr;
        background-color: white;
        position: absolute;
        top: calc( 0.5 * var(--sz_header));
        left: 0;
        width: calc(100% - 20px);
        height: unset;
        padding: 10px;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        box-shadow: 1px 10px 10px black;
    }
        header.click > nav > a
        {
            display: block;
            padding-top: 5px;
            padding-bottom: 5px;
            border-top-left-radius: unset;
            border-top-right-radius: unset;
        }
        header.click > nav > a.button
        {
            border-radius: 10px;
            padding-bottom: 2px;
        }
}