#app .menu {
  background: rgba(0, 0, 0, .6);
}

#docs-app .menu {
  background: rgba(0, 0, 0, .85);
}

#app .menu, #docs-app .menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  opacity: 1;
  color: $offwhite;
  overflow: hidden;

  @include tablet {
    position: absolute;
    height: auto;
    padding-bottom: 100px;
  }

  &, & * {
    @include prefix('transition', all .6s ease);
  }

  .menu-inner {
    @include prefix('box-sizing', border-box);
    margin-left: 294px;
    margin-top: 30px;
    padding-left: 60px;

    @include tablet {
      margin-left: 0;
      border-left: 0;
      margin-top: 100px;
    }

    @include phone {
      margin-top: 75px;
    }
  }

  h1 {
    font-size: 100px;
    margin: 0;
    color: $white;
    line-height: 1.1;

    @include smalldesk {
      font-size: 48px;
    }

    @include tablet {
      display: none;
    }
  }

  h2 {
    font-size: 30px;
    font-family: $sans;
    font-weight: 300;
    margin: 0;
    color: $white;
    line-height: 1.1;

    @include smalldesk {
      font-size: 18px;
      margin-top: 10px;
    }

    @include tablet {
      display: none;
    }
  }

  .row {
    margin: 55px auto 95px -35px;

    &:after {
      content: '';
      width: 100%;
      height: 1px;
      display: block;
      clear: both;
    }
  }

  .column {
    float: left;
    width: 50%;
    max-width: 278px;

    @include phone {
      float: none;
      max-width: 100%;
      width: 100%;
    }
  }

  .menu-link {
    display: block;
    vertical-align: middle;
    cursor: pointer;
    padding: 5px 0;
    letter-spacing: .5px;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    color: $offwhite;

    @include phone {
      padding: 10px 0;
    }

    &, &:before, & * {
      @include prefix('transition', all .3s ease);
    }

    &:before {
      display: inline-block;
      content: url(../images/arrow.svg);
      width: 35px;
      height: 20px;
      text-indent: -35px;
      overflow: hidden;
      vertical-align: middle;
      opacity: 0;
    }

    &.active, &:hover {
      font-weight: 800;

      &, &:before, & * {
        @include prefix('transition', all .3s ease);
      }

      &:before {
        opacity: .47;
        text-indent: -10px;
      }
    }

    &.active {
      cursor: default;
    }
  }

  .copyright {
    color: $offwhite;
    font-size: 12px;
    opacity: .47;
    display: block;
    letter-spacing: .5px;
    position: absolute;
    left: 40px;
    bottom: 40px;
    width: 214px;
    text-align: center;
  }

  &.hidden {
    opacity: 0;
    right: -100%;

    h1, h2 {
      margin-left: -75%;
    }

    .row {
      margin-left: -65%;
    }

    .download {
      margin-left: -55%;
    }
  }
}
