.nav {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1em;
  margin-top: 0.3em;
  margin-right: 1em;

  @nav-element-width: 110px;
  @blue: #4fa6ff;

  a {
    text-decoration: none;
    color: #777;
    font-weight: 600;
    width: @nav-element-width;
    text-align: center;
    display: inline-block;
  }

  hr {
    content: ' ';
    display: block;
    width: @nav-element-width;
    height: 0;
    margin-top: 6px;
    height: 2px;

    background: linear-gradient(
      to bottom,
      transparent 0%,
      @blue 50%,
      @blue 100%
    );
    border: none;
    margin-left: 0;
    transition: .3s ease-in-out;
  }

  .current:nth-child(1) ~ hr {
    margin-left: 0;
  }

  .current:nth-child(2) ~ hr {
    margin-left: 50%;
  }

  .indicator-container {
    position: relative;
    width: 0;
    height: 0;
  }

  .indicator-container--updated .indicator {
    animation: indicator-keyframes 0.5s ease-out;
  }

  @keyframes indicator-keyframes {
    0%,
    to {
      box-shadow: 0;
    }
    25% {
      box-shadow: 0px 0px 5px 0px rgba(51, 207, 255, 0.75);
    }
    50% {
      box-shadow: 0px 0px 10px 0px rgba(51, 207, 255, 1);
    }
    75% {
      box-shadow: 0px 0px 5px 0px rgba(51, 207, 255, 0.75);
    }
    100% {
      box-shadow: 0;
    }
  }

  .indicator {
    display: inline-block;
    position: absolute;
    width: 7px;
    height: 7px;
    background: @blue;
    border-radius: 50%;
    left: 5px;
  }

  .indicator.disabled {
    display: none;
  }
}
