:root {
  color-scheme: light;
  font-family: Helvetica, Arial, sans-serif;
  background: #fff;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: #fff;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

main {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 48px) clamp(16px, 3vw, 48px) 56px;
  overflow: hidden;
}

.animation {
  display: block;
  background: #fff;
  width: min(100%, calc((100dvh - 112px) * 4 / 3));
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 112px);
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

footer {
  position: fixed;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0 16px max(16px, env(safe-area-inset-bottom));
  background: #fff;
  color: #000;
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(10px, 1.1vw, 14px);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

@media (max-height: 480px) {
  main {
    padding-block: 8px;
  }

  footer {
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }
}
