header {
    background: transparent;
    width: 100%;
    padding: 50px 80px;
    box-sizing: border-box;
    position: fixed;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    transition: 0.5s;
    top: 0;
}

body.scroll-up header {
    top: 0;
}

body.scroll-up.logged-in header,
body.logged-in header {
    top: 33px;
}

body.scroll-down header {
    top: -100px;
}

body.scroll-down.logged-in header {
    top: -70px;
}

.logo {
    height: 50px;
    max-width: 430px;
    width: 30vw;
    position: relative;
    z-index: 909;
}

.logo a {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: url('../images/friedrichpeker-logo.svg') no-repeat center center;
    background-size: contain;
    text-indent: -9999px;
}

.menu-toggle {
    cursor: pointer;
    display: block;
    width: 50px;
    height: 50px;
    background: transparent;
    position: relative;
    z-index: 909;
}

.menu-toggle span {
    background: white;
    width: 38px;
    height: 4px;
    position: absolute;
    top: 12px;
    left: 6px;
}

.menu-toggle span:nth-child(2) {
    top: 23px;
}

.menu-toggle span:nth-child(3) {
    top: 34px;
}

body.menu-open {
    height: 100%;
    overflow: hidden;
}

body.menu-open .menu-toggle span:nth-child(1) {
    transform: rotate(45deg);
    top: 22px;
}

body.menu-open .menu-toggle span:nth-child(2) {
    display: none;
}

body.menu-open .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg);
    top: 22px;
}

.primary-nav {
    position: fixed;
    top: -100vw;
    left: 0;
    z-index: 808;
    background: black;
    color: white;
    width: 100%;
    box-sizing: border-box;
    padding: 240px 80px 120px 80px;
    transition: 0.3s;
}

body.menu-open .primary-nav {
    top: 0;
}

.primary-nav ul {
    display: flex;
    flex-direction: column;
}

.primary-nav ul li {
    text-align: center;
    margin-bottom: 20px;
}

.primary-nav ul li a {
    background: black;
    color: white;
    display: block;
    box-sizing: border-box;
    padding: 10px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 50px;
    line-height: 100%;
    font-weight: 800;
}

.primary-nav ul li a:hover {
    background: white;
    color: black;
}

@media (max-width: 768px) {
    header {
        padding: 10px 20px;
    }

    .logo {
        width: 180px;
    }

    .primary-nav {
        height: 100vh;
        top: -100vh;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

}