@layer layout {
  body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .slide {
    aspect-ratio: var(--slide-aspect);
    width: min(100vw, calc(100dvh * var(--slide-aspect)));
    overflow: hidden;
  }

  .slide > svg {
    display: block;
    width: 100%;
    height: 100%;
  }

  svg rect.frame {

    fill: var(--color-bg);
  }
}
