.navbar-toggler{
    width: 1.5em;
    height: 1.5em;
    margin-left: auto;
    position: relative;
    overflow: hidden;
}
.navbar-toggler {
    padding: 0;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: .25rem;
}
.navbar-toggler, .navbar-toggler:hover, .navbar-toggler:active, .navbar-toggler:visited {
    border: none !important;
    outline: none;
}
.navbar-toggler-open .h-bar-1 {
    animation: bar-1 1s ease 0s forwards;
}
@keyframes bar-1{
    0%{
        /* background-color: red; */
        top: 7px;
        left: 0px;
    }
    25%{
        /* background-color: blue; */
    }
    50%{
        /* background-color: green; */
        top: 15px;
        left: 4px;
        transform: rotate(0deg);
    }
    /* 75%{
        background-color: yellow;
    } */
    100%{
        /* background-color: yellow; */
        top: 15px;
        left: 4px;
        transform: rotate(45deg);
    }
}
.navbar-toggler-open .h-bar-2 {
    animation: bar-2 1s ease-in 0s forwards;
}
@keyframes bar-2{
    0%{
        /* background-color: red; */
        left: 4px;
        visibility: visible;
    }
    25%{
        /* background-color: blue; */
    }
    50%{
        /* background-color: green; */
        
    }
    75%{
        /* background-color: yellow; */
        visibility: hidden;
    }
    100%{
        /* background-color: yellow; */
        left: 50px;
        visibility: hidden;
    }
}
.navbar-toggler-open .h-bar-3 {
    animation: bar-3 1s ease 0s forwards;
}
@keyframes bar-3{
    0%{
        /* background-color: red; */
        width: 10px;
        top: 23px;
        left: 0px;
    }
    25%{
        /* background-color: blue; */
    }
    50%{
        /* background-color: green; */
        width: 22px;
        top: 15px;
        left: 4px;
        transform: rotate(0deg);
    }
    /* 75%{
        background-color: yellow;
    } */
    100%{
        /* background-color: yellow; */
        width: 22px;
        top: 15px;
        left: 4px;
        transform: rotate(-45deg);
        
    }
}
.navbar-toggler span{
    display: block;
    position: absolute;
    background-color: #FFF;
    border-radius: 1px;
    /* transition: all 1.5s cubic-bezier(.25,.46,.45,.94); */
}
.h-bar-1{
    width: 22px;
    height: 2px;
    top: 7px;
    left: 1px;  
}
.h-bar-2{
    width: 25px;
    height: 2px;
    top: 15px;
    left: 4px;
}
.h-bar-3{
    width: 10px;
    height: 2px;
    top: 23px;
    left: 1px;
}