/* ============================================================
   CSS 11.10 — Centre ANYTHING with 3 lines
   ============================================================ */

.stage {
  display: flex;
  justify-content: center;          /* centre on the main axis  (left ↔ right) */
  align-items: center;              /* centre on the cross axis (top ↕ bottom) */
  height: 300px;                    /* the area needs a height to centre inside */
}


/* ------------------------------------------------------------
   Only to make the boxes visible — not part of this lesson
   ------------------------------------------------------------ */
.stage {
  background-color: #F4F5F7;
  border: 2px dashed #9A9A9A;
}

.message {
  background-color: #1F9D55;
  color: #FFFFFF;
  font-weight: bold;
  padding: 16px 24px;
  border-radius: 10px;
}


/* ============================================================
   Lesson 11 — Quick summary
   ============================================================
   ON THE CONTAINER (parent)              ON AN ITEM (child)
   display: flex                          flex-grow: 1      take extra space
   flex-direction: row | column           flex-shrink: 0    never squeeze
   justify-content  (main axis)           flex-basis: 200px starting size
     flex-start center flex-end           flex: 1           equal share ✔
     space-between space-around           align-self        own alignment
     space-evenly                         order: -1         move to the front
   align-items      (cross axis)
     stretch flex-start center flex-end baseline
   flex-wrap: wrap
   gap: 12px

   Centre anything: display: flex; justify-content: center; align-items: center;

   Practice tasks:
     1. Make 3 fee boxes in a row with equal widths and a 16px gap.
     2. Make a header: college name on the LEFT, "Apply" button on the RIGHT.
        (Hint: space-between.)
     3. Centre a "Coming soon" message in a 300px-tall box.

   Then open 11-playground-container.html and 12-playground-item.html
   and click the buttons to try every value yourself.
   ============================================================ */
