:root {
  --max-width: 720px;
}

* {
  font-family: Verdana, sans-serif;
  box-sizing: border-box;
}

body {
  color: #333;
  background: #fff;
  overflow-x: hidden;
  overflow-y: scroll;
  line-height: 1.6;
  -ms-word-wrap: break-word;
  word-wrap: break-word;
}

a {
  text-decoration: none;
  color: #30f;
  transition: color 0.3s;
}

a:hover {
  color: #a00;
}

header,main,footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px;
}

header {
  background: #eee;
  border-bottom: 1px solid #ccc;
}

header h1 {
  margin: 0;
  padding: 10px 0;
}

main {
  background: #fff;
}

footer {
  background: #eee;
}


h1, h2, h3, h4, h5, h6 {
  color: #222;
  font-weight: bold;
  margin-top: 3rem;
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.6rem;
}

h4 {
  font-size: 1.4rem;
}

h5 {
  font-size: 1.2rem;
}

h6 {
  font-size: 1rem;
}

nav {

}

p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

ul, ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.8rem;
}

dl {
  margin-bottom: 1.5rem;
}

dt {
  font-weight: bold;
  margin-top: 1rem;
  margin-bottom: 0.8rem;
}

dd {
  margin-bottom: 0.8rem;
  margin-left: 2rem;
}

pre, code {
  font-family: Consolas, Menlo, "DejaVu Sans Mono", Courier, monospace;
}

pre {
  font-size: 0.9em;
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-top: 0;
  margin-bottom: 1.5em;
  padding: 1em;
  line-height: 1.5;
  overflow-x: auto;
}

code {
  font-size: 0.9em;
  background: #eee;
  border-radius: 3px;
  margin: 0;
  padding: 0.2em 0.4em;
}

pre > code {
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1.5rem;
}

table {
  width: 100%;
  margin-bottom: 1.5rem;
  border-collapse: collapse;
}

table, th, td {
  border: 1px solid #ccc;
}

th, td {
  padding: 0.8rem;
  text-align: left;
}

th {
  background: #eee;
}

blockquote {
  font-style: normal;
  background: #eee;
  border-left: 4px solid #ccc;
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
}
