
@font-face {
  font-family: "Crimson Pro";
  font-weight: normal;
  src: url("font/CrimsonPro-Regular.woff2") format("woff2"),
       url("font/CrimsonPro-Regular.otf") format("opentype");
}

@font-face {
  font-family: "Crimson Pro";
  font-weight: bold;
  src: url("font/CrimsonPro-Bold.woff2") format("woff2"),
       url("font/CrimsonPro-Bold.otf") format("opentype");
}

:root {
  color-scheme: light dark;
}

html {
  padding: 0 3rem;
  margin: 0;
}

body {
  padding: 0;
  margin: 0 auto;
  font-family: "Crimson Pro";
  font-size: 16pt;
  max-width: 56em;
}

main {
  clear: both;
  border-top: 0.5px dashed;
  margin-top: 4rem;
}

footer {
  border-top: 0.5px dashed;
  margin-top: 4rem;
  text-align: center;
}


/****************************************************/
/* pagenav is a <nav><ul></nav> with the page's ToC */

.pagenav {
  padding: 0.5rem;
}

.pagenav ul {
  display: flex;
  flex-flow: row wrap;
  align-items: baseline;
  justify-content: center;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.pagenav li {
  display: block;
}

.pagenav a {
  color: inherit;
  text-decoration: underline;
}


/********************************************************************/
/* the "hero" at top is a header with a text and image side by side */

.hero {
  padding: 0;
  width: 100%;
}

.hero h1 {
  margin-bottom: 0;
}

.hero > img {
  display: block;
  float: right;
  margin-bottom: 3rem;
}

@media screen and (width <= 700px) {
  .hero > img {
    float: none;
    max-height: 16rem;
    width: auto;
    margin: 3rem auto;
  }

  html {
    padding: 0 1rem;
  }

  body {
    font-size: 12pt;
  }
}

.hero-banner {
  font-size: 140%;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0;
}

.appstorebadge {
  text-align: center;
}


/***********************************************************************/
/* other than the hero img, all other screenshots are inside <figure>s */

figure {
  width: 100%;
  margin: 0;
}

figure img {
  display: block;
  margin: 0 auto;
  max-width: 95%;
  height: auto;
}

