* {
  box-sizing: border-box;
}

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

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

.stage {
  display: grid;
  width: 100vw;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: 1.25rem;
  overflow: hidden;
}

.meme {
  display: block;
  width: min(82vw, 78svh, 620px);
  height: auto;
  aspect-ratio: 1;
  border: 1px solid rgb(225 183 134 / 26%);
  object-fit: contain;
  box-shadow: 0 0 54px rgb(151 53 32 / 14%), 0 0 180px rgb(117 32 18 / 9%);
  transform: rotate(-0.45deg);
  animation: appear 700ms ease-out both;
}

@keyframes appear {
  from {
    opacity: 0;
    transform: scale(0.97) rotate(-0.45deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(-0.45deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
