/*! Darkroom (darkroom 1.0.0) by Frontier Templates. Styles for the vanilla build.
Licensed gem: Licensed with Full Access, for the sites you build; do not resell the gem itself. https://frontiertemplates.com/gems/darkroom */
/* Darkroom. Every rule is scoped to .dkr so the gem drops into any page. Size the element; the print fills it. */
.dkr {
  --dkr-ink: #f6f8f7;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 280px;
  background: #120d0c;
  color: var(--dkr-ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
/* the root sizes itself the same whatever the host page's reset says */
.dkr, .dkr *, .dkr *::before, .dkr *::after { box-sizing: border-box; }
.dkr-print {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}
.dkr-print canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dkr-flat .dkr-print { background-size: cover; background-position: center; }
.dkr-flat .dkr-print canvas { display: none; }
/* a shade from the lower left, so overlaid copy reads on pale paper as well as a dark print */
.dkr::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(20deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.12) 45%, rgba(0, 0, 0, 0) 70%);
}
.dkr-content {
  position: relative;
  z-index: 2;
  height: 100%;
}
.dkr-ui {
  position: absolute;
  right: clamp(12px, 2.4vw, 28px);
  bottom: clamp(12px, 2.4vw, 28px);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.dkr-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--dkr-ink);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.dkr-btn:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.62); }
.dkr-btn:focus-visible { outline: 2px solid var(--dkr-ink); outline-offset: 3px; }
.dkr-btn svg { width: 16px; height: 16px; }
.dkr-ico-play { display: none; }
.dkr-paused .dkr-ico-play { display: block; }
.dkr-paused .dkr-ico-pause { display: none; }
@media (prefers-reduced-motion: reduce) {
  .dkr-btn { transition: none; }
}
