/* ============================================================
   CSS 15.03 — Media queries: "use this CSS only when …"
   ============================================================
   @media (min-width: 600px) {
     .banner { … }          ← these rules work ONLY when the window
   }                           is 600px wide or WIDER

   min-width: 600px  → "600px and wider"   (used for mobile-first ✔)
   max-width: 599px  → "599px and narrower"

   The point where the design changes is called a BREAKPOINT.
   Common breakpoints:  600px (tablet)  ·  1000px (laptop)

   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.

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

/* Phone first: the normal rules (no media query) */
.banner {
  background-color: #E54B4F;        /* red on phones */
}

.tablet,
.laptop {
  display: none;                    /* only the PHONE label shows */
}

/* 600px and wider → tablet */
@media (min-width: 600px) {
  .banner { background-color: #FFAF04; }   /* amber */
  .phone  { display: none; }
  .tablet { display: inline; }
}

/* 1000px and wider → laptop (this comes LATER, so it wins over the tablet rules) */
@media (min-width: 1000px) {
  .banner { background-color: #1F9D55; }   /* green */
  .tablet { display: none; }
  .laptop { display: inline; }
}
/* Try it: change 1000px to 1400px → you need a wider window to see green. */


/* ------------------------------------------------------------
   Only to make the banner visible — not part of this lesson
   ------------------------------------------------------------ */
.banner {
  color: #FFFFFF;
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: bold;
  padding: 40px 20px;
  text-align: center;
  border-radius: 12px;
}
