:root {
  color-scheme: light;
  --background-red: #b81724;
  --text-color: #fff8f5;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--background-red);
  color: var(--text-color);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: background-color 160ms ease-out;
}

.world {
  width: min(92vw, 900px);
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  align-content: center;
  gap: clamp(24px, 5vw, 44px);
  padding: clamp(32px, 7vw, 72px) 24px;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 12vw, 8.5rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

.song-image {
  width: min(100%, 760px);
  margin: 0 auto;
}

.song-image canvas {
  display: block;
  width: 100%;
  aspect-ratio: 14 / 9;
  border: 1px solid color-mix(in srgb, var(--text-color) 28%, transparent);
  background: #f7d77b;
  box-shadow: 0 24px 70px rgb(62 0 0 / 0.26);
}

.song-image figcaption {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.35;
}

#song-title {
  font-weight: 800;
}

#song-details {
  opacity: 0.82;
}
