.navbar {
  position: relative;
  box-sizing: border-box;
  border-bottom: 1px solid var(--medium-dark-color);
  height: calc(var(--vertical-rhythm) * 2);
  backface-visibility: hidden;
}

.navbar-container {
  display: flex;
  margin: 0 auto;
  max-width: var(--container-width);
  height: 100%;
  padding: 0;
}

.navbar-indicator {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 1px;
  width: 0;
  background-color: var(--positive-color);
  box-shadow: 0 0 2px var(--positive-outline-color);
  transition: width 0.6s ease-in-out;
}

.navbar-title {
  flex: 1;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 1rem;
  min-width: 0;
  color: inherit;
  font-size: inherit;
  font-weight: bold;
  line-height: inherit;
}

.navbar-action {
  box-sizing: border-box;
  position: relative;
  color: inherit;
  text-decoration: none;
  width: calc(var(--vertical-rhythm) * 2);
  height: calc(var(--vertical-rhythm) * 2 - 1px);
}

.navbar-action:hover,
.navbar-action:focus {
  color: var(--positive-color);
}

.navbar-action:disabled {
  color: var(--dark-color);
}

.navbar-action > button,
.navbar-action > .icon {
  width: 100%;
  height: 100%;
}

@media (--md-viewport) {
  .navbar-container {
    padding: 0 1.5rem;
  }
}
