.content {
    position: relative;
    display: flex;
    flex-direction: column;

    max-width: 60rem;
    min-width: 50%;
    margin: 0 auto;
    padding: 1rem;

    min-height: fit-content;

    align-items: center;
}

.event-dropdown {
    position: relative;
    display: flex;
    flex-direction: column;

    width: 100%;

    justify-content: center;
    align-items: center;

    gap: 2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: 10px;
}

.events-container {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    width: 100%;

    justify-content: center;

    gap: 1rem;

    /*transition: all 1.5s ease-in-out;*/
    overflow: hidden;
}

.close {
    min-height: 8rem;
    max-height: 8rem;
}

.dropbtn {
    position: absolute;
    top: 0;

    height: 8rem;
    width: 100%;

    text-align: center;
    font-size: 2rem;

    background-color: #1a1a1a;
    color: var(--text);
    border: 0.1rem solid #29bc25;
    border-radius: 10px;
    cursor: pointer;
    z-index: 2;
}

.dropbtn:disabled {
    color: gray;
    cursor: not-allowed;
}

.dropbtn svg {
    position: absolute;
    right: 5%;
    top: 0;
    transform: translateY(calc(4rem - 10px));
    transition: 1000ms ease;
    pointer-events: none;
}

.open {
    min-height: 8rem;
    max-height: fit-content;
}

.open .events-container {
    /*visibility: visible;*/
    opacity: 1;
    margin-top: 9rem;
    padding-top: 1.25rem;
    padding-bottom: 1rem;
}

.event {
    position: relative;
    display: flex;
    flex-direction: column;

    /*max-height: 66dvh;*/
    max-width: 19rem;

    justify-content: space-between;
    align-items: center;

    padding: .75rem;

    background-color: #1a1a1a;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(41, 188, 37, 0.4);

    transition: 200ms ease;
    z-index: 2;
}

.event img {
    position: relative;
    max-width: 100%;
    border-radius: 5px;
    object-fit: cover;
}

.event:hover {
    transform: scale(1.05);
    z-index: 3;
}