*,
p,
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
ul,
ol {
  font-family: "Mulish", sans-serif;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

main {
  break-inside: auto;
}

header,
section,
article {
  page-break-inside: avoid;
  break-inside: avoid;
  break-after: page;
}

table,
blockquote,
pre,
code,
figure,
li,
ul,
ol,
a,
tr {
  page-break-inside: avoid;
  break-inside: avoid;
}

h2,
h3,
h4,
p,
a {
  orphans: 3;
  widows: 3;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  page-break-after: avoid;
  page-break-inside: avoid;
  break-after: avoid;
  break-inside: avoid;
}

h1 + p,
h2 + p,
h3 + p {
  page-break-before: avoid;
  break-before: avoid;
}

img {
  page-break-after: auto;
  page-break-before: auto;
  page-break-inside: avoid;
  break-after: auto;
  break-before: auto;
  break-inside: avoid;
}

pre {
  white-space: pre-wrap !important;
  word-wrap: break-word;
}

.grid-span-full {
  grid-column-start: 1;
  grid-column-end: 4;
}

.float-left {
  float: left;
}

.float-right {
  float: right;
}

.margin-center {
  margin-left: auto !important;
  margin-right: auto !important;
}

.inline-block {
  display: inline-block !important;
}

.x-tiny {
  width: 5%;
}

.tiny {
  width: 7.5%;
}

.small {
  width: 10%;
}

.medium {
  width: 20%;
}

.large {
  width: 33%;
}

.illustration {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.img-grayscale {
  filter: grayscale(1) opacity(0.66);
}

.img-grayscale-inverted {
  filter: grayscale(1) opacity(0.75) invert(1);
}

.margin-rt-sm {
  margin-right: 0.25em !important;
}

.margin-rt-md {
  margin-right: 0.5em !important;
}

.margin-rt-lg {
  margin-right: 1em !important;
}

a > sup {
  text-decoration: none;
  color: gray;
}

.border-none {
  border: none !important;
}

.std-padding-sm {
  padding: 0.2em 0.4em !important;
}

.std-padding-md {
  padding: 0.4em 0.8em !important;
}

.std-padding-lg {
  padding: 1em 2em !important;
}

.bg-illustration {
  background-image: linear-gradient(var(--bg), var(--bg)), var(--illustration);
  background-size: 10em;
  background-repeat: no-repeat;
  background-position-x: 97%;
  background-position-y: 97%;
  background-blend-mode: multiply;
}

@media (prefers-color-scheme: dark) {
  body.format-site main h1,
  body.format-site main h2,
  body.format-site main h3,
  body.format-site main h4,
  body.format-site main p,
  body.format-site main blockquote {
    backdrop-filter: none !important;
  }

  .bg-illustration {
    background-image: linear-gradient(#212121, #212121), var(--illustration) !important;
  }

  #pdf kbd svg,
  #print kbd svg {
    filter: invert(1);
  }

  textarea {
    color: black;
  }
}

.clear-right {
  clear: right;
}

.no-margin {
  margin: 0 auto !important;
}

.chart {
  display: grid;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(100, 1fr) 1.4rem;
  grid-row-gap: 12px;
}

.chart .bar {
  grid-column-start: 1;
  grid-column-end: var(--value, 2);
  background: var(--bg-color, blue);
  padding: 0.5em 1em;
  color: white;
  line-height: 2.5;
  font-size: 1.5em;
}

body.format-deck .chart .bar {
  grid-column-start: 1;
  grid-column-end: var(--value, 2);
  background: var(--bg-color, blue);
  padding: 0.25em 0.5em;
  color: white;
  line-height: 1.2;
  font-size: 0.8em;
}

.chart .bar > label.value {
  float: right;
  font-weight: bold;
}

.chart .bar > strong {
  font-size: 16px;
  margin-right: -15em;
  margin-top: 2.5em;
  display: inline-block;
}

body.format-deck .chart .bar > strong {
  font-size: 16px;
  margin-right: 0;
  margin: 1em auto;
  display: inline-block;
  float: left;
}

.margin-1 {
  margin: 1em;
}

nav#sharer {
  margin-top: 0.5em;
}

nav#sharer a img {
  width: 2em;
  padding: 0px 2px;
  filter: grayscale(0.2);
  cursor: pointer;
}

nav#sharer a:hover img {
  width: 2em;
  padding: 0px 2px;
  filter: brightness(1.2);
  cursor: pointer;
}

#print,
#pdf {
  position: relative;
  bottom: 4px;
  cursor: pointer;
}

#pdf kbd,
#print kbd {
  vertical-align: super;
  font-size: 112%;
}

#pdf kbd:hover,
#print kbd:hover {
  filter: contrast(2);
}

nav#sharer span > cite {
  border-bottom: 1px dotted var(--text-light);
  vertical-align: super;
  margin-right: 8px;
}

body.format-deck nav#sharer {
  margin-bottom: 1em;
}

body.format-site nav#sharer {
  margin-bottom: -1em;
}

.margin-2 {
  margin: 2em;
}

.no-border {
  border: none;
}

.p-relative {
  position: relative;
}

.p-absolute {
  position: absolute;
}

.top-1 {
  top: 1em;
}

.left-1 {
  left: 1.25em;
}

.right-1 {
  right: 1.25em;
}

.right-5 {
  right: 5.25em;
}

.v-hidden {
  visibility: hidden;
  height: 0;
}

.hidden {
  display: none;
}

.block {
  display: block;
}

.va-middle {
  vertical-align: middle;
}

.va-top {
  vertical-align: top;
}

