/* Cdn fonts */
@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Libre+Caslon+Display&family=Libre+Caslon+Text:ital,wght@0,400;0,700;1,400&display=swap");
@import url("https://fonts.cdnfonts.com/css/boecklins-universe");

:root {
  --color-bg: papayawhip;
  --color-text: #121417;
  --color-dred: #9e1100;
  --color-lred: #d42300;
  --color-lgreen: #b6b126;
  --color-dgreen: #355f17;
  --color-orange: #eb9900;
  --wrapper-height: 85vh;
  --image-max-width: 320px;
  --font-family-text: "Libre Caslon Text";
  --font-family-heading: "Libre Caslon Display";
}

* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}

/* Typography */
p {
  margin: 0 0 0.5rem 0;
  line-height: 1.5 !important;
  font-size: 1rem;
}
h1,
h2,
h3,
h4,
h5 {
  margin: 2rem 0 0.8rem;
  font-family: var(--font-family-heading);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-text);
}
h1 {
  margin-top: 0rem;
  margin-bottom: 1.75rem;
  font-size: 5rem;
  display: inline-flex;
  color: var(--color-text);
}
h2 {
  font-size: 4rem;
}
h3 {
  font-size: 2rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
small,
.text_small {
  font-size: 0.8rem;
}
ul > li,
ol > li {
  margin-bottom: 0.75rem;
  line-height: 1rem;
  font-size: 1rem;
}
ul {
  padding: 0 0 0 1rem;
  margin: 0;
  list-style-type: disc;
}

/* Link styles */
a:link,
a:visited {
  line-height: 1rem;
  text-decoration: underline;
  font-weight: 700;
  color: var(--color-text);
  transition: background 0.05s linear;
}
a:hover {
  background: var(--color-orange);
}

body {
  background: var(--color-bg);
  padding: 1rem;
  font-family: var(--font-family-text);
  display: grid;
}

.page-container {
  padding: 1rem;
  border: var(--color-text) solid;
  border-radius: 0.5rem;
  place-self: stretch center;
  max-width: 120rem;
}

header,
footer {
  text-align: center;
  margin: -1rem;
  justify-content: center;
  background-color: var(--color-text);
  color: var(--color-bg);
}

header {
  margin-bottom: 1rem;
  font-family: "Boecklins Universe", serif;
  font-size: 2rem;
  position: sticky;
  top: 0;
  z-index: 1;
}

footer {
  margin-top: 1rem;
  line-height: 1rem;
  padding: 0.5rem 0;
  font-family: sans-serif;
  font-size: 1rem;
}

/* Who doesn't appreciate a thematic break? */
hr {
  border: none;
  border-top: var(--color-text) 0.25rem double;
  color: var(--color-text);
  overflow: visible;
  text-align: center;
  height: 0.75rem;
  margin: 1rem 0;
}

hr::after {
  content: "§";
  background: var(--color-bg);
  padding: 0 0.25rem;
  position: relative;
  top: -0.75rem;
}
