﻿@media (max-width: 900px) {

  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 0 !important;
    cursor: pointer;
  }

  .menu-icon {
    position: relative;
    display: block;
    width: 25px;
    height: 20px;
    flex-shrink: 0;
  }

  .menu-icon > span {
    position: absolute;
    left: 0;
    width: 25px;
    height: 2px;
    border-radius: 0;
    background: currentColor;
    transform-origin: center;
    transition: top .25s ease, transform .25s ease, opacity .15s ease;
  }

  .menu-icon > span:nth-child(1) { top: 2px; }
  .menu-icon > span:nth-child(2) { top: 9px; }
  .menu-icon > span:nth-child(3) { top: 16px; }

  .menu-toggle.is-open .menu-icon > span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
  }

  .menu-toggle.is-open .menu-icon > span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open .menu-icon > span:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
  }
}
