body {
  font-family: serif;
  font-size: 18px;
  text-align: justify;
  background-size: cover;
  background-attachment: fixed;
  background-position:center;
  min-width: 350px;
}

a {
  color: green;
  text-decoration: none;
  padding: 0.25em;
  border-radius: 0.25em;
}

a:hover {
  background-color: green;
  color: white;
  text-decoration: none;
}

blockquote {
  font-style: italic;
}

li {
  text-align: left; /*You can change this, but centered lists can look kind of weird.*/
  margin-left: 20px
  }
  
h1,h2,h3,h4,h5,h6 { margin-bottom: 0px; }
h1, h2 { text-align: center; }
h3, h4, h5, h6 { text-alight: left; margin-left: 2ch; }
h1    { margin-top: 1rem; }
h2,h3 { margin-top: 0.5rem; }

h1 {
  font-size: 40px;
  letter-spacing:4px;
  }
  
h2 {
  font-size: 30px;
  letter-spacing: 3px;
  }

em {
  font-style:italic;
  font-weight:bold;
  }

header, footer {
  background-color: #fff;
  border: 2px solid #000;
  text-align: center;
  margin: 0.5rem auto;
  overflow: hidden;
}

footer {
  font-size: small;
}

footer img {
  float: right;
  display: block;
}

/* Replace <hr> lines with typographical symbol FULL WIDTH ASTERISK, ＊ */
hr {
  margin-top: 2em;
  margin-bottom: 2em;
  border: none;
}

hr::before {
    content: '＊＊＊';
    display: block;
    text-align: center;
    color: black;
}

  
/*Use as the class of spans or divs you want to have normal left-aligned text.*/
/*You can combine classes by putting them together with a space, i.e. <div class="box left"> will be a div using "box" and "left" styles.*/
.left {
  text-align:left;
  }
  
body {
  margin: 5% 0 4% 0;
}

main, header, footer {
    width: 40rem;
  max-width: 85%;
    padding: 0.5rem 1.5rem;
  }

main {
	border: 2px solid #000;
	max-width: 85%;
	min-height: 24rem;
	padding: 2rem 1.5rem;
	margin:0 auto;
	background-color: #fff;
}

/* Indent paragraphs, but not the first paragraph. */
main p { margin-top: 0.5em; }
main p { margin-bottom: 0; }
main p + p { text-indent: 1.5em; }

/*Prevent overflow of large images.*/
main img, header img, footer img, .box img, .box-noscroll img, .box-round img {
  max-width: 100%;
  height: auto;
  }

figure img {
  display: block;
  margin: 0 auto;
}

figure {
  margin: 0 auto;
  width: 60%;
  min-width: 256px;
  padding: 0.25rem;
}

figcaption {
  font-weight: thin;
  font-size: small;
}

/*For narrow screens.
@media (max-width: 500px) {
  main {
    width: 85%;
    }
  }
  
/*Mobile compatibility
@media (orientation: portrait) {
  main {
    width: 85%;
    }
  }*/

i[lang]::after {
  border: 1px solid black;
  border-radius: 2px;
  font-size: small;
  font-weight: thin;
  margin-left: 0.5ch;
  padding-left: 0.5ch;
  padding-right: 0.5ch;
}

i[lang="tok"]::after {
  content: "toki pona"
}

i[lang="akk"]::after {
  content: "Akkadian"
}

i[lang="hbo"]::after {
  content: "Biblical Hebrew"
}

i[lang="non"]::after {
  content: "Old Norse"
}

i[lang="ang"]::after {
  content: "Old English"
}
