/*
  The static site only: shows each screen as a phone in the middle of a
  computer screen, and full screen on a phone. Uses the tokens in app.css.
  dc-lite.js shrinks the phone to fit short windows.
*/

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100dvh;
  background: var(--color-border);
}

#dc-mount > .screen {
  border-radius: 28px;
  box-shadow: 0 8px 40px color-mix(in srgb, var(--color-text) 25%, transparent);
}

/* On a phone, the screen is the whole page. 500px matches dc-lite.js. */
@media (max-width: 500px) {
  body {
    display: block;
    background: var(--color-page);
  }

  #dc-mount > .screen {
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
    box-shadow: none;
  }
}
