/* Structural styles shared by the editor stage and the exported deck.
   Colours, fonts and text styles come from the generated theme.css. */

/* reveal copies a section's classes onto its background layer, hence the :not(). */
.deck .deck-slide:not(.slide-background) {
  box-sizing: border-box;
  width: 1920px;
  height: 1080px;
  padding: 0;
  overflow: hidden;
  text-align: left;
  color: var(--text);
  background: var(--bg);
}

.deck .deck-bg,
.deck .deck-dim,
.deck .deck-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.deck .deck-bg { overflow: hidden; }
.deck .deck-dim { background: #000; }
.deck .deck-scrim { background: var(--scrim); }

.deck .deck-cell {
  position: absolute;
  overflow: hidden;
  background: var(--cell-bg);
}

.deck .deck-bg > .m,
.deck .deck-cell > .m {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
}

.deck .deck-text {
  position: absolute;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow-wrap: break-word;
}

.deck .deck-text-in { min-height: 1em; }
.deck .deck-text .accent { color: var(--accent); }
.deck .deck-text b { font-weight: 700; }
.deck .deck-text a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: max(2px, 0.06em);
  text-underline-offset: 0.15em;
}

.deck .deck-footer {
  position: absolute;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
