/* ============================================================
   CSS 04.04 — rgba(red, green, blue, ALPHA)
   ============================================================
   Alpha = how solid: 1 = solid, 0.5 = half see-through, 0 = invisible.

     background-color: rgba(45, 98, 239, 0.5);   ← 50% see-through blue

   Also possible:  #2D62EF80  (8-digit hex: the last 2 digits are alpha,
                               80 = 128 out of 255 ≈ 0.5)
   ============================================================ */

.alpha-100 { background-color: rgba(45, 98, 239, 1); }
.alpha-75  { background-color: rgba(45, 98, 239, 0.75); }
.alpha-50  { background-color: rgba(45, 98, 239, 0.5); }
.alpha-25  { background-color: rgba(45, 98, 239, 0.25); }
/* Try it: change 0.25 to 0.1 → you can barely see the blue. */

/* ------------------------------------------------------------
   Only to make it visible — not part of this lesson
   ------------------------------------------------------------
   The striped background lets you SEE THROUGH the colours.
   (repeating-linear-gradient draws stripes — lesson 07.)
   ------------------------------------------------------------ */
.stripes {
  padding: 14px;
  border-radius: 8px;
  background: repeating-linear-gradient(45deg, #FFFFFF 0 12px, #FFD36B 12px 24px);
}

/* ------------------------------------------------------------
   Only to make the boxes visible — not part of this lesson
   ------------------------------------------------------------ */
.swatch {
  width: 260px;
  height: 50px;
  margin-bottom: 8px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #E4E4E4;
  font-family: Consolas, Menlo, monospace;
  font-size: 14px;
  color: #FFFFFF;                   /* white text by default */
}


/* ------------------------------------------------------------
   Only to colour the special boxes — not part of this lesson.
   These lines MUST stay at the END: the "visible" rules above give
   every box a colour, and when two selectors are equally strong,
   the LATER rule wins (lesson 03 — cascade).
   ------------------------------------------------------------ */
.alpha-25 {
  color: #000;                     /* dark text on a light colour */
}
