/* ============================================================
   CSS 09.07 — :not() — everything EXCEPT
   ============================================================
   .event:not(.closed)  = "every .event that does NOT have the class closed"
   ============================================================ */

.event {
  background-color: #F4F5F7;        /* grey for everyone first …          */
  color: #525252;
}

.event:not(.closed) {
  background-color: #EAF7EF;        /* … then green for all that are NOT closed */
  color: #1F9D55;
  border: 2px solid #1F9D55;
}
/* Try it: add the class closed to "Hackathon" in the HTML → it turns grey too. */


/* ------------------------------------------------------------
   Only to make the cards visible — not part of this lesson
   ------------------------------------------------------------ */
.event {
  display: inline-block;            /* cards side by side (lesson 08) */
  vertical-align: top;
  width: 170px;
  margin-right: 8px;
  padding: 14px;
  border-radius: 10px;
  font-weight: 700;
}
