html {
  font-size: 18px;
}
body {
  box-sizing: border-box;
  color: rgb(68, 69, 70);
  font-family: Georgia, 'Times New Roman', Times, serif;
  margin: 0 5%;
}
footer {
  border-top: 1px solid rgb(12, 74, 133);
  margin-top: 50px;
  padding-bottom: 20px;
}

h1, h2, h3, h4 {
  color: rgb(12, 74, 133);
  font-family: Helvetica, Arial, Lucida, sans-serif;
  font-weight: normal;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.2rem;
}

a:not(p a) {
  text-decoration: none;
}
article li {
  padding-bottom: 10px;
}
li, span, p, th, td {
  line-height: 1.5;
}
main.documentation, main.post {
  margin: auto;
  max-width: 800px;
  padding: 20px;
}
nav {
  border-bottom: 1px solid rgb(12, 74, 133);
  margin-block-end: 1em;
  padding-inline-start: 0;
}
nav span {
  border-radius: 10px;
  display: inline-block;
  font-family: Helvetica, Arial, Lucida, sans-serif;
  margin: 10px;
  padding: 10px;
}
nav span:hover {
  box-shadow: 1px 1px 2px rgb(68, 69, 70);
}
nav a {
  color: rgb(12, 74, 133);
  font-size: 1.2rem;
}
nav a:hover {
  color: rgb(29, 41, 63);
}
section + section {
  margin-top: 3rem;
}
table {
  border-collapse: collapse;
  width: 100%;
}
table td {
  padding: 5px 10px;
}
table th {
  background-color: rgb(12, 74, 133);
  color: white;
  font-weight: 400;
  padding: 10px;
  text-align: left;
}
table tr:nth-child(2n) {
  background: rgba(12, 74, 133, 0.05);
}
.button-link:hover {
  border-radius: 10px;
  box-shadow: 1px 1px 2px rgb(68, 69, 70);
  color: rgb(29, 21, 63);
  padding: 10px;
  text-decoration: none;
}
.codeblock pre {
  background: rgba(12, 74, 133, 0.05);
  overflow-x: auto;
  padding-left:  20px;
  white-space: pre-wrap;
}

article {
  margin-top: 1rem;
  position: relative;
}
article img {
  max-width: 100%;
  height: auto;
}
article.intro {
  display: flex;
  flex-flow: wrap-reverse;
  column-gap: 1rem;
  max-width: 1350px;
}
.article-image {
  width: 300px;
}
.article-image img {
  margin: 27px 0;
}
.article-intro {
  flex: 1 0 250px;
  vertical-align: top;
}

#endpoint {
  height: 1px;
  pointer-events: none;
  width: 1px;
}

#midpoint {
  height: 1px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  width: 1px;
}

#progress {
  border-bottom: 6px solid rgb(201,47,32);
  left: 0;
  position: fixed;
  top: 0;
  width: 0;
  z-index: 100;
}

.documentation article .main-image {
  width: 100%;
}

#introSection {
  display: inline-block;
  margin-right: 36px;
  max-width: 500px;
}
#cartSection {
  border: 1px solid rgb(12, 74, 133);
  border-radius: 10px;
  display: inline-block;
  margin-top: 18px;
  padding: 10px;
  vertical-align: top;
}
#cartSection * {
  margin: auto;
  text-align: center;
  width: 180px;
}
#buttons button {
  background-color:rgb(29, 41, 63);
  border: none;
  border-radius: 10px;
  color: rgb(255,255,255);
  cursor: pointer;
  height: 40px;
  margin: 33px 20px;
  text-transform: uppercase;
  width: 300px;
}
#buttons button:hover {
  box-shadow: 1px 1px 2px rgb(68, 69, 70);
  font-weight: 600;
}

@media only screen and (max-width: 414px) {
  #hero-container {
    height: 238px;
  }
  #introSection {
    margin-right: 0;
  }
}
@media only screen and (min-width: 900px) {
  .article-image {
    width: 400px;
  }
}