.event-slider {
    max-width: 750px;
    margin: 0 auto;
    padding: 20px;
}

.event-slide {
    padding: 10px;
}

.event-card {
    position: relative;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.7);
    font-size: xx-large;
    font-family: 'Montserrat', sans-serif;
}

.event-slider-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #2997aa;
    color: white;
    padding: 20px 20px;
    border-radius: 5px;
    text-align: center;
}

.event-slider-time {
    position: absolute;
    top: 20px; /* Abstand vom oberen Rand */
    right: 20px; /* Abstand vom rechten Rand */
    background: #2997aa; /* Halbtransparenter Hintergrund */
    padding: 20px 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    font-size: x-large;
}

.event-slider-time .icon-clock {
    display: inline-block;
    margin-right: 5px; /* Abstand zwischen Icon und Text */
    font-size: 16px; /* Icon-Größe */
}

/* Falls du ein Icon-Font wie FontAwesome verwendest */
.icon-clock::before {
    content: "\f017"; /* Unicode für das Uhren-Icon bei FontAwesome */
    font-family: "Font Awesome 5 Free"; /* Ersetze mit der richtigen Font-Familie */
    font-weight: 900;
}


.event-date .day {
    font-size: 24px;
    font-weight: bold;
}

.event-date .month-year {
    font-size: 14px;
}

.event-content {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.856);
    padding: 20px;
}

.event-content h3 {
    margin: 0 0 10px;
    font-size: 40px;
    font-weight: bold;
    color: rgb(70, 70, 70);
    font-family: 'Montserrat', sans-serif;
}

.event-content .event-excerpt {
    margin: 0 0 10px;
    font-size: 23px;
    font-family: Arial, sans-serif;
}

.event-content .event-time,
.event-content .event-location {
    font-size: 14px;
    color: #2997aa;
}

.event-excerpt {
    color: white;
}

.event-prediger {
    display: flex;
    align-items: center;
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
}

.prediger-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 8px;
}

.prediger-name {
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

