body {
    font-family: "Roboto",'Courier New', Courier, monospace;
    background-color: white;
}
.searchForm{
    margin: 0 auto;
    width: 80%;
}

a {
    text-decoration: none;
}

hr {
    opacity: 20%;
}

button, a{
    cursor: pointer;
}

.bold {
    font-weight: bold;
}

.nav_buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    width: 100%;
    margin: 0 auto;
}

.nav_buttons button {
    color: #840012;
    background-color: transparent;
    font-weight: bold;
    padding: 0.5rem;
    font-size: 1em;
    cursor: pointer;
    transition:ease-in all 0.2;
}

.nav_buttons button:hover {
    text-decoration: underline;
}



.nav_buttons button:disabled {
    color: rgb(205, 205, 205);
    cursor: not-allowed;
}

.event-list-container {
    position: relative;
    margin-bottom: 16px;
}


.fading-border {
    position: relative;
    background-color: white;
    padding: 4px;
  }

  .fading-border::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px; /* Höhe der Linie */
    background: linear-gradient(to right, #840012, rgba(132, 0, 18, 0));
    pointer-events: none;
  }

.event-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1500px;
    cursor: pointer;
    height: 240px;
}

.event-image-container {
    width: 240px;
    min-width: 240px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.event-image-container img {
    width: 240px;
    height: auto;
    object-fit: contain;
    color: white;
}

.event-text-container {
    position: relative;
    width: 100%;
    color: rgb(51,51,51);
    margin:0 2rem;
    display: flex;
    flex-direction: column;

}

.event-time-container {
    padding-top: 16px;
    padding-bottom: 4px;
    text-align: left;
    font-size: 1em;
    display: flex;
}

.event-title-container {
    padding-top: 16px;
    padding-bottom: 16px;
}

.event-ticket-container {
    display: none;
}

.event-title, .event-subtitle {
    text-align: left;
}

.event-title {
    font-size: 2em;
    font-weight: bold;
    color: #840012;
    margin-bottom: 4px;
}
.event-subtitle {
    font-size: 1.2em;
    font-style: italic;
    color: #840012;
}

.teaser-container p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    /* to specify the number of lines you want the text to run through... */
    -webkit-line-clamp: 2;
    /* hide the overflowing text, i.e, texts that did not fit in to the box */
    overflow: hidden;
}

.event-second-link-container {
    font-weight: bold;
    font-weight: 1em;
    font-weight: bold;
    transition: all 0.3s;
    padding-bottom: 12px;
}

.event-second-link-container :hover {
    text-decoration: underline;
}

.buyticket_container {
    width: 100px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    right: 0;
}

.buyticket_button {
    width: 80px;
    color: rgb(226, 225, 215);
    background-color: #840012;
    border: 1px solid #840012;
    font-weight: bold;
    padding: 0.3rem 0.5rem;
    font-size: 24px;
    transition: all 0.3s;
    width: 100%;
    border-radius: 5px;
    margin-bottom: 1rem;
    margin-right: 1rem;
}

.buyticket_button:hover, .buyticket_button:active {
    background-color:  rgb(244, 243, 234);
    color: #840012;;
}