main {
    background-color: var(--main-bg-color);
    overflow-x: hidden;
}
.evlist {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 0.5em;
}
.evlist a {
    width: 140px;
    box-shadow: 3px 3px 3px #0000007F;
    background-color: #333;
    font-size: 0.8em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.evlist a > div {
    color: #FFF;
    padding: 9px;
    width: 90%;
}
.evlist a > div:not(:first-of-type) {
    padding-top: 7px;
    margin-top: 0px;
    border-top: #FFFFFF33 1px solid;
}
.evlist a.next {
    width: 100%;
    max-width: 430px;
    font-size: 1.15em;
    box-shadow: 3px 3px 3px #0000007F;
    border-radius: 5px;
}
.evlist a.next img {
    border-radius: 5px 5px 0 0;
}
.evlist a.next > div {
    width: 100%;
}
.evlist a.separator {
    margin: 2rem;
    font-size: 1em;
    box-shadow: none;
    background: none;
    max-width: auto !important;
    flex-basis: 100%;
    text-align: center; 
    border-bottom: 1px solid #000; 
    line-height: 0.1em;
    display: inline;
}
.evlist a.separator > span {
    padding:0 10px; 
    color: #444;
    background-color: var(--main-bg-color);
}


.evlist a {
    transform: scale(1) rotate(0deg);
    transition: transform 0.2s ease;
}
.evlist a:not(.separator):hover {
    transform: scale(1.1) rotate(-3deg);
    z-index: 10;
}

.evdetail img {
    box-shadow: 3px 3px 3px #0000007F;
}

.evdetail .reserve {
    float: right;
    font-size: 1.2em;
    text-decoration: none;
    padding: 0.3em 0.7em;
    border-radius: 3px;
    margin-bottom: 10px;
}
.evdetail .reserve + p {
    clear: both;
}
.evdetail img {
    width: 100%;
}