:root {
  --bg: #111;
  --ink: #f5f5f5;
  --muted: #9a9a9a;
  --shit: #7a4a1e;
  --fine: #3d4b5c;
  --epic: #b3261e;
  --waiting: #2b2b2b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.page {
  max-width: 34rem;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.meme {
  margin: 0;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  border-radius: 0.5rem;
  background: var(--waiting);
  font-family: Impact, "Anton", "Arial Black", sans-serif;
  text-transform: uppercase;
  color: #fff;
  -webkit-text-stroke: 2px #000;
  paint-order: stroke fill;
  text-shadow: 0 3px 0 #000;
}

.meme--shit { background: var(--shit); }
.meme--fine { background: var(--fine); }
.meme--epic { background: var(--epic); }

.meme__line { font-size: clamp(1.75rem, 8vw, 2.75rem); line-height: 1; }
.meme__line--big { font-size: clamp(3rem, 16vw, 5.5rem); }
.meme__emoji { font-size: clamp(5rem, 30vw, 10rem); -webkit-text-stroke: 0; text-shadow: none; line-height: 1; }

.gp { margin: 0; line-height: 1.5; }
.gp strong { font-size: 1.25rem; }

.note { margin: 0; color: var(--muted); }

footer { margin-top: 1rem; }
footer a {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: #ffdd00;
  color: #000;
  font-weight: 600;
  text-decoration: none;
}
