header{
    display: none;
}

/* Najbliższe wydarzenia - kontener */
.nearest-events {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    background-color: #36a360;
    border-radius: 10px;
    justify-items: center;
    align-items: center;
    max-width: 900px;
    margin: auto;
      margin-top: auto;
    margin-top: 30px;
}

.head{
    color: #fff;
}

/* Karta wydarzenia */
.event-card {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

/* Tytuł wydarzenia */
.event-title a {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.event-title a:hover {
    color: #007BFF;
}

/* Detale wydarzenia */
.event-date, .event-type, .event-distance {
    margin: 5px 0;
    font-size: 15px;
    color: #000;
}

/* Sekcja z brakiem wydarzeń */
.no-events {
    text-align: center;
    padding: 20px;
    background-color: #ffe0e0;
    color: #900;
    border-radius: 10px;
}

/* Stylizacja kontenera */
.events-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 20px auto;
    max-width: 1200px;
    padding: 10px;
}

/* Stylizacja karty wydarzenia */
.event-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Tytuł wydarzenia */
.event-title a {
    color: #333;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-title a:hover {
    color: #0073aa; /* Kolor hover dla linku */
}

/* Tekst informacji */
.event-date, .event-type, .event-distance {
    font-size: 15px;
    margin: 10px 0;
}

/* Brak wydarzeń */
.no-events {
    color: #555;
    font-size: 1.1em;
    text-align: center;
    margin: 20px;
}

.event-filter-form {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}


  @media(max-width: 768px){
    select {
        border: 1px solid #ccc;
        width: 100%;
      }
      .event-filter-form {
        flex-wrap: wrap;
    }
  }

.event-reset-button {
    padding: 5px 10px;
    background-color: #ff5252;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    color: #fff !important;
}

.event-reset-button:hover {
    background-color: #e1e1e1;
}

.event-filter-button{
    cursor: pointer;
}

.primaryCard{
    background-color: #ffe493;
    max-width: 100%;
}

.topHeader{
    text-align: center;
}

.countdown-timer{
    color: #d30063;
    font-size: 19px;
}