/* ===== Basic Settings ===== */
:root {
  --bg: #ffeef2;       /* light pink background */
  --card: #ffffff;     /* white card color */
  --text: #222;        /* main text color */
  --muted: #666;       /* gray subtitle */
  --accent: #f08080;   /* main accent color */
  --accent-2: #ff9999; /* hover color */
  --radius: 14px;      /* corner round */
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* ===== Element selectors ===== */
h1, h2 { margin-bottom: 0.6rem; }
p { margin: 0.5rem 0 1rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Jell-O Layout (center content box) ===== */
#allcontent {
  width: min(980px, 92%);
  margin: 40px auto;           /* center layout */
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 8px 25px rgba(0,0,0,.1);
}

/* ===== Header Section ===== */
#hero {
  padding: 40px 28px;
  background: linear-gradient(180deg, #fff 0%, #fff6f7 100%);
  border-bottom: 1px solid #f3d1d6;
  text-align: center;
}
.subtitle {
  color: var(--muted);         /* gray small text */
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* ===== Button Style ===== */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;        /* pill button */
  font-weight: bold;
  transition: 0.2s;
}
.btn:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}

/* ===== Main Content ===== */
main { padding: 24px; }

.card {
  background: #fff;
  border: 1px solid #f2d7db;
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
}
.card h2 { font-size: 1.2rem; }
.card ul { margin-left: 1.1rem; }
.card li { margin: 6px 0; }

/* highlight class for color change */
.highlight {
  background: #fff7f9;
  border-color: #f4c4cb;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 16px 10px 22px;
  border-top: 1px dashed #f0c8ce;
}

/* ===== Responsive (small screen) ===== */
@media (max-width: 520px) {
  #hero { padding: 28px 18px; }
  main { padding: 18px; }
  .card { padding: 16px; }
}
