
@font-face {
  font-family: "Inter Tight";
  src: url("InterTight-VariableFont_wght.ttf");
  font-style: normal;
}
@font-face {
  font-family: "Inter Tight";
  src: url("InterTight-Italic-VariableFont_wght.ttf");
  font-style: italic;
}

:root {
  --yellow: #fc0;
  --tealish: #009d88;
  --forest: #006c5c;
  --blue: #455bc6;
  --pink: #e97a9f;
  --bordeaux: #920047;
  --max-width: 21cm;
  --font: "Inter Tight";
  --offset: 0.6rem;
}

* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  min-height: 100%;
}
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1cm;
}
header h1 {
  font-size: 4rem;
  font-style: italic;
  font-weight: 900;
  margin-bottom: 0;
}
p.subtitle {
  margin: 0 0 2rem 0;
  font-weight: 300;
  font-variant: small-caps;
  font-size: 1.2rem;
  letter-spacing: 3.5px;
  text-align: left;
}
div.meta {
  padding: 0.6rem 0 1rem 0;
  border-top: 1rem solid var(--yellow);
  text-align: right;
  font-style: italic;
}
div.meta > div {
  display: inline;
}
div.author::after {
  content: ", ";
}
div.imprimatur {
  text-align: center;
  opacity: 0.2;
  margin: 4rem 0;
}
div.imprimatur img {
  max-width: 2rem;
}
.back {
  float: right;
}

#abstract {
  font-style: italic;
}

p, li, dt, dd {
  font-weight: 300;
  font-size: 1.25rem;
  text-align: justify;
  line-height: 1.375;
  overflow-wrap: break-word;
}
a {
  color: var(--blue);
  font-weight: 400;
  text-decoration: none;
}
h2 {
  margin-top: 8rem;
  font-size: 2rem;
  font-style: italic;
  font-weight: 900;
  margin-bottom: 0;
}
h3 {
  margin-top: 2rem;
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 0;
}
h3 + p, h4 + p {
  margin-top: 0;
}
h4 {
  margin-bottom: 0;
  font-size: 1.25rem;
}
img {
  max-width: 100%;
}
strong {
  font-weight: 700;
}
table {
  width: 100%;
}
dt {
  font-weight: 600;
}

@media only screen and (max-width:500px) {
  header h1 {
    font-size: 3rem;
  }
  body, p, li, dt, dd {
    font-size: 1.1rem;
    text-align: left;
  }
  main {
    padding: 0.5cm;
  }
}
