header {
  display: grid;
  grid-template-columns: 6.5rem calc(100% - 15.5rem) 9rem;
  grid-template-rows: 2fr 1fr;
  max-width: 60rem;
  padding: 2rem 4rem;
  margin: 0 auto;

  .logo {
    grid-row: 1/3;
    display: inline-block;
    border: .2rem solid $w-color;
    padding: .5rem 1rem .5rem .5rem;

    h1 {
      color: $w-color;
      font-size: 1.2rem;
      line-height: 1.2rem;
    }
  }
  
  .nav,
  .auth {
    grid-row: 2;
    margin: 0 auto;

    a {
      display: inline-block;
      margin: 0 .5rem;
      
      h2 {
        color: $f-color;
        font-size: 1rem;
  
        &:hover {
          color: $fh-color;
          text-decoration: underline;
        }
      }
    }
  }

  .auth {
    margin: 0;

    a {
      float: right;
    }

  }
}

@media only screen and (max-width: 600px) {
  header {
    grid-template-columns: 5.5rem calc(100% - 5.5rem);
    padding: 2.5rem 2.5rem 1rem 2.5rem;

    .logo h1 {
      font-size: 1rem;
      line-height: 1rem;
    }

    .nav {
      grid-row: 2;
      margin: 0;
      text-align: right;
      
      a {
        display: inline-block;
      }
    }
  }
}