header {
    /*display: flex;*/
    /*width: min(75vw, 1200px);*/
    /*background-color: pink;*/
    width: 100vw;
    justify-content: center;
}

.menu-dd {
    display: none;
}

.menu-spread {
    display: flex;
    width: 80vw;
    margin: -30px auto auto auto;
    justify-content: space-around;
}



@font-face {
    font-family: Lato;
    src: url("../Lato-Light.ttf") format("opentype");
}

.menu-item {
    /*background-color: red;*/
    font-family: Lato, serif;
    font-size: min(2em, 30px);
    font-weight: 1;
    color: darkgray;
    /*border-bottom-color: #44E47A;*/
    /*border-bottom-style: solid;*/
    padding: 10px;

    display: inline;
    position: relative;
    overflow: hidden;
}

@media screen and (max-width: 1000px) {
    .menu-item {
        font-size: 22px;

    }
}

.menu-item:after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 0;
    width: 0;
    bottom: -5px;
    background: #44E47A;
    height: 4px;
    transition-property: width;
    transition-duration: 0.3s;
    transition-timing-function: ease-out;
}

.menu-item:hover {
    cursor: pointer;
}

.menu-item:hover:after,
.menu-item:focus:after,
.menu-item:active:after {
    left: 0;
    right: auto;
    width: 100%;
}

a {
    text-decoration: none;
}

#selected:after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 0;
    width: 100%;
    bottom: -5px;
    background: #44E47A;
    height: 4px;
}

.menu-anchor {
    margin: 0 8% 0 0;
}

.menu-burger {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    cursor: pointer;
    transition: all .5s ease-in-out;
    margin-top: 100px;
}

.menu-bar {
    width: 65px;
    height: 6px;
    background: linear-gradient(to left, white 50%, #44E47A 50%) right;
    background-size: 200% 100%;
    border-radius: 5px;
    transition: all .1s ease-in-out;
}

.menu-bar::before,
.menu-bar::after {
    content: "";
    position: absolute;
    width: 65px;
    height: 6px;
    background: linear-gradient(to left, white 50%, #44E47A 50%) right;
    background-size: 200% 100%;
    border-radius: 5px;
    transition: all .1s ease-in-out;
}

.menu-bar:before {
    transform: translateY(-18px);
}

.menu-bar:after {
    transform: translateY(18px);
}


@media screen and (max-width: 800px) {

    .menu-dd {
        display: block;
        position: fixed;
        left: 80vw;
        top: -0.5vh;
    }

    .menu-spread {
        display: none;
    }

    .menu-burger {
        width: 40px;
        height: 40px;
        margin-top: 30px;
        margin-right: 50px;
    }

    .menu-bar,
    .menu-bar::after,
    .menu-bar::before {
        width:35px;
        height: 4px;
    }
    .menu-bar:before {
        transform: translateY(-9px);
    }
    .menu-bar:after {
        transform: translateY(9px);
    }
}

.menu-bar.open,
.menu-bar.open::before,
.menu-bar.open::after {
    background-position: left;
}

.menu-bar.open::before {
    transition: all .8s ease-in-out;
}

.menu-bar.open {
    transition: all .6s ease-in-out;
}

.menu-bar.open::after {
    transition: all .4s ease-in-out;
}