html, body {
  margin: 0;
  background: #f4f4f4;
}

html {
  font-size: 62.5%;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  font-size: 1.7rem;
  line-height: 2.4rem;
  text-align: center;
}

body,
input,
button {
  color: #333;
  font-family: sans-serif;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}

a {
  color: #0266a9;
  text-decoration: none;
  border-bottom: .1em solid;
}

a:hover, a:focus {
  text-decoration: none;
}

main, nav {
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.wrapper {
  padding: 0 20px;
}

time {
  display: block;
}

h1, h2, h3, p, ul, time {
  margin: 0;
  padding: 0 0 2.4rem;
}

h2 {
  font-size: 16px;
  font-weight: 700;
}

h3 {
  font-size: 16px;
  padding: 0;
}

header {
  position: relative;
  margin-bottom: 2.4rem;
}

header h1 {
  font-size: 1.6rem;
  color: #000;
  background: #fff;
  padding: 1.2rem 0;
  border-top: 5px solid #3498db;
  border-bottom: 1px solid #ccc;
  text-transform: uppercase;
  text-align: center;
}

header a {
  color: #000;
  border: 0;
}

header a:hover,
header a:focus {
  color: #555;
}

article {
  text-align: left;
  padding: 0 20px;
  margin: 0 auto;
}

pre {
  overflow: scroll;
  padding: 1em;
  margin: 0 -1em 2.4rem;
  background: #333;
  color: #fff;
  border-radius: 3px;
}

nav {
  padding: 0 20px;
}

nav ul {
  list-style: none;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}
