/* A deliberately plain academic homepage, inspired by the reference site. */
html {
  color-scheme: light;
}

body {
  margin: 8px;
  background: white;
  color: black;
  font-family: "Times New Roman", Times, serif;
  font-size: 1rem;
  line-height: normal;
  overflow-wrap: break-word;
}

.portrait {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
}

.contact {
  margin: 1em 0;
}

.contact h1 {
  margin: 0;
  font: inherit;
  font-weight: bold;
}

a:link {
  color: #0000ee;
}

a:visited {
  color: #551a8b;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* Supporting pages use small headings and the same browser-like spacing. */
.subpage h1 {
  font-size: 1.5rem;
}

.subpage h2 {
  font-size: 1.125rem;
}

.subpage section {
  margin: 2em 0;
}
