%dark-navbar {
  .navbar--breadcrumb i,
  .navbar-item:not(.be--navbar-item--logo):not(.be--navbar-item--join) {
    color: $text !important;
  }

  .navbar--breadcrumb strong { color: $primary !important; }

  .navbar-item:not(.be--navbar-item--logo):not(.be--navbar-item--join):hover {
    background-color: $primary !important;
    color: #fff !important;
  }

  .navbar--burger { color: $primary !important; }

  .navbar-brand {
    @extend %gradient-bg;

    &:hover { color: #fff !important; }
  }

  .be--navbar {
    &-item--logo {
      color: #fff !important;

      &:hover {
        color: #fff !important;
      }
    }

    &-item--join {
      background-color: $primary !important;
      color: #fff !important;
    }
  }
}

@mixin dark-navbar($selector) {
  .#{$selector} {
    @extend %dark-navbar;
  } 
}

.be--navbar {
  @extend %has-default-padding;
  background-color: transparent;
  position: absolute;
  width: 100%;
  top: 0.7rem;
  left: 0;
  padding: 0 2rem;

  .navbar-burger { color: #fff; }

  .navbar-item {
    color: #fff;

    &.is-uppercase {
      font-size: 0.85rem;
    }

    &:hover { color: $primary; }
  }

  .navbar--breadcrumb {
    display: none;
    align-items: center;
    padding-left: 3rem;
    
    * {
      color: #fff;
    }
    
    strong {
      text-transform: uppercase;
    }

    @media screen and (min-width: $desktop) {
      display: flex;
    }
  }

  &-item {
    &--logo {
      color: #fff;
      font-size: 5rem;

      svg { height: 0.5em; }

      &:hover { color: $primary; }
    }

    &--join {
      background-color: #fff;
      color: $primary !important;
      border-radius: 3px;
      padding: 0.4rem 1.75rem 0.4rem;

      span {
        display: inline-block;
        vertical-align: middle;

      }

      @media screen and (min-width: $desktop) {
        margin-left: 4rem !important;

        span:last-child { padding-left: 0.5rem; }
      }
    }
  }

  .navbar-end { 
    align-items: center; 

    .navbar-item {
      color: #000;
      text-align: center;

      &:not(.be--navbar-item--join) {
        border-bottom: 1px solid rgba(#000, 0.05);
      }

      @media screen and (min-width: $desktop) {
        margin-left: 1.5rem;
        border-bottom: none !important;
        color: #fff;

        &:hover { color: $primary; }
      }
    }
  }

  .navbar-brand .navbar-item:hover { color: #fff; }

  .navbar-menu {
    padding: 0;
  }

  @media screen and (min-width: $desktop) {
    .navbar-menu {
      padding: 0.5rem 0;
    }
  }
}
