.iframe-container {
  border-radius: var(--border-radius-sm);
  margin: 0 auto;
  pointer-events: none;
}

.iframe-container--current {
  height: 20rem;
  width: 40rem;
  background-color: var(--white);
}

/* The Previous and Next previews: at most 24rem wide, smaller when the
   window can't fit all three slides (the preview-scale controller scales the
   frame to the box). */
.iframe-container--previous-and-next {
  aspect-ratio: 3 / 2;
  background-color: var(--white);
  max-width: 24rem;
  overflow: hidden;
  width: 100%;
}

.iframe-window {
  border: 0;
  border-radius: var(--border-radius-md);
  transform-origin: 0 0;
}

.iframe-window--current {
  height: 1000px;
  transform: scale(0.32);
  width: 2000px;
}

.iframe-window--previous-and-next {
  height: 1030px;
  transform: scale(var(--preview-scale, 0.25));
  width: 1536px;
}

.iframe-container--grayed-out {
  opacity: 50%;
}

@media (max-width: 500px) {
  .iframe-container--current {
    height: 10.5rem;
    width: 21rem;
  }

  .iframe-window--current {
    height: 840px;
    transform: scale(0.2);
    width: 1680px;
  }
}