:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #000;
  background: #fff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 16px;
}

figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

img {
  display: block;
  width: min(360px, calc(100vw - 32px), max(0px, calc(100vh - 80px)));
  width: min(360px, calc(100vw - 32px), max(0px, calc(100dvh - 80px)));
  height: auto;
  object-fit: contain;
}

h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  text-align: center;
  white-space: nowrap;
}
