.eventContainer {
    display: flex;
    flex-direction: column;
    margin: 1rem 0;
    width: 80%;
    padding: 1rem 0.5rem;
}

.eventContainerTop {
    display: flex;
    justify-content: space-between;
}

.eventContainerBottom{
    display: flex;
    align-items: center;
    justify-content: end;
}

.moreLink {
    width: fit-content;
}

.eventImageDiv {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    width: auto;
    height: 6rem;
    flex-shrink: 0;
}

.eventImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 20px;
}


.eventContent {
    display: flex;
    width: 100%;
}

.eventTitle {
    font-size: 2rem;
}

.eventButtons {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    width: fit-content;
    overflow: visible;
}

.eventButtons a {
    white-space: nowrap;
}

.moreButton {
    background: none;
    border: none;
    color: #019AFF;
    font-size: 1.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border-radius: 50%;
    width: 55px;
    height: 55px;
}

.moreButton:hover {
    font-size: 2rem;
    background: rgba(191, 191, 191, 0.5);
}

.moreButton:focus {
    outline: none;
}
.moreButton:focus-visible {
    outline: 2px solid black;
}

.moreButtonClicked {
    rotate: 90deg;
}

.eventMenuOpen {
    display: flex;
    flex-direction: column;
    margin-left: 1.5em;
}

.eventMenuClose {
    display: none;
}

@media screen and (max-width: 768px) {
    .eventImage {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    .eventContainer{
        padding: 0;
    }

    .eventImageDiv {
        margin: 0;
    }

    .eventContent {
        flex-direction: column;
    }

    .eventInfos, .eventContainerBottom {
        padding: 10px;
    }
}