.app-main__sidebar {
  position: fixed;
  z-index: 98;
  top: 0;
  left: 0;
  display: flex;
  display: none;
  overflow: auto;
  width: 100%;
  height: 100%;
  flex-wrap: wrap;
  padding-top: 62px + 56px;
  padding-bottom: $spacer;
  background: $light;
  box-shadow: 0 2px 20px rgba($dark, 0.6);

  &.is-active {
    display: block;
  }
}

.sidebar-toggle {
  width: 100%;
  align-self: flex-end;
  box-shadow: 0 2px 20px rgba($dark, 0.6);

  .hamburger {
    &:hover,
    &:focus {
      .hamburger__inner,
      ::before,
      ::after {
        background-color: $light;
      }
    }
  }

  .hamburger__inner {
    background-color: $light;

    &::before,
    &::after {
      background-color: $light;
    }
  }
}

@include md {
  .app-main__sidebar {
    position: relative;
    top: 0;
    display: block;
    flex: 0 0 200px;
    padding: ($spacer * 2) 0 0;
    box-shadow: none;

    > .button {
      display: none;
    }
  }
}

@include lg {
  .app-main__sidebar {
    flex: 0 0 300px;
  }
}
