* {
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: ComicSansMS;
  src: url(imgs/comic-sans-ms.ttf);
}

html {
  font-family: ComicSansMS, sans-serif;
  font-size: 1.2em;
  color:#1a1a1a;
  background-color: #DCD9C8;
  background-image: url("imgs/back.png");
}

body {
  margin-top: 10px;
  margin: auto;
  max-width: 50%;
  hyphens: auto;
  overflow-wrap: break-word;
  background-color: #DCD9C8;
}

@media (max-width: 600px) {
  body {
    font-size: 0.9em;
    padding: 12px;
	max-width: 100%;
  }

  h1 {
    font-size: 1.8em;
  }

}

@media print {
  html {
    background-color: white;
  }

  body {
    background-color: transparent;
    color: black;
    font-size: 40pt;
  }

  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }

  h2, h3, h4 {
    page-break-after: avoid;
  }
}

p {
  margin: 1em 0;
  line-height: 1.8em;
  font-family: ComicSansMS, sans-serif;
  font-size: 1.3em;
} 

article {
  padding-left: 20px;
  padding-right: 20px;
}

a {
  color: sienna;
}

a:hover {
  text-decoration: none;
}

a:visited {
  color: sienna;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 1.4em;
}

h1 {
  color: #535025;
  text-align: center;
  background-color: lightgreen;
  border: 8px double #63a642;
  background-image: url("imgs/pattern.png");
  background-size: contain;
}

h2 {
  color: #776563;
}

h1.title {
  font-size: 1.3em;
  font-weight: normal;
}

ol, ul {
  padding-left: 1.7em;
  margin-top: 1em;
  list-style-type: upper-roman;
  font-family: ComicSansMS, sans-serif;
  font-size: 1.3em;
}

li > ol, li > ul {
  margin-top: 0;
}

li {
  padding: 10px;
}

hr {
  background-color: #1a1a1a;
  border: none;
  height: 1px;
  margin: 1em 0;
}

header {
	font-family: "Mono";
	font-size: 0.8em;
	margin-top: 30px;
}

code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
div.columns{display: flex; gap: min(4vw, 1.5em);}
div.column{flex: auto; overflow-x: auto;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
/* The extra [class] is a hack that increases specificity enough to
   override a similar rule in reveal.js */
ul.task-list[class]{list-style: none;}
ul.task-list li input[type="checkbox"] {
  font-size: inherit;
  width: 0.8em;
  margin: 0 0.8em 0.2em -1.6em;
  vertical-align: middle;
}
q { quotes: "“" "”" "‘" "’"; }

.display.math{display: block; text-align: center; margin: 0.5rem auto;}
