/* Based on https://github.com/Evidlo/xsl-website/blob/master/styles.css
   Which in turn says: source: https://jrl.ninja/etc/1/
*/
page {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #fffaf7;
    line-height: 1.3;
    max-width: 65ch;
    padding: 1ch;
    margin: auto;
}
h2,
:is(article, aside, nav, section)
h1 {
  display: block;
  font-size: 1.5em;
  font-weight: bold;
  margin-block-start: .83em;
  margin-block-end: .83em;
}
h1 {
    font-weight: bold;
    font-size: 2em;
    display:block;
    margin-bottom: 1ch;
    margin-block-start: 0.67em;
}
p, article, main {
   display: block;
}
p {
  margin-block-start: 1em;
  margin-block-end: 1em;
}
ul {
   display: block;
   margin-block-start: 1em;
   margin-block-end: 1em;
   padding-inline-start: 40px;
   list-styletype: disc;
}
li {
  display: list-item;
  text-align: match-parent 
}

time {
    color: #888;
}
hr {
    border: none;
    height: 2px;
    background-color: #ddd;
    margin: 2rem auto;
}
a {
    color: #ff3c3c;
    text-decoration: none;
    outline: 0;
}
a:hover {
    text-decoration: underline;
}
::selection {
    background-color: #fff888;
}

.inline {
    display: inline-block;
    margin: 2rem auto;
}

.links {
    display: flex;
    justify-content: space-evenly;
    margin: 1ch;
}

iframe, table {
  border-collapse: collapse;
  margin: auto;
}

table, th, td {
  border: 1px solid black;
}
iframe {
    border: 0;
}

img {
    max-width: 70%;
    display: block;
    margin: auto;
}

figure {
    max-width: 70%;
    margin: 1ch auto 1ch auto;
    border: 1px solid gray;
    background-color: seashell;
}

figure img {
    max-width: 100%;
}

figcaption {
    font-style: italic;
    text-align: center;
}

page::after {
    content: "Your footer here";
    color: #888;
    margin-top: 2rem;
    text-align: center;
    display: block;
}
