header {
    color: var(--white);
    background-image: linear-gradient(to bottom, #5291e5, rgb(82 145 229 / 0));
}

header .logo { padding-left: 10px; }

header nav a {
    display: inline-block;
    padding: 5px 10px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

header nav a:hover,
header nav a.current {
    background-color: var(--blue);
    border-radius: 20px;
}

header nav .social span {
    font-weight: 700;
    display: inline-block;
    padding: 5px 10px;
}

header nav .social a {
    display: inline-block;
    width: 26px;
    height: 26px;
    vertical-align: middle;
    padding: 0;
    margin: 2px;
    text-align: center;
    background-color: var(--white);
    border-radius: 50%;
}

/* Mobile */
@media (max-width: 979.99px) {
    header section { padding: 10px; }

    header .mgE { float: right; }

    header nav {
        text-align: center;
        clear: both;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
        background-color: var(--input-bg);
        border-radius: 20px;
    }

    header.show nav { max-height: 100vh; }

    header nav > div { margin: 20px; }
}

/* Desktop */
@media (min-width: 980px) {
    header section {
        padding: 30px;
        max-width: 1120px;
        margin: 0 auto;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: left 160px top;
    }

    header .mgE { display: none; }

    header nav {
        display: inline-block;
        width: calc(100% - 105px);
        vertical-align: top;
        padding: 6px 10px 6px 80px;
        box-sizing: border-box;
    }

    header nav > div { display: inline-block; }

    header nav > div.social { float: right; }
}
