body {
  background-color: white;
  max-width: 1000px;
  margin: 0 auto 100px auto;
  box-sizing: border-box;
  font-family: "Open sans", Helvetica, Arial, sans-serif;
  background-image: url("/images/misc/csse-background.png");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}

.page-header {
  display: flex;
  justify-content: space-between;
  text-align: center;
  align-items: center;
  padding: 10px;
  padding-left: 0;
  border-bottom: 1px #555 solid;
  font-weight: 700;
  font-size: 1.5rem;
  color: #444;
  font-family:
    "Consolas", "Menlo", "DejaVu Sans Mono", "Bitstream Vera Sans Mono",
    monospace;
  min-height: 80px;
}

@media (max-width: 600px) {
  .page-header {
    flex-direction: column;
    min-height: unset;
    gap: 8px;
    padding: 10px 0;
  }
}

@media (max-width: 1016px) {
  body {
    padding: 0 16px;
  }
}

.page-footer {
  text-align: center;
  align-items: center;
  margin-top: 10px;
  padding: 10px;
  padding-left: 0;
  border-top: 1px #555 solid;
  font-weight: 700;
  font-size: 1rem;
  color: #444;
  font-family:
    "Consolas", "Menlo", "DejaVu Sans Mono", "Bitstream Vera Sans Mono",
    monospace;
}

.uc-brand {
  background: url("/images/logos_motifs/uc-coat-of-arms.svg");
  background-repeat: no-repeat;
  width: 100px;
  height: 80px;
  margin-top: 12px;
  margin-left: 20px;
  margin-right: 20px;
}

.csse-brand {
  background: url("/images/logos_motifs/csse_motif-80x-trans.png");
  background-size: 80px; /* pre-scale the image externally to this size, to not waste bandwidth */
  background-repeat: no-repeat;
  width: 80px;
  height: 80px;
  margin-top: 12px;
  margin-left: 20px;
  padding-right: 20px;
}

h1 {
  color: #222;
  font-size: 2.2rem;
}

/* if we have a drophead, we want to bring it closer */
h1:has(+ .drophead) {
  margin-bottom: 10px;
}

/* Just below the heading, also known as a deck (like a "subtitle" to a heading) */
.drophead {
  color: #222;
  font-style: italic;
  margin-top: 0;
  padding-top: 0;
  font-size: 1em;
}

h2 {
  color: #333;
}

p,
li {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #444;
}

ul,
ol {
  padding-left: 30px;
  margin-left: 0;
  /* list-style-type: none; */
}

a {
  text-decoration: none;
}

/* set colours - all these need to be the same colour so I'm setting it together */
a,
li::marker {
  color: #cc0011;
}

/* ... and the related (dimmer) colour */
a:hover {
  color: #ae0311;
}

/* TODO: this doesn't center the markers vertically - find a way to do that */
ul li::marker {
  font-size: 1.8em;
  margin-top: 10px;
}
