html, body {
  margin: 0;
  height: 100%; /* keeps the footer at the bottom of window */
}

a {
  text-decoration: none;
  color: #293047;
  cursor: pointer;
}

/* =======
Typography 
======= */

body {
  font-family: "Quicksand", Arial, Helvetica,sans-serif;
  font-style: normal;
  font-size: 1rem;

  line-height: 1.7rem;
  word-spacing: 0.1rem;
  text-transform: none;
  color: #293047;

}

header {
  font-size: 0.7rem;
  letter-spacing: .15rem;
  text-transform: uppercase;
}

.header-name {
  font-size: 1.5rem;
}

header ul, footer ul {
  list-style-type: none; 
}


h2, h3, h4, h5 {
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .1rem;
}

h1{
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}


/* ========
Layout 
======== */
body {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 4rem auto 4rem; 
}

header, main, footer {
  grid-column: 1 / -1
}

/* header layout */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-nav-left {
  display: flex;
  align-items: center;
  padding: 0 2rem
}

.header-name {
  text-align: center;
  align-items: center;
  white-space: nowrap;
}

.header-nav-right {
  display: flex;
  align-items: center;
  padding: 0 2rem;
}

header li {
  padding: 0 1rem;
}

img.logo {
  width: 1.5rem;
  display: block;
}


/* main layout */
main {
  grid-row: 2 / 3;

  display: flex;
  flex-direction: column;
}


/* footer layout */
footer {
  background-color: #eef3f4;
}

.footer-nav {
  grid-row: -1 / -2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.copy {
  margin-right: auto;
}

footer li {
  padding: 0 0.5rem
}

/* =======
hover
======== */
.header-links a:hover {
  text-decoration: underline;
  text-decoration-color: #ff5f33;
  -webkit-text-decoration-color: #ff5f33;
}
