:root {
  color-scheme: light;
  font-family: "Times New Roman", Times, serif;
  font-size: 14pt;
  color: #000;
  background: #fff;
}

* { box-sizing: border-box; }

body { margin: 0; background: #fff; }

main {
  width: min(100% - 40px, 700px);
  margin: 64px auto 96px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

header { margin-bottom: 48px; }
h1 { margin: 0 0 8px; font-size: 28pt; line-height: 1.2; }
a { color: inherit; text-underline-offset: 3px; }
.main-menu,
.jump-newest,
.jump-oldest {
  position: fixed;
  z-index: 1;
  border: 0;
  padding: 8px;
  background: #fff;
  color: inherit;
  font: 16pt "Times New Roman", Times, serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.main-menu { top: 24px; left: 24px; }
.jump-newest { top: 24px; right: 24px; }
.jump-oldest { bottom: 24px; right: 24px; }
h2 {
  margin: 72px 0 24px;
  font-size: 16pt;
  font-weight: bold;
  line-height: 1.4;
}
#journal > h2:first-child { margin-top: 0; }
p { margin: 0 0 24px; }
#journal p { text-indent: 2em; }
figure { margin: 32px 0; }
figure img {
  display: block;
  max-width: 100%;
  width: auto;
  max-height: 800px;
  height: auto;
  margin: 0 auto;
}
figcaption {
  margin-top: 10px;
  font-size: 12pt;
  font-style: italic;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 600px) {
  main { margin-top: 80px; }
  .main-menu { top: 16px; left: 16px; }
  .jump-newest { top: 16px; right: 16px; }
  .jump-oldest {
    bottom: 16px;
    right: 16px;
  }
}
