/* ============================================================
   CSS 11.01 — display: flex
   ============================================================
   Flexbox = the easiest way to put boxes in a ROW (or a column),
   space them out and line them up.

   It starts with ONE line on the PARENT:

     <div class="container flex">   ← FLEX CONTAINER  (display: flex goes here)
       <div class="box">HTML</div>  ← FLEX ITEMS      (the direct children)
       <div class="box">CSS</div>
     </div>

   Only the DIRECT children become flex items (not grandchildren).
   ============================================================ */

.flex {
  display: flex;                    /* the children now sit in a row */
}
/* Try it: delete  display: flex;  → the bottom boxes go back to separate lines. */

/* ------------------------------------------------------------
   Only to make the boxes visible — not part of this lesson
   ------------------------------------------------------------ */
.box {
  background-color: #2D62EF;
  color: #FFFFFF;
  font-weight: bold;
  padding: 10px 16px;
  border-radius: 6px;
}

.container {
  background-color: #F4F5F7;
  border: 2px dashed #9A9A9A;
  padding: 8px;
  margin-bottom: 16px;
}
