header {
    clear: both;
    padding: 10px 10px 5px 10px;
    width: 100%;
    min-height: 12vh;
    position: relative;
}

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

header a {
    color: #fff;
    text-decoration: none;
}

header a:hover, header a:active, header a:focus {
    color: #eee;
    text-decoration: underline;
}

header #hide-site {
    display: none;
}

header #logo-top {
    display: block;
    position: absolute;
    top: 15px;
    right: 2%;
    width: 15%;
}

header #mobile-menu-button {
    display: block;
    float: left;
    margin-left: 5%;
}

header #logo-main {
    text-align: center;
    margin: 0 auto;
}

header #logo-main .d-mobile {
    display: block;
    width: 60%;
    margin: 0 auto;
}

header nav {
    width: 100%;
    padding-left: 20px;
    margin: 20px auto 0 auto;
}

header nav ul {
    list-style: none outside none;
    justify-content: center;
    display: flex;
    margin: 0;
    padding: 0;
}

header nav ul li {
    color: #fcfcfc;
    padding-right: 12px;
    font-weight: 600;
    font-size: 0.7rem;
    line-height: 1.4rem;
}

header nav ul li a {
    line-height: 0;
}

header nav ul li.current-menu-item > a,
header nav a:hover, header nav a:active, header nav a:focus {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

@media screen and (min-width: 480px) {
    header {
        padding: 15px;
    }

    header nav ul li {
        padding-right: 20px;
        font-size: 0.8rem;
    }
}

@media screen and (min-width: 640px) {
    header #logo-main .d-mobile {
        display: none;
    }

    header #logo-main .d-desktop {
        width: 50%;
        max-width: 550px;
        margin: 30px auto;
    }

    header nav {
        padding-left: 0;
        margin: 20px auto 0 auto;
    }

    header #logo-top {
        position: static;
        right: initial;
        top: initial;
        float: right;
        width: 100px;
        margin: -20px 10px 5px 20px;
    }

    header nav ul li {
        padding-right: 40px;
        font-size: 0.8rem;
    }

    header #hide-site {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 160px;
        text-align: center;
        background: #f00;
        font-size: 0.8rem;
        line-height: 2.2;
        padding: 2px 4px;
    }

    header #hide-site a {
        font-weight: 600;
        text-decoration: none;
    }

    header #hide-site a:hover, header #hide-site a:active, header #hide-site a:focus {
        color: #eee;
        text-decoration: none;
    }

    header #hide-site img {
        display: inline-block;
        width: 20px;
        margin: 0 2px 0 4px;
    }

    .admin-bar header #hide-site {
        top: 46px;
    }
}

@media screen and (min-width: 768px) {
    header nav {
        margin: 30px auto 0 100px;
    }

    header #logo-top {
        width: 120px;
        margin: -30px 10px 5px 20px;
    }

    header nav ul li {
        padding-right: 60px;
        font-size: 0.9rem;
    }

    .admin-bar header #hide-site {
        top: 30px;
    }
}

@media screen and (min-width: 1024px) {
    header nav {
        margin: 15px auto 0 230px;
    }

    header #logo-top {
        width: 150px;
        margin: -45px 30px 10px 20px;
    }

    header #mobile-menu-button {
        display: none;
    }
}

@media screen and (min-width: 1152px) {
    header nav {
        margin: 30px auto 0 285px;
    }

    header nav ul li {
        padding-right: 80px;
    }

    header #logo-top {
        width: 150px;
        margin: -45px 30px 10px 20px;
    }
}

@media screen and (min-width: 1600px) {
    header nav {
        margin: 40px auto 0 25%;
        margin-left: calc(25% - 40px);
    }

    header nav ul li {
        padding-right: 100px;
    }

    header #logo-top {
        width: 200px;
        margin: -75px 70px 10px 20px;
    }
}
