.tm-events-list {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Abstand zwischen den Events */
    max-width: 800px; /* Oder wie du magst */
    margin: 0 auto; /* Zentrieren */
  }
  
  .tm-event-item {
    display: flex;
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 1rem;
    align-items: flex-start;
    transition: transform 0.3s ease-in-out;
  }

  .tm-event-item:hover {
    transform: scale(1.01);
  }
  
  
  .tm-event-date {
    flex: 0 0 60px; /* Feste Breite für das Datum */
    text-align: center;
    margin-right: 1rem;
  }
  
  .tm-event-day {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
  }
  
  .tm-event-month-year {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-top: 0.3rem;
  }
  
  .tm-event-content {
    flex: 1;
  }
  
  .tm-event-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: bold;
  }
  
  .tm-event-time,
  .tm-event-location,
  .tm-event-description {
    margin: 0.3rem 0;
  }

  .tm-icon{
    width:16px; height:16px; vertical-align:middle; margin-right:5px;
  }

/* sticky image */
  .sticky-image img{
    position: sticky;
    top: 100px;

  }
/* scroll down bounce */
.scroll-down-bounce {
  opacity: 0;
  transform: translateY(20px);
  animation:
    fadeInUp 1s ease forwards 1s,   /* Entrance nach 3s */
    scrollBounce 4s ease-in-out infinite 1s; /* Bounce startet auch nach 3s */
    
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0); 
  }
  40% {
    transform: translateY(-20px); 
  }
  60% {
    transform: translateY(-10px); 
  }
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/*Hide past events button styling*/
#togglePastEvents {
  background-color: var(--e-global-color-accent);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: relative;
  z-index: 10;
}

#togglePastEvents:hover {
  border: none;
  background-color: white;
  color: var(--e-global-color-accent);
}
#togglePastEvents:focus {
  outline: none;
  border: none;
}
