.header {
  position: relative;
  height: $headerHeight;
  background: $darkGray;
  border-bottom: 1px solid white;
}

.header-content {
  position: relative;
}

.header h1 {
  $logoSize: 42px;
  position: absolute;
  display: none;
  margin: 2px 4px;
  padding: 0;
  width: $sidebarWidth;
  text-indent: -9999em;
  &:after {
    position: absolute;
    content: '';
    display: block;
    width: $logoSize;
    height: $logoSize;
    top: 50%;
    margin-top: -$logoSize/2 - 2px;
    left: 0;
    background: url(https://placeholdit.imgix.net/~text?txtsize=13&txt=logo&w=40&h=40&txttrack=0);
  }
}

@media (min-width: $breakpointLarge) {
  .header h1 {
    text-indent: 0;
    &:after {
      display: none;
    }
  }
}

.header__title {
  display: block;
  font-size: 16px;
  font-weight: normal;
  margin: 0;
  padding: 0 10px;
  line-height: $headerHeight;
  text-decoration: none;
  color: #555;
}

.main-navigation {
  position: relative;
  text-align: center;
}

.main-navigation__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-navigation__list-item {
  display: inline-block;
  text-transform: uppercase;
  margin: 0 20px;
}

.main-navigation__link {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
  line-height: $headerHeight;
  display: inline-block;
  &.entypo-github {
    text-indent: -9999em;
    width: 0;
    &:before {
      position: absolute;
      left: 20px;
      font-size: 20px;
      text-indent: 0;
    }
  }
}

@media (min-width: 600px) {
  .main-navigation__link {
    &.entypo-github {
      text-indent: 0;
      width: auto;
      &:before {
        display: none;
      }
    }
  }
}

.main-navigation__link--active {
  font-weight: bold;
}
