@font-face {
    font-family: montserrat;
    src: url(../fonts/Montserrat-400-subset.woff2);
}
@font-face {
    font-family: open-sans;
    src: url(../fonts/Open_Sans-Variable-subset.woff2);
}

html {
    font-size: 62.5%;
}

h1 {
    font-family: montserrat;
    font-size: 8rem;
}

h2 {
    font-family: open-sans;
    font-size: 3.5rem;
}

nav > a {
    font-family: open-sans;
    font-size: 4rem;
}

h3 {
    font-family: open-sans;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

h4 {
    font-family: open-sans;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    padding: 0.5rem;
    font-weight: 700;
}

p, td, th {
    font-family: open-sans;
    font-size: 1.8rem;
    padding: 1rem;
}

li {
    font-family: open-sans;
    font-size: 1.5rem;
    padding: 0.5rem;
}

@media screen and (max-width: 500px) {
  /* Headings smaller on mobile */
  h1 {
    font-size: 6rem;
  }
  h2 {
    font-size: 2.5rem;
  }
  p, td, th {
    font-size: 1.5rem;
    padding: 0.5rem;
  }
}

@media screen and (max-height: 500px) {
  h1 {
    font-size: 5rem;
  }
  h2 {
    font-size: 2rem;
  }
}