/* ============================================================
   CSS 06.05 — width, height and max-width
   ============================================================
   width / height          → exact size
   max-width / min-width   → limits: "not more than" / "not less than"
   ✔ Use max-width for containers — it works on phones AND laptops.

   (The width here is the CONTENT only. The padding and border are
    added on top — 06-box-sizing.html explains this surprise.)
   ============================================================ */

.w-fixed {
  width: 600px;                     /* always 600px — even on a 360px phone ✘ */
}

.w-max {
  max-width: 600px;                 /* up to 600px, smaller when needed ✔     */
}
/* Try it: give .w-fixed  height: 100px;  → the box becomes 100px tall
   (plus its padding and border). */


/* ------------------------------------------------------------
   Only to make the boxes visible — not part of this lesson
   ------------------------------------------------------------ */
.w-fixed,
.w-max {
  padding: 10px 14px;
  margin-bottom: 10px;
}

.w-fixed {
  border: 2px solid #E54B4F;
  background-color: #FDECEC;
}

.w-max {
  border: 2px solid #1F9D55;
  background-color: #EAF7EF;
}
