<button onclick="onToggle()">
    <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
       viewbox="0 0 512 512" style="overflow: visible; enable-background:new 0 0 512 512;" xml:space="preserve">
    <g>
      <path id="burger-bar-one" class="path-1 path" d="M50,116.7l404.2-0.2c0,0,84,12.4,140,10.4s97-96,86-127s-83.3-93.3-142,0s-84,116.6-84,116.6L50,391.3"/>
    </g>
    <g>
      <path id="burger-bar-two" class="path" d="M462,391.1l-412,0.2c0,0-98.6,15.7-98.8,71.7c-0.2,36,93,90,147,96c32.7,3.6,247.4,0.9,343-54        C521.1,459,462,391.1,462,391.1L50,116.7"/>
    </g>
    <line id="burger-bar-three" class="path" x1="50" y1="256" x2="462" y2="256"/>
    </svg>
  </button>
  <div class="text-area">
    <a target="_blank" href="http://dewwwald.com">dewwwald.com</a><br/>
    click below
  </div>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.1/plugins/CSSPlugin.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.1/easing/EasePack.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.1/TweenLite.min.js"></script>
body {
  background-color: #ef5435;
  color: white;
  font-family: sans-serif;
}

.text-area {
  text-align: center;
}

a {
  color: white;
  cursor: pointer;
}
a:hover {
  stroke: #faccc3;
}

button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: transparent;
  -webkit-appearance: none;
  border: none;
  outline: none;
  stroke: white;
  cursor: pointer;
  transition: all 175ms ease-in-out;
}
button:hover {
  stroke: #faccc3;
}

svg {
  width: 100px;
}

#burger-bar-one {
  opacity: 1;
  stroke-dasharray: 412px 1500px;
}

#burger-bar-two {
  opacity: 1;
  stroke-dasharray: 412px 1500px;
}

#burger-bar-three {
  opacity: 1;
}

.path {
  fill: transparent;
  stroke-width: 67px;
  stroke: #000000;
  stroke-linecap: round;
  opacity: 0;
  stroke: inherit;
}
let toggled = false;

let barOne = document.getElementById('burger-bar-one');
let barTwo = document.getElementById('burger-bar-two');
let barThree = document.getElementById('burger-bar-three');


function onToggle() {
  if (!toggled) {
    toggled = !toggled;
    TweenLite.to(barOne, .5, { strokeDashoffset:-1076} );
    TweenLite.to(barTwo, .5, { strokeDashoffset:-1250} );
    TweenLite.to(barThree, .5, { opacity: 0, x: -1000 });
  } else {
    toggled = !toggled;
    TweenLite.to(barOne, .5, { strokeDashoffset:0} );
    TweenLite.to(barTwo, .5, { strokeDashoffset:0} );
    TweenLite.to(barThree, .5, { opacity: 1, x: 0 });
  }
}