.bg-cover {
  background-size: cover;
}

.lh1 {
  line-height: 1;
}

.lh2 {
  line-height: 2em;
}

.lh3 {
  line-height: 3em;
}

.align-left {
  text-align: left !important;
}

.align-center {
  text-align: center !important;
}

.align-right {
  text-align: right;
}

.bg-dark {
  background-color: #223 !important;
  border-radius: 0.2em;
  padding: 1em 2em;
}

.color-gray {
  color: gray !important;
}

.color-dark {
  color: #334 !important;
}

.round {
  border-radius: 50%;
  display: block;
}

.grayed-out {
  filter: grayscale(1);
}

.bg-white {
  background: white;
}

.inverted-color {
  color: white !important;
  text-shadow: 1px 2px 3px black !important;
  backdrop-filter: blur(8px) saturate(0.8) !important;
  width: fit-content;
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 1em 2em;
}

.gap-6 {
  gap: 6em;
}

.item-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

/* Grid center column size (simple.css has grid-template-columns: 1fr min(45rem, 90%) 1fr;) */
@media (max-width: 50rem) {
  #home-button {
    margin-right: 0 !important;
    padding-right: 0 !important;
  }

  nav#sharer {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  #input-form {
    margin-top: 1em !important;
  }

  nav#sharer span > cite {
    display: none;
    visibility: hidden;
    margin-left: -4em;
  }
}

@media not print {
  @media (max-width: 767px) and (orientation: portrait) {
    .item-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      padding: 0.5em 1em;
    }

    .gap-6 {
      gap: 3em;
    }
  }
}

.small-40 {
  font-size: 40%;
}

.small-60 {
  font-size: 60%;
}

.small-80 {
  font-size: 80%;
}

mark.green {
  background: greenyellow;
}

body.format-site > header {
  padding: 3em 0;
  background-size: cover;
}

body.format-site > header > img.logo {
  border: 10px solid white;
  height: 12em;
  margin: 1em auto 2em auto;
  padding: 5px;
}

body.format-site > header > h1 {
  border: 6px solid;
  padding: 0 0.75em;
  margin-bottom: 0;
}

body.format-site > header > h2 {
  border-bottom: 6px solid white;
  padding: 0 0.75em;
}

body.format-site main h1,
body.format-site main h2,
body.format-site main h3,
body.format-site main h4,
body.format-site main p,
body.format-site main blockquote {
  backdrop-filter: blur(2px) brightness(4);
  width: fit-content;
}

body.format-site #market-size > h3 {
  padding: 16px 24px;
  font-size: 100px;
}

body.format-site #experts-say {
  padding: 3em 5em;
}

body.format-site #owen > h1 {
  position: relative;
  top: -3em;
  right: -60%;
  margin: 0;
}

body.format-deck div.reveal.ingrid {
  display: flex;
  overflow: hidden;
  grid-column-start: 1;
  grid-column-end: none;
}

body.format-deck div.reveal.custom {
  width: 80rem;
  height: 45rem;
  margin: 0 auto;
}

body.format-deck #opening img.logo {
  height: 6em;
  padding: 0.1em;
  border: 0.2em solid white;
}

body.format-deck #opening h2 {
  padding: 0 0.2em;
}

body.format-deck #market-size h3 {
  padding: 16px 24px;
  font-size: 120px;
}

body.format-deck #market-size p {
  margin-top: 3em;
}

body.format-deck pre {
  padding: 1em;
  white-space: pre-wrap;
}

body.format-deck #owen h2 {
  margin-top: 40%;
}

#input-form {
  z-index: 10;
  margin-top: -2em;
}

#input-form > textarea {
  padding: 1.5em;
  background: rgb(237, 255, 237);
  overflow: hidden;
}

article {
  padding: 2em 3em 1em 3em;
  margin-top: 1em;
}

#input-form > input[type="submit"] {
  width: 5em;
  margin-top: 0;
  float: right;
  padding: 0.5em 0.75em 0.5em 1em;
  font-size: 1.2em;
  font-weight: bold;
}

#home-button {
}

#input-form label {
  display: inline-block;
}

#intro {
  margin-top: 0;
}

#intro ul {
  list-style: none;
}

#gallery > h2 {
  position: relative;
  top: -1em;
}

#gallery > h2 + p {
  position: relative;
  top: -2em;
}

iframe#giphy {
  width: -webkit-fill-available;
  pointer-events: none;
  height: 240px;
}

iframe#giphy + .overlay {
  margin-top: -2em;
  margin-bottom: 2em;
}

.reveal aside.controls {
  width: revert;
  background: revert;
  padding: revert;
  margin: revert;
  float: revert;
  border: revert;
  border-radius: revert;
}

.reveal aside {
  width: revert;
  margin: revert;
  float: revert;
  border: revert;
}

.reveal section {
  padding: revert;
  margin: revert;
  border: revert;
}

html.print-pdf body {
  display: revert;
}

@page {
  size: landscape;
  margin: 0.5in;
}

@media only print {
  .not-printable {
    display: none;
  }
}

.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.width-100 {
  width: 100%;
}

.hl-red {
  background-color: red;
}

.hl-orangered {
  background-color: orangered;
}

.hl-lightsalmon {
  background-color: lightsalmon;
}

.hl-lightyellow {
  background-color: lightyellow;
}

.hl-yellow {
  background-color: yellow;
}

.hl-green {
  background-color: lawngreen;
}

#hider {
  display: none;
}

#hider:checked + .hideable {
  visibility: hidden !important;
  height: 0 !important;
}

.yo {
  font-size: 12vh;
}
