:root {
  --theme: #b25872;
}

body {
  font-family: "Avenir Next", "Helvetica Neue", sans-serif;
  padding: 0px 1rem;
}

main {
  max-width: 65ch;
  margin: auto;
  padding-bottom: 6em;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
  text-wrap: balance;
}

h2 {
  margin-top: 1.2em;
  margin-bottom: 0.8rem;
}

nav {
  padding: 1em 0em;
  margin-bottom: 4em;
}

a {
  color: var(--theme);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

nav a {
  text-decoration: none;
}

.page-list {
  display: grid;
  gap: 1em;
}

li::marker {
  color: var(--theme);
  font-weight: 600;
}

li > ol {
  list-style-type: lower-alpha;
}

ul {
  padding-left: 1.5rem;
  list-style-type: "★  ";
}

ul ul {
  list-style-type: disc;
}

ul li {
  margin: 0.5rem 0em;
}

ul:has(input[type="checkbox"]) {
  list-style-type: none;
  padding-left: 1.5rem;
}

ul input[type="checkbox"][disabled] {
  margin-right: 0.35rem;
  appearance: none;
  width: 1.1em;
  height: 1.1em;
  border: solid 1.5px var(--theme);
  border-radius: 2px;
  vertical-align: -0.4em;
  margin-left: -1.5rem;
  border-radius: 100%;
}

ul input[type="checkbox"][disabled]:checked {
  background-color: var(--theme);
  /*border: none;*/
  /* simple checkmark */
  /*background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M6 12 2 8l1.4-1.4L6 9.2l6.6-6.6L14 4z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;*/
}
pre {
  padding: 1rem;
  border-radius: 8px;
}
