body {
  margin: 0;
  font-family: Roboto, -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen,
    Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em 0;
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: 2em;
}

a {
  color: inherit;
}

code {
  font-family: menlo, inconsolata, monospace;
  font-size: calc(1em - 2px);
  color: #555;
  background-color: #f0f0f0;
  padding: 0.2em 0.4em;
  border-radius: 2px;
}

@media (min-width: 400px) {
  body {
    font-size: 16px;
  }
}

main {
  position: relative;
  background-color: white;
  padding: 2em;
  box-sizing: border-box;
}

footer {
  position: fixed;
  bottom: 0;
  padding: 1em 2em;
}

footer a {
  display: inline-block;
}

footer a:hover {
  filter: grayscale(80%);
}

.icon:first-child {
  margin-right: 0.625em;
}

nav {
  border-bottom: 1px solid rgba(255, 62, 0, 0.1);
  font-weight: 300;
  padding: 0 1em;
}
ul {
  margin: 0;
  padding: 0;
}
/* clearfix */
ul::after {
  content: '';
  display: block;
  clear: both;
}
li {
  display: block;
  float: left;
}
[aria-current] {
  position: relative;
  display: inline-block;
}
[aria-current]::after {
  position: absolute;
  content: '';
  width: calc(100% - 1em);
  height: 2px;
  background-color: rgb(255, 62, 0);
  display: block;
  bottom: -1px;
}

h1 {
  font-size: 2.8em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0;
}
h2 {
  margin: 0;
}
@media (min-width: 480px) {
  h1 {
    font-size: 4em;
  }
}
