/* ============================================================
   CSS 11.05 — align-items: lining up on the CROSS axis
   ============================================================
   (in a row, the cross axis goes top ↓ bottom)

   stretch     every item as tall as the container (default)
   flex-start  all at the top
   center      all in the middle        ✔ the most used
   flex-end    all at the bottom
   baseline    the bottom of the text lines up
   ============================================================ */

.tall {
  height: 140px;                    /* a tall container → room to move up and down */
}

.ai-stretch  { display: flex; align-items: stretch; }
.ai-flex-start { display: flex; align-items: flex-start; }
.ai-center   { display: flex; align-items: center; }
.ai-flex-end { display: flex; align-items: flex-end; }
.ai-baseline { display: flex; align-items: baseline; }

.small { font-size: 12px; }         /* different text sizes, so baseline is visible */
.big   { font-size: 30px; }
/* Try it: change .tall height to 250px → the differences become bigger. */

/* ------------------------------------------------------------
   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;
}
