.cards {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    border-radius: 10px;
}

.cards-item {
    display: flex;
    padding: 1rem;
    width: 100%;
}

.card-image {
    position: relative;
    height: 350px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-available button {
    margin-bottom: 1rem;
}

.note {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    border-radius: 0.25rem;
    background-color: #71984A;
    font-size: 14px;
    font-weight: 700;
}

@media (min-width: 40rem) {
    .cards-item {
        width: 50%;
    }
}

@media (min-width: 56rem) {
    .cards-item {
        width: 33.3333%;
    }
}

.card {
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.card-content {
    /*position: relative;*/
    padding: 16px 12px 32px 24px;
    max-height: 500px;
}

.card-text::-webkit-scrollbar {
    width: 8px;
}

.card-text::-webkit-scrollbar-track {
    border-radius: 0;
}

.card-text::-webkit-scrollbar-thumb {
    background: #799900;
    border-radius: 15px;
}

.card-title {
    position: relative;
    margin: -10px 20px 24px;
    padding-bottom: 10px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}

.card-title::after {
    position: absolute;
    display: block;
    width: 50px;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #71984A;
    content: "";
}

hr {
    margin: 24px auto;
    width: 50px;
    border-top: 2px solid #71984A;
}

.card-text {
    max-height: 230px;
    overflow-y: scroll;
}

.card-text p {
    margin: 0 0 24px;
    line-height: 1.5;
}

.card-text p:last-child {
    margin: 0;
}

/*pulse effect*/
.event-available {
    background-color: #71984A;
}

.event-limited {
    background-color: lightpink;
}

.event-unavailable {
    background-color: lightcoral;
}

.event-available-number {
    color: #71984A;
}

.event-limited-number {
    color: lightpink;
}

.event-unavailable-number {
    color: lightcoral;
}

.pulse-effect-event {
    margin: auto;
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
}

.circle {
    position: absolute;
    background-color: inherit;
    height: 100%;
    width: 100%;
    border-radius: 100%;
    opacity: 0.5;
    animation: pulse 3s ease-out infinite;
}

.circle:nth-of-type(1) {
    animation-delay: -0.5s;
}

.circle:nth-of-type(2) {
    animation-delay: -1s;
}

.circle:nth-of-type(3) {
    animation-delay: -1.5s;
}

@keyframes pulse {
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.number-of-seats-available {
    position: absolute;
    left: 5px;
    bottom: -30px;
    font-size: larger;
    font-weight: 600;
}
