

.button_container {
    position: relative;
    top: 0;
    right: 2%;
    height: 27px;
    width: 35px;
    cursor: pointer;
    z-index: 100;
    transition: opacity 0.25s ease;
}
.button_container:hover {
    opacity: 0.7;
}
.button_container.active .top {
    transform: translateY(11px) translateX(0) rotate(45deg);
    background: #fff;
}
.button_container.active .middle {
    opacity: 0;
    background: #fff;
}
.button_container.active .bottom {
    transform: translateY(-11px) translateX(0) rotate(-45deg);
    background: #fff;
}
.button_container span {
    background: #fff;
    border: none;
    height: 2px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.35s ease;
    cursor: pointer;
}
.button_container span:nth-of-type(2) {
    top: 11px;
}
.button_container span:nth-of-type(3) {
    top: 22px;
}

.overlays {
    position: fixed;
    background: transparent;
    top: 10%;
    left: 0;
    width: 100%;
    height: 0%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s, visibility 0.15s, height 0.15s;
    overflow: hidden;
    z-index: 99;
}
.overlays.open {
    opacity: 1;
    visibility: visible;
    height: 100vh;
}
.overlays.open li {
    -webkit-animation: fadeInRight 0.3s ease forwards;
    animation: fadeInRight 0.3s ease forwards;
    -webkit-animation-delay: 0.15s;
    animation-delay: 0.15s;
}
.overlays.open li:nth-of-type(2) {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}
.overlays.open li:nth-of-type(3) {
    -webkit-animation-delay: 0.25s;
    animation-delay: 0.25s;
}
.overlays.open li:nth-of-type(4) {
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}
.overlays.open li:nth-of-type(5) {
    -webkit-animation-delay: 0.35s;
    animation-delay: 0.35s;
}
.overlays nav {
    position: relative;
    height: 70%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    font-family: "Vollkorn", serif;
    font-weight: 400;
    text-align: center;
}

.header-fixed .overlays nav {
    top: 45%;
}

.overlays ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    position: relative;
    height: 100%;
}
.overlays ul li {
    display: flex;
    /*height: 25%;
    height: calc(100% / 5);*/
    min-height: 50px;
    position: relative;
    opacity: 0;
    justify-content: left;
    align-items: center;
    padding: 10px 5px;
}
.overlays ul li a {
    display: block;
    position: relative;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    font-size: 30px;
    line-height: 50px;
}
.overlays ul li a:hover:after, .overlays ul li a:focus:after, .overlays ul li a:active:after {
    width: 100%;
}
.overlays ul li a:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    transform: translateX(-50%);
    height: 3px;
    background: #fff;
    transition: 0.2s;
}

@-webkit-keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }
    100% {
        opacity: 1;
        left: 0;
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }
    100% {
        opacity: 1;
        left: 0;
    }
}

@media (max-width: 992px) {
    .overlays ul li a {
        font-size: 23px;
        line-height: 30px;
    }
}

@media (max-width: 575px) {
    .button_container {
        width: 25px;
    }
}
@media (max-width: 575px) {
    .overlays nav {
        top: 35%;
    }
}
