
/* -----------------------------------------
Helpers
-------------------------------------------- */

* {
  box-sizing: border-box;
}

/* -----------------------------------------
Global
-------------------------------------------- */
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
  position: relative;
  height: 100%;
}

body {
  font-family: 'Open Sans', sans-serif;
  margin: 0; /* bottom = footer height */
  padding: 0;
  color: #222;
  margin: 0;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

main {
  padding: 2rem 0 3rem;
}

section {
  padding: 0 6rem;
}

ul {
  padding: 0;
  margin-top: 0;
  margin-bottom: 1.5rem;
  list-style: none;
}

li {
  margin-bottom: .5rem;
  font-size: .95rem;
  line-height: 1.4;
}

/* -----------------------------------------
Type
-------------------------------------------- */

a {
  text-decoration: none;
  color: #00AAF5;
  font-weight: 600;
  padding-bottom: 1px;
  transition: all .2s;
  border-bottom: 2px solid white;
}

a:hover {
  border-bottom: 2px solid #00AAF5;
}

h1 {
  font-family: 'Raleway', sans-serif;
  color: white;
  font-size: 3rem;
  text-transform: uppercase;
  text-align: left;
  line-height: 1.5;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
  margin-bottom: 0;
  margin-top: 0;
  letter-spacing: 0.01em;
}

h1 a {
  border-bottom-width: 4px;
}

h2 {
  margin-top: 30px;
  font-size: 20px;
  text-transform: uppercase;
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 2px solid #2F3340;
  color: #2F3340;
  font-family: "Raleway", sans-serif;
}

h3 {
  margin-bottom: .85em;
  font-family: "Raleway";
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: .05em;
}

p {
  line-height: 1.4;
}

/* -----------------------------------------
Header
-------------------------------------------- */
header {
  margin: 0;
  padding: 24px 96px;
  padding: 2.8rem 6rem;
  background-color: RGB(23, 169, 248);
}

/* -----------------------------------------
Footer
-------------------------------------------- */
footer {
  color: white;
  background-color: #17A9F8; /* Dark Blue */
  padding: .5rem 6rem;
  height: 61px;
  flex: 1;
}

/* -----------------------------------------
Media Queries
-------------------------------------------- */

@media only screen and (max-width: 990px) {
  header, section, footer {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media only screen and (max-width: 750px) {
  html {
    font-size: 14px;
  }
}

@media only screen and (max-width: 650px) {
  nav li {
    padding: 0 1rem;
  }
}


@media only screen and (max-width: 520px) {
  html {
    font-size: 13px;
  }

  header, section, footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

}
