@font-face {
  src:
    url("/static/fonts/eb_garamond_opt.woff2") format("woff2"),
    url("/static/fonts/eb_garamond_opt.ttf") format("truetype");
  font-family: "EB Garamond";
  font-style: normal;
  font-display: swap;
  font-weight: 400 800;
}

body {
  font-family: "EB Garamond", serif;
  font-size: 1.3rem;
  font-weight: 500;
  background-color: #f3eff7;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 0px;
}

main {
  width: 100%;
  max-width: 800px;
  padding: 8px 8px 128px 8px;
  background-color: white;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

h1 {
  font-size: 2.3rem;
  font-weight: 700;
}

h2 {
  font-size: 1.8rem;
  font-weight: 700;
}

li b {
  font-weight: 600;
  font-size: 1.4rem;
}

button {
  background-color: #ffffff;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: inherit;
  font-family: inherit;
  padding: 3px 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  background-color: #fff;
}

nav #print {
  display: none;
  position: fixed;
  bottom: 32px;
  right: 32px;
  padding: 10px 16px;
  background-color: #ddc8f5;
  border: none;
}

@media screen and (min-width: 1240px) {
  body {
    gap: 32px;
  }
  nav {
    padding: 8px;
    width: auto;
    left: auto;
    right: 32px;
    top: 32px;
    bottom: auto;
    background-color: transparent;
  }
  nav #print {
    position: static;
  }
  main {
    margin: 16px 0 64px 0;
    padding: 8px 34px 64px 48px;
    box-shadow: 0 0 10px #0001;
  }
}

@media print {
  body {
    background-color: transparent;
  }

  main {
    margin: 0;
    padding-bottom: 0;
  }

  nav {
    display: none;
  }
}
