:root {
  --bg: #121212;
  --pink: #f3c9dd;
  --pink-deep: #d98fb5;
  --cream: #f5f1ea;
  --muted: #b9b9b9;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--cream);
  font-family: "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
}

/* Background colors matched to the bottom edge of each slide image, so
   any leftover space below a shorter-than-viewport image blends in. */
body.bg-cover { background: #393136; }
body.bg-contents { background: #d3d3da; }
body.bg-about { background: #343441; }
body.bg-resume { background: #8a8188; }
body.bg-sprite { background: #c9c9ca; }
body.bg-glazed-craze { background: #bfbfc1; }
body.bg-pinkcore { background: #c4c5c6; }
body.bg-tony-rocks { background: #a6a7a9; }

a {
  color: var(--pink);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---------- Slide pages (about, contents, projects, resume) ---------- */

.slide-page {
  position: relative;
}

.slide-page .slide-frame {
  position: relative;
  width: 100%;
  line-height: 0;
}

.slide-page img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Hotspots (clickable text already designed into the image) ---------- */

.hotspot {
  position: absolute;
  display: block;
}

/* A hotspot that also displays an image filling its box (e.g. a
   screenshot placed "on screen" inside a designed mockup) */
.screen-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.debug .hotspot {
  background: rgba(255, 0, 80, 0.25);
  border: 1px solid #ff0050;
}

body.debug .hotspot::after {
  content: attr(data-label);
  position: absolute;
  top: 0;
  left: 0;
  background: #ff0050;
  color: #fff;
  font-size: 10px;
  line-height: 1.4;
  padding: 0 4px;
  white-space: nowrap;
  font-family: monospace;
}

