/* styles.css */

/* page */
:root {
  --bg: #14131a;
  --card: #1d1b26;
  --text: #f2f1f6;
  --muted: #bdb7cc;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  min-height: 100svh;
  display: grid;
  place-items: center;
  /*background: #C3B1E1;  */
  background: url("./quietnight.png") center / cover no-repeat;
  color: #FDFD96;
}


.wrap {
  width: min(860px, 92vw);
  display: grid;
  gap: 18px;
  justify-items: center;
  padding: 28px 0;
}

.title {
  margin: 0;
  font-size: 2rem;
  letter-spacing: 0.5px;
}

.card {
  width: 100%;
  min-height: 320px;
  padding: 22px;
  display: grid;
  place-items: center;
}

.quote {
  margin: 0;
  font-size: clamp(1.2rem, 2.3vw, 2rem);
  line-height: 1.25;
  text-align: center;
  max-width: 38ch;
}

.pic {
  max-width: 100%;
  max-height: 55vh;     /* 👈 key line */
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
}

.hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ===== Your BUTTON + FOOTMARKS CSS (kept, with tiny additions) ===== */
.button {
  position: relative;
  display: inline-block;
  width: 200px;
  height: 60px;
  background-color: #ea9345;
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.2s ease-in-out;
}

.button:hover {
  background-color: #d6813c;
}

.footmarks-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.footmark {
  position: absolute;
  width: 15px;
  height: 15px;
  background: url('./foot.png') no-repeat center center;
  background-size: cover;
  pointer-events: none;
  opacity: 0.7;
}

/* small accessibility improvement */
.button:focus-visible {
  outline: 3px solid rgba(255,255,255,0.7);
  outline-offset: 3px;
}


.quote a {
  color: inherit;
  text-decoration: underline;
  overflow-wrap: anywhere;
}
