/* html is set to 62.5% so that all the REM measurements throughout Skeleton are based on 10px sizing. So basically 1.5rem = 15px :) */

html {
  font-size: 62.5%;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  background: #006580;

  font-family: 'lato', sans-serif;
  font-weight: 700;
  font-size: 1.2em;
  line-height: 1.4;
  letter-spacing: 0.05rem;
  color: #ffffff;
}

.content {
  flex: 1;
}

h1 {
  font-family: 'bitter', serif;
  font-weight: 400;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05rem;
}

h1, .h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

p {
  font-size: 1.3rem;
  line-height: 2;
}

a {
  color: #A9A9A9;
  text-decoration: none;
  font-weight: 700;
}

a:hover {
  color: #FFFFFF;
}

header {
  padding: 2rem;
}

main {
  padding: 20px;
  line-height: 1.7rem;
  text-align: center;
}

main p {
  margin: 0 auto;
  max-width: 25.5rem;
}

main p + p {
  margin-top: 4rem;
}

.footer {
  background: #112225;
  color: #A9A9A9;
}

.footer_links p, .footer_links a {
  text-transform: none;
  font-size: 1.1rem;
  margin: 0;
  padding-bottom: 1rem;
  line-height: inherit;
}

.footer_logo a {
  opacity: 0.7;
  display: none;
}

.footer-divider {
  color: #7d5b9a;
}

.logo {
  height: 2.5rem;
}

.tool-icon {
  width: 8rem;
}

@media (min-width: 768px) {
  p {
    font-size: 1.6rem;
  }

  h1 {
    font-size: 3rem;
  }

  header {
    padding: 3.5rem;
  }

  main {
    padding: 30px;
    line-height: 2.5rem;
  }

  main p {
    max-width: 45rem;
  }

  main p + p {
    margin-top: 8.5rem;
  }

  .footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }

  .footer_links {
    display: block;
    padding: 1.23rem 2.14rem;
  }

  .footer_links p, .footer_links a {
    font-size: 1.2rem;
  }

  .footer_logo {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    border-left: 1px solid #38727d;
  }

  .footer_logo a {
    display: flex;
    align-items: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 0 1.43rem;
    margin: 1.43rem 0;
    border-right: 1px solid #4892a1;
  }

  .footer_logo a:last-of-type {
    border-right: 0;
  }

  .footer_logo a:hover {
    opacity: 1;
  }

  .footer_logo img {
    height: 4rem;
    padding-right: 1.5rem;
  }

  .logo {
    font-size: 4.2rem;
  }

  .logo_tagline {
    font-size: 1rem;
  }

  .dcyf-logo {
    width: 212.5px;
    height: 40px;
    background-image: url('dcyf.png');
  }

  .aptible-logo {
    width: 130px;
    height: 34px;
    background-image: url('aptible-solid-light.png');
  }

  .cssat-logo {
    font-size: 2rem;
    text-transform: uppercase;
    width: 130px;
    height: 30px;
    line-height: 2.2rem;
  }

  .tool-icon {
    width: 100px;
  }
}
