/* ============================================================
   CSS 13.02 — grid-template-columns: px and fr
   ============================================================
   grid-template-columns lists the width of EACH column:
     grid-template-columns: 150px 150px 150px;   → 3 columns of 150px

   fr = "fraction" = one PART of the free space.
     1fr 1fr 1fr  → 3 equal parts          (each 1/3)
     1fr 2fr 1fr  → 4 parts: 1 + 2 + 1     (middle = 2/4 = half)
     200px 1fr    → 200px first, the second column takes ALL the rest
   fr only exists in grid. It is the most used grid unit.
   ============================================================ */

.cols-px {
  display: grid;
  grid-template-columns: 150px 150px 150px;
  gap: 10px;
}

.cols-equal {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.cols-wide-middle {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 10px;
}

.cols-sidebar {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 10px;
}
/* Try it: change .cols-wide-middle to  1fr 3fr 1fr. */

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

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