/* The atlas's page of text, on a sheet of paper over the sea: how the atlas is made, and its sources (about.html). */
:root {
  --paper: #f7f6f2;
  --paper-edge: #deded6;
  --ink: #253234;
  --ink-soft: #626b6c;
  --ink-line: rgba(37, 50, 52, 0.3);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-tap-highlight-color: transparent; }   /* a tapped link darkens (:active), with no browser box over it */
body {
  min-height: 100dvh;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font: 14px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
main {
  max-width: 880px;   /* room for two columns of logbooks, so the page fits a laptop's screen */
  overflow-wrap: anywhere;   /* shared voyage addresses and source titles stay on the sheet on narrow screens */
  margin: 0 auto;
  padding: 18px 32px 14px;
  background: var(--paper);
}
a { color: inherit; text-decoration-color: var(--ink-line); text-underline-offset: 2px; }
a:hover, a:active { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* back to the atlas: an arrow and words */
.back {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; padding: 4px 0;
  color: var(--ink-soft); font-size: 13px; text-decoration: none;
}
.back:hover, .back:active { color: var(--ink); }
h1 { margin: 0 0 8px; font-size: 24px; line-height: 1.2; font-weight: 650; }
h2 {
  margin: 16px 0 6px;
  padding-top: 10px;
  border-top: 1px solid var(--paper-edge);
  font-size: 16px; line-height: 1.2; font-weight: 600;
}
p { margin: 0 0 8px; }
.note { color: var(--ink-soft); font-size: 13.5px; }
/* the logbooks: each its voyages and its scan, in two columns where there is room */
.books { columns: 2 300px; column-gap: 32px; list-style: none; margin: 8px 0 12px; padding: 0; font-size: 13.5px; }
.book { break-inside: avoid; padding: 3px 0; }
.scan { color: var(--ink-soft); font-size: 12.5px; white-space: nowrap; }
.years { font-variant-numeric: tabular-nums; font-size: 12.5px; white-space: nowrap; }
@media (max-width: 520px) {
  main { padding: 18px 16px 24px; }
}
.links { margin-top: 14px; color: var(--ink-soft); font-size: 13.5px; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; }
