header, main {
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  padding: 0 20px;
}

header {
  margin-top: 100px;
}

header h1 {
  font-size: 26px;
  margin-bottom: 1rem;
}

main {
  margin-bottom: 100px;
}

main h2 {
  font-size: 22px;
  margin-bottom: 1rem;
}

main h3 {
  font-size: 18px;
  margin-bottom: 1rem;
}

main hr {
  margin: 1.5rem 0;
}

a:link, a:visited {
  text-decoration: none;
}

.intro ul {
  list-style: none;
}

ul li, ol li {
  margin-bottom: 0.2rem;
}

details ol {
  padding-left: 40px;
}

.small {
  font-size: 16px;
}

details {
  padding-left: 42px;
}

details summary {
  margin-left: -42px;
  margin-bottom: 1rem;
}

details summary h3 {
  margin-left: 0px;
  display: inline;
}

details h3 {
  margin-left: -25px;
}

details summary span:first-child:before {
  content: 'Show ';
}

details[open] summary span:first-child:before {
  content: 'Hide ';
}

.directions details summary {
  color: var(--bs-secondary-color);
  font-size: 16px;
  position: relative;
}

.directions details summary::marker {
  font-size: 18px;
}

.directions details summary span:first-child:before {
  display: inline-block;
  width: 45px;
}

.directions details summary h3 {
  color: black;
}

.directions details {
  margin-bottom: -0.5rem;
}

.directions details > :last-child {
  margin-bottom: 2rem;
}

.directions details:last-child {
  margin-bottom: 1rem;
}

.minor-step {
  font-size: 14px;
  color: var(--bs-secondary-color);
  margin-top: 2px;
}

.demo-conclusion {
  /* color: var(--bs-warning); */
  background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(214,139,18,1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

main #source-code h2, main .perf-metrics h2 {
  font-size: 18px;
  margin-bottom: 0.5rem;
}

main #source-code ul {
  list-style: none;
}

main #source-code ul li {
  padding-left: 30px;
  text-indent: -30px;
  margin-bottom: 0.5rem;
}

main #source-code ul li .bi {
  text-indent: 0px;
}

@-webkit-keyframes shake {
  0% { -webkit-transform: translate(2px, 1px) rotate(0deg); } 
  10% { -webkit-transform: translate(-1px, -2px) rotate(-1deg); }
  20% { -webkit-transform: translate(-3px, 0px) rotate(1deg); }
  30% { -webkit-transform: translate(0px, 2px) rotate(0deg); }
  40% { -webkit-transform: translate(1px, -1px) rotate(1deg); }
  50% { -webkit-transform: translate(-1px, 2px) rotate(-1deg); }
  60% { -webkit-transform: translate(-3px, 1px) rotate(0deg); }
  70% { -webkit-transform: translate(2px, 1px) rotate(-1deg); }
  80% { -webkit-transform: translate(-1px, -1px) rotate(1deg); }
  90% { -webkit-transform: translate(2px, 2px) rotate(0deg); }
  100% { -webkit-transform: translate(1px, -2px) rotate(-1deg); }
}
.shake {
  -webkit-animation-name: shake;
  -webkit-animation-duration: 0.5s;
  -webkit-transform-origin:50% 50%;
  -webkit-animation-iteration-count: infinite;
  display: inline-block;
}