nav {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 .5rem;
    background-color: white;
    box-shadow: 0 0 10px grey;
    z-index: 100;
}

nav a {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}


nav .logo {
    display: flex;
    align-items: center;
}

nav .logo img {
    max-height: 2.6rem;
    max-width: 45vw;
    display: block;
}

nav .logo .img_logo {
    max-height: unset;
    height: 4rem;
    margin: 3px;
}

.hamburger {
    display: block;
    align-items: center;
    margin-right: 2vw;
    padding: 4px 0;
    cursor: pointer;
    width: 30px;
    z-index: 150;
    transition: transform 0.3s;
}

.hamburger .line {
    border: 2px solid black;
    background-color: black;
    border-radius: 3px;
    width: 30px;
    transition: border-color 0.3s, transform 0.3s, opacity 0.2s;
}

.hamburger .middle {
    margin: 7px 0;
}

.cross {
    transform: rotateZ(45deg);
}

.cross .line {
    border-color: white;
    background-color: white;
}

.cross .middle {
    opacity: 0;
}

.cross .top {
    transform: translateY(14px);
}

.cross .bottom {
    transform: rotateZ(-90deg) translateX(8px);
}

.menu {
    position: fixed;
    left: 150vw;
    top: 0;
    padding: 50px 0;
    display: block;
    height: 100vh;
    width: 100vw;
    background-color: #444;
    transition: left 0.3s;
    overflow: hidden;
}

.shown {
    left: 0;
}

.menu li {
    display: block;
}

.menu li a {
    display: block;
    padding: 10px;
    margin: 0;
    color: white;
    font-style: normal;
    font-weight: lighter;
    font-size: 1.8rem;
    text-align: center;
    transition: background-color 0.4s;
}

.menu li a:hover {
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
}

.menu li img {
    height: 5rem;
}

.menu .menu_logo {
    position: absolute;
    top: 0;
    height: 100%;
    z-index: -10;
    left: 50%;
    transform: translateX(-50%);
}

.menu .menu_logo img {
    height: 100%;
}