/* ============================================================
   CSS 11.12 — Playground: the ITEM properties (item 2)
   ============================================================
   This page is a TOOL for trying flexbox, not a new lesson.
   The buttons change ONLY item 2 and show the CSS underneath.
   ============================================================ */

.pg-item.is-target {
  background-color: #FFAF04;        /* the item the buttons change */
  color: #000000;
}

/* ------------------------------------------------------------
   The playground buttons — not part of this lesson
   ------------------------------------------------------------ */
body { font-family: "Segoe UI", Arial, sans-serif; }

.pg-group { margin-bottom: 8px; }

.pg-label {
  display: inline-block;
  width: 150px;
  font-family: Consolas, monospace;
  font-weight: bold;
}

.pg-group button {
  font-family: Consolas, monospace;
  padding: 4px 10px;
  margin: 2px;
  border: 1px solid #C9C9C9;
  border-radius: 6px;
  background-color: #FFFFFF;
  cursor: pointer;
}

.pg-group button.on {
  background-color: #2D62EF;
  border-color: #2D62EF;
  color: #FFFFFF;
}

.pg-code {
  background-color: #1E1E1E;
  color: #F5F5F5;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 15px;
}

.pg-container {
  margin-top: 12px;
  min-height: 400px;                /* tall, so items have room to move */
  padding: 10px;
  background-color: #F4F5F7;
  border: 2px dashed #9A9A9A;
}

.pg-item {
  background-color: #2D62EF;
  color: #FFFFFF;
  font-weight: bold;
  padding: 12px 16px;
  border-radius: 8px;
}
