html {
    font-size: 1.2rem;
    width:80%;
}
div.menu ul {
    display:flex;
    flex-direction: row;
}
div.menu ul li {
    padding-right:15px;
    list-style: none;
    text-align: center;
}
div.menu ul li:hover {
    border-bottom: 3px solid lightcoral;
}

/*div.now {
    display: flex;
}
div.soon {
    display: flex;
}
li.completed {
    text-decoration: line-through;
}

div.eventnow {
    margin-left:5px;
    margin-right:5px;
    border:1px solid lightblue;
    padding: 1px;

}
div.eventnow p:nth-child(1) {
    text-align: center;
    font-style: italic;
}
div.eventnow p:nth-child(2) {
    text-align: center;
    font-weight:bold;
}
div.eventnow p:nth-child(3) {
    text-align: center;
    padding:1px;
}*/
div.now,
div.soon {
    display: flex;
    flex-wrap: wrap;           /* ← ważne – pozwoli schodzić do nowej linii */
    gap: 16px;                 /* zamiast margin-left/right */
    justify-content: center;   /* lub space-around / space-between */
    padding: 16px 8px;
    background: #f0f7ff;       /* delikatne tło */
    border-radius: 10px;
    border: 1px dashed #a5d8ff;
    margin: 16px 0;
}

div.eventnow {
    min-width: 260px;          /* minimalna szerokość kart */
    flex: 1 1 280px;           /* rośnie i kurczy się sensownie */
    max-width: 380px;
    margin: 0 !important;      /* kasujemy stare marginesy */
    padding: 16px 12px;
    border: 2px solid #60a5fa;
    border-radius: 10px;
    background: white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* pasek LIVE / SOON na górze */
/*div.eventnow::before {
    content: "STARTING SOON";
    background: #ef4444;
    color: white;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 0 0 6px 6px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}*/

/* poprawiamy paragrafy */
div.eventnow p {
    margin: 6px 0;
    text-align: center;
}

div.eventnow p:nth-child(1) {          /* nazwa dyscypliny */
    font-weight: bold;
    font-size: 1.25rem;
    color: #1e40af;
    margin-top: 20px;                  /* miejsce na ::before */
}

div.eventnow p:nth-child(2) {          /* nazwa konkurencji */
    font-size: 1.05rem;
    font-weight: 600;
    min-height: 2.4em;
}

div.eventnow p:nth-child(3) {          /* countdown */
    color: #334155;
    font-style: italic;
    font-size: 0.98rem;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 6px;
}
.schedule-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  padding: 16px;
  max-width: 1440px;
  margin: 0 auto;
}
.event-block {
  background: #f9fbfd;
  border: 1px solid #e0e7ff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
              0 2px 4px -1px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.event-block h3 {
  margin: 0 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 3px solid #6366f1; /* indigo accent – change to your brand color */
  font-size: 1.4rem;
  color: #1e293b;
}
.event-block li.completed {
    text-decoration: line-through;
    color: #6b7280;              /* szary kolor */
    opacity: 0.8;
}
.event-block li.completed::before {
    content: "✓ ";
    color: #10b981;              /* zielony */
    font-weight: bold;
    margin-right: 6px;
}