/* 05 Resume: the whole page of the document, centred beside the sidebar. */

.resume a,
.resume img {
  display: block;
}
.resume a {
  width: 100%;
  max-width: 816px; /* US Letter at 96 dpi */
}
.resume img {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  border: 1px solid var(--ink);
  background: #fff;
}

/* Wide screens: sized so the full page fits the height of the window
   (8.5 x 11), but never narrower than 440px. */
@media (min-width: 720px) and (min-height: 520px) {
  .resume a {
    width: min(100%, max(440px, calc((100vh - 2 * var(--pad-top)) * 8.5 / 11)));
    width: min(100%, max(440px, calc((100svh - 2 * var(--pad-top)) * 8.5 / 11)));
  }
}
