.global__header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 66px;
  display: flex;
  padding: 0 1rem;
  z-index: 5;
  background: #fff;
  justify-content: space-between;
  color: #000;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  transition: transform 0.75s ease;

  @media #{$screen-md-min} {
    padding: 0 31px;
  }

  .header-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  .left,
  .right {
    flex: 1 1;
    transition: transform 0.3s 0.2s cubic-bezier(0.215, 0.61, 0.355, 1),
      opacity 0.3s 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  .left {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 17px 0 13px;

    @media #{$screen-md-min} {
      margin: 17px 0 13px;
    }
  }

  .center {
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    text-align: center;
    transition: transform 0.3s 0.2s cubic-bezier(0.215, 0.61, 0.355, 1),
      opacity 0.3s 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
    display: none;

    @media #{$screen-md-min} {
      display: block;
    }
  }

  .right {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    text-align: center;

    a {
      font-weight: 700;
      font-size: 24px;
      line-height: 32px;
    }

    .btn__register {
      display: none;

      @media #{$screen-md-min} {
        display: block;
      }
    }

    .btn__hamburger {
      flex: 0 0 30px;
      display: block;
      cursor: pointer;
      font-weight: 700;
      font-size: 18px;
      line-height: 26px;
      transition: transform 0.3s 0.2s cubic-bezier(0.215, 0.61, 0.355, 1),
        opacity 0.3s 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);

      @media #{$screen-md-min} {
        display: none;
      }
    }
  }

  .logo {
    display: block;
    cursor: pointer;

    svg {
      display: block;
      max-width: 144px;
      max-height: 36px;
      width: 50%;
      fill: #000;

      @media #{$screen-md-min} {
        width: 100%;
      }
    }
  }

  &[data-mobile-nav-open='true'] {
    .left,
    .center,
    .right {
      transform: translateY(105%);
      opacity: 0;
    }
  }
}

.global__header-hide {
  transform: translate3d(0, -100%, 0);
}

.global__header-show {
  transform: translate3d(0, 0, 0);
}
