@import "theme.css";
@import "mobile.css";

* {
  margin: 0;
  padding: 0;
  color: var(--text-color);
}

html {
  height: 100%;
}

body,
figcaption {
  background-color: var(--bg-color);
  padding-bottom: 0;
  font-family:  var(--body-font);
  margin: 0;
}

body > *,
body > * > *,
main figure > *,
main figure > div > *,
main p {
  margin-bottom: 30px;
}


table td,
table th {
  vertical-align: top;
  padding: 2.5px 5px;
  text-align: left;
}

table td > pre,
table th > pre {
  background: none;
  padding: 0;
  margin: 0;
}

table tr img {
  margin-bottom: 0;
}


main {
  max-width: 624px;
  clear: both;
  margin: 0 auto;
}

main a {
  text-decoration: underline;
  text-decoration-thickness: from-font;
  font-weight: 500;
  color: darkgray;
}

main cite {
  display: block;
  clear: both;
  margin-bottom: 30px;
}

main cite:before {
  content: "— ";
}

main > figure:first-child img:first-child {
  margin-left: -30px;
  width: 800px;
  max-width: 100vw;
}

main iframe {
  width: 100%;
}

main h1 {
  margin-top: 31px;
}

main ul,
main ol {
  margin: 0 30px 30px 30px;
}

main ul ul {
  margin-bottom: 0;
}

main li {
  list-style-type: none;
}

main ul li,
main ol li {
  font-size: 16px;
}

main p,
main li {
  line-height: 25px;
  text-align: left;
  font-weight: 100;
}

main ul li p,
main ul li address {
  padding-left: 30px;
  margin: 10px 0;
}

main img,
main picture,
main svg {
  display: block;
  margin: 0 auto;
}

main pre,
main code {
  background-color: var(--lighter-divider-color);
  zoom: 0.9;
}

main pre {
  overflow: auto;
  padding: 10px;
  margin-bottom: 30px;
}

main code {
  white-space: pre;
}

main hr {
  clear: both;
  background: var(--divider-color);
  height: 1px;
  border: 0;
}

footer {
  border-top: 1px solid var(--divider-color);
  margin: 70px auto;
  padding: 20px 5px 40px 0;
  font-size: 16px;
  font-family: var(--body-font);
  width: 624px;
  display: flex;
  text-align: left;
  justify-content: flex-end;
}

footer > a {
  margin-left: 20px;
  text-decoration: none;
}

html {
  -webkit-font-smoothing: antialiased;
  font-family: serif;
  font-size: 111.5% !important;
  touch-action: pan-x pan-y;

}

p {
  line-height: 33px;
  margin-top: 31px;
  margin-bottom: 0;
}

ol li,
ul li {
  line-height: 31px;
}

ol ol,
ol ul,
ul ol,
ul ul {
  margin-top: 0;
  margin-bottom: 0;
}

input[type="checkbox"] {
  margin-right: 10px;
}

address {
  font-style: italic;
}

figcaption {
  text-align: center;
  font-size: 80%;
  padding: 10px;
  margin: 10px;
  font-weight: 300;
}

.end {
  text-align: center;
  letter-spacing: 20px;
  padding: 20px 0 !important;
}

.welcome {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='32  32 32'%3E%3Cpath fill='%2F1A93A' fill-opacity='1.0' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
  background-color: rgba(255, 255, 255, 0.9);
  color: black;
  padding: 10px;
  font-weight: bold;
  text-align: center;
}

.welcome > a {
  color: black;
  font-weight: bold;
}