/* ============================================================
   CSS 15.07 — Text that grows with the screen: clamp()
   ============================================================
   font-size: clamp(MIN, PREFERRED, MAX);
   font-size: clamp(1.75rem, 5vw, 3.5rem);
                    ───┬───  ─┬─  ───┬───
                       │      │      └── never bigger than 3.5rem (56px)
                       │      └───────── try to be 5% of the window width
                       └──────────────── never smaller than 1.75rem (28px)
   Big titles that fit every screen — no media query needed.

   HOW TO TEST ON A "PHONE" WITHOUT A PHONE:
     Open the page in Chrome → press F12 → press Ctrl+Shift+M
     (the "device toolbar"). Choose a phone like "iPhone SE" at the top,
     or drag the edge to change the width. Watch the page change.

   ============================================================ */

.fluid-title {
  font-size: clamp(1.75rem, 5vw, 3.5rem);
}

.fixed-title {
  font-size: 48px;                  /* on a phone this breaks into many lines */
}
/* Try it: change 5vw to 8vw → the title grows faster as the window widens. */


/* ------------------------------------------------------------
   Only to make the titles visible — not part of this lesson
   ------------------------------------------------------------ */
h1 { font-family: Arial, sans-serif; margin: 0 0 16px; }
.fluid-title { color: #2D62EF; }
.fixed-title { color: #9A9A9A; }
