.nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    overflow: hidden;
    pointer-events: none;
}
.nav__burger {
    position: absolute;
    top: 100px;
    right: 0;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    width: 60px;
    height: 60px;
    padding: 0;
    background: none;
    border: none;
    cursor: default;
    pointer-events: auto;
    visibility: hidden;
}
.nav__burger.active {
    visibility: visible;
}
.nav__burger:focus {
    outline: none;
}
.nav__burger::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: var(--cream);
    border-radius: 50%;
    -webkit-transition: all 1s cubic-bezier(0.5, 0.87, 0.1, 1), box-shadow 0.2s 0.7s ease-in;
    transition: all 1s cubic-bezier(0.5, 0.87, 0.1, 1), box-shadow 0.2s 0.7s ease-in;
}
.nav__burger div {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    border-radius: 50%;
    cursor: pointer;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.nav__burger div span {
    width: 30px;
    height: 2px;
    margin: 6px auto;
    background-color: #141414;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.nav__burger.active::after {
    top: -10240px;
    right: -10240px;
    bottom: -10240px;
    left: -10240px;
    background-color: var(--darkblue);
    box-shadow: 0 0 100px rgba(0, 0, 0, 0);
    -webkit-transition: all 2s cubic-bezier(1, -0.02, 0, 1), box-shadow 0.15s ease-in;
    transition: all 2s cubic-bezier(1, -0.02, 0, 1), box-shadow 0.15s ease-in;
}
.nav__burger.active div {
    box-shadow: none;
    -webkit-animation: smallbig 0.6s forwards;
    animation: smallbig 0.6s forwards;
}
.nav__burger.active div span {
    background: #FFF;
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}
.nav__burger.active div span:nth-child(1) {
    -webkit-transform: translateY(8px) rotate(45deg);
    transform: translateY(8px) rotate(45deg);
}
.nav__burger.active div span:nth-child(2) {
    opacity: 0;
}
.nav__burger.active div span:nth-child(3) {
    -webkit-transform: translateY(-8px) rotate(-45deg);
    transform: translateY(-8px) rotate(-45deg);
}
.nav__menu {
    font-size: 2.6em;
    text-align: center;
    visibility: hidden;
}
@media (min-width: 768px) {
    .nav__menu {
        font-size: 2em;
    }
}
.nav__menu li {
    padding: 10px;
    opacity: 0;
}
.nav__menu li:nth-child(6) {
    -webkit-transition: all 0.25s 0.05s;
    transition: all 0.25s 0.05s;
}
.nav__menu li:nth-child(5) {
    -webkit-transition: all 0.25s 0.05s;
    transition: all 0.25s 0.05s;
}
.nav__menu li:nth-child(4) {
    -webkit-transition: all 0.25s 0.05s;
    transition: all 0.25s 0.05s;
}
.nav__menu li:nth-child(3) {
    -webkit-transition: all 0.25s 0.1s;
    transition: all 0.25s 0.1s;
}
.nav__menu li:nth-child(2) {
    -webkit-transition: all 0.25s 0.15s;
    transition: all 0.25s 0.15s;
}
.nav__menu li:nth-child(1) {
    -webkit-transition: all 0.25s 0.2s;
    transition: all 0.25s 0.2s;
}
.nav__menu li a {
    position: relative;
    text-decoration: none;
    color: var(--cream);
    pointer-events: auto;
    -webkit-transition: all 0.5s cubic-bezier(0.75, 0.17, 0.57, 0.9);
    transition: all 0.5s cubic-bezier(0.75, 0.17, 0.57, 0.9);
}
.nav__menu li:not(.parent--node--m) a:hover {
    opacity: 0.4;
    -webkit-transition-duration: 0s;
    transition-duration: 0s;
}
.parent--node--m a {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    font-weight: 300;
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.nav__burger.active + .nav__menu {
    visibility: visible;
}
.nav__burger.active + .nav__menu li {
    opacity: 1;
}
.nav__burger.active + .nav__menu li:nth-child(1) {
    -webkit-transition: all 0.5s 0.5s;
    transition: all 0.5s 0.5s;
}
.nav__burger.active + .nav__menu li:nth-child(2) {
    -webkit-transition: all 0.5s 0.575s;
    transition: all 0.5s 0.575s;
}
.nav__burger.active + .nav__menu li:nth-child(3) {
    -webkit-transition: all 0.5s 0.65s;
    transition: all 0.5s 0.65s;
}
.nav__burger.active + .nav__menu li:nth-child(4) {
    -webkit-transition: all 0.5s 0.725s;
    transition: all 0.5s 0.725s;
}
.nav__burger.active + .nav__menu li:nth-child(5) {
    -webkit-transition: all 0.5s 0.725s;
    transition: all 0.5s 0.725s;
}
@media (min-width: 992px) {
    .nav__burger.active + .nav__menu li:nth-child(1) {
        -webkit-transition: all 0.5s 0.7s;
        transition: all 0.5s 0.7s;
    }
    .nav__burger.active + .nav__menu li:nth-child(2) {
        -webkit-transition: all 0.5s 0.775s;
        transition: all 0.5s 0.775s;
    }
    .nav__burger.active + .nav__menu li:nth-child(3) {
        -webkit-transition: all 0.5s 0.85s;
        transition: all 0.5s 0.85s;
    }
    .nav__burger.active + .nav__menu li:nth-child(4) {
        -webkit-transition: all 0.5s 0.925s;
        transition: all 0.5s 0.925s;
    }
    .nav__burger.active + .nav__menu li:nth-child(5) {
        -webkit-transition: all 0.5s 0.95s;
        transition: all 0.5s 0.95s;
    }
    .nav__burger.active + .nav__menu li:nth-child(6) {
        -webkit-transition: all 0.5s 0.975s;
        transition: all 0.5s 0.975s;
    }
}
@media (min-width: 2100px) {
    .nav__burger.active + .nav__menu li:nth-child(1) {
        -webkit-transition: all 0.5s 0.85s;
        transition: all 0.5s 0.85s;
    }
    .nav__burger.active + .nav__menu li:nth-child(2) {
        -webkit-transition: all 0.5s 0.925s;
        transition: all 0.5s 0.925s;
    }
    .nav__burger.active + .nav__menu li:nth-child(3) {
        -webkit-transition: all 0.5s 1s;
        transition: all 0.5s 1s;
    }
    .nav__burger.active + .nav__menu li:nth-child(4) {
        -webkit-transition: all 0.5s 1.075s;
        transition: all 0.5s 1.075s;
    }
    .nav__burger.active + .nav__menu li:nth-child(5) {
        -webkit-transition: all 0.5s 1.075s;
        transition: all 0.5s 1.075s;
    }
}
@-webkit-keyframes smallbig {
    0%,
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    50% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
}
@keyframes smallbig {
    0%,
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    50% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
}
@media only screen and (min-width: 320px) and (max-width: 480px){
	.nav__menu {
		font-size: 1.5em;
	}
}