@import url('https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre:wght@700&family=Inconsolata:wght@400;700&display=swap');

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
	font-size: calc(16px + 6 * ((100vw - 320px) / 1200));
  height: 100%;
}

body {
  min-height: 100%;
  font-family: 'inconsolata', monospace;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: flex-start;
  color: blue;
  margin: 0 auto;
  max-width: 1600px;
  padding: 2rem;
  line-height: 1.3;
}
h1 {
  font-family: 'frank ruhl libre', serif;
  font-size: 6rem;
  line-height: .8;
  margin: 0 0 2rem;
}
a {
  color: blue;
}
main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100%;
  margin: 0 0 2rem;
}

main div {
  border: 2px solid blue;
  border-right-width: 0;
}

main div:last-of-type {
  border-right-width: 2px;
}

main h2 {
  margin: 0;
  font-size: 1rem;
  border-bottom: 2px solid blue;
}

main h2, main p, main ul {
  padding: 1rem;
}

ul {
  list-style: none;
}

p, ul {
  margin: 0 0 1rem;
}

footer {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-self: flex-end;
}

footer div {
  width: 50%;
}

footer div:last-of-type {
  text-align: right;
}

@media (max-width: 800px) {
  h1 {
    font-size: 4rem;
  }
  main {
    grid-template-columns: 1fr;
  }
  main div {
    border-right-width: 2px;
    border-bottom-width: 0;
  }
  main div:last-of-type {
    border-bottom-width: 2px;
  }
  main h2 {
    border-bottom: none;
    padding-bottom: 0;
  }
}