.hamburger-menu {
    position: relative;
    display: none;
    cursor: pointer;
    z-index: 9998;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    align-items: center;
    height: 30px;
    right: 0;
}

.hamburger-menu.active {
    position: fixed;
    right: 15px;
}

.bar,
.bar:after,
.bar:before {
    width: 30px;
    height: 3px;
}

.bar {
    position: relative;
    transform: translateY(10px);
    background: rgb(72,8,98);
    transition: all 0ms 300ms;
    top: -10px;
}

.bar.animate {
    background: rgba(255, 255, 255, 0);
}

.bar:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 10px;
    background: rgb(72,8,98);
    transition: bottom 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.bar:after {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    background: rgb(72,8,98);
    transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.bar.animate:after {
    top: 0;
    transform: rotate(45deg);
    transition: top 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.bar.animate:before {
    bottom: 0;
    transform: rotate(-45deg);
    transition: bottom 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.mobile-menu ul {
    margin: 0;
    padding: 0;
}

.mobile-menu nav ul {
    flex-direction: column;
}

.mobile-menu li {
    font-size: 20px;
    line-height: 30px;
    margin: 0;
    overflow: hidden;
    padding: 5px;
    position: relative;
    text-align: left;
    text-transform: uppercase;
    padding-left:15px;
}

.mobile-menu li:first-child {
    margin-top: 70px;
}

.mobile-menu li a {
    text-decoration: none;
    color: black;
}

/*---------------------
Mobiles Menu - Slide IN
----------------------*/

.mobile-menu {
    top: 0;
    max-width: 250px;
    right: -100%;
    width: 100%;
    color: black;
    height: 100%;
    position: fixed;
    background: #ffffff;
    box-shadow: 1px 2px 5px 1px rgba(0,0,0,.5);
    z-index: 9997;
    overflow-y: auto;
    -webkit-transform: translate3d(0, 0, 205px);
    -moz-transform: translate3d(0, 0, 205px);
    transform: translate3d(0, 0, 205px);
    -webkit-transition: all 500ms ease-in-out;
    -moz-transition: all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
}

.mobile-menu.active {
    right: 0;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transition: all 500ms ease-in-out;
    -moz-transition: all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
}

.mobile-menu nav {
    margin-top: 80px;
}


@media screen and (max-width: 996px) {
    .hamburger-menu {
        display: flex;
        justify-content: flex-end;
        width: 30%;
        position: absolute;
        right: 15px;
        top: 15px;
    }
}