.menu-btn-1 {
    position: relative;
}

.menu-btn-1 span,
.menu-btn-1 span::before,
.menu-btn-1 span::after {
    background: var(--white);
    border-radius: 3px;
    content: '';
    position: absolute;
    width: 30px;
    height: 4px;         
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.menu-btn-1 span{
    left: 50%;
    transform: translateX(-50%);
}

.menu-btn-1 span::before {
    margin-top:-9px;
    left:0
}

.menu-btn-1 span::after {
    margin-top:9px;
    left:0
}

.menu-btn-1.active span {
    background: transparent;
}

.menu-btn-1.active span::before {
    margin-top: 0;

    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.menu-btn-1.active span::after {
    margin-top: 0;

    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
