.fixed-bottom-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5em;
}

.hightlight {
    margin: 0;
    padding: 0;
    display: flex;
    font-family: 'Roboto', sans-serif;
}

.event-overview {
    position: absolute;
    top: 29.2vh;
    left: 3.2vh;
    display: flex;
}

.event-img {
    width: 14.6vh;
    height: 14.5vh;
    border-radius: 8px;
    object-fit: cover; /* Ensures the image is cropped to fit the container */
}

.event-overview-right {
    margin-left: 0.5vw;
    margin-top: 0.1vh;
    max-width: 300px;
}

.event-date {
    margin: 0;
    color: #898374;
    font-weight: bold;
    font-size: 15px;
    line-height: 1.2;
}

.event-title {
    margin: 0;
    font-size: 1.05em;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    line-height: 1.2;
}

.event-description {
    margin: 0;
    text-overflow: ellipsis;
    overflow:hidden;
    max-height: 96px;
    line-height: 1.2;
}

.template {
    max-height: 100vh; /* 90% of the viewport height */
    width: auto; /* Maintain aspect ratio */
    margin: 0;
}

.event-edit {
    margin-left: 2vw;
    margin-top: 2vh;
    margin-right: 2vw;
    width: 100%;
    max-height: 95vh;
    overflow-y: auto;
}

.event-edit-title {
    margin: 0;
    margin-bottom: 1vh;
    font-size: 1.5em;
    font-weight: bold;
}

@media (max-width: 700px) {
    .fixed-bottom-buttons {
        flex-direction: column;
        height: 13em;
        padding-left: 1em;
        padding-right: 1em;
    }

    .hightlight {
        display: block;
    }

    .event-edit {
        max-height: none;
    }
}