/* The slide viewer (components/slide_viewer.cljs): one slide in a wide
   modal, as tall as the window allows, the slide arrows and dots over it
   (docs/design-system.md, Modals). */

.slide-viewer {
  display: flex;
  justify-content: center;
}

.slide-viewer__frame {
  position: relative;
  width: min(100%, calc(70vh * 9 / 16));
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-media);
  overflow: hidden;
  background: var(--color-bg-surface);
}
