/* ============================================================
   CSS 11.11 — Playground: the CONTAINER properties
   ============================================================
   This page is a TOOL for trying flexbox, not a new lesson.
   The buttons write the flex CSS onto the grey container for you,
   and show that CSS underneath. Nothing to learn in this file.
   ============================================================ */

.pg-item {
  width: 190px;                     /* items want 190px, so wrap has something to do */
}

.pg-item.big {
  font-size: 20px;                  /* a bigger text, so baseline is visible */
}

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