.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.card-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-arrow {
    position: absolute;
    top: 180px;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

button {
    width: 5%;
}

.left-arrow {
    left: 0;
}

.right-arrow {
    right: 0;
}

.card-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%;
}

.card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
    transition: transform 0.8s, box-shadow 0.3s;
    width: 350px;
    background-color: #a33c27;
}

.even {
    background: linear-gradient(to top, #ffbf8a, #ffffff);
}

.card:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7);
    z-index: 10;
}

.card img {
    width: 100%;
    height: auto;
    margin-bottom: -10px;
}

.card-title {
    margin: 0;
    font-size: 1.3em;
    color: #fff;
    text-align: center;
    background: linear-gradient(to top, #a53922, #ffa997);
    opacity: 1;
    transition: opacity 0.3s;
    line-height: 3.3rem;
}

.card-title:hover {
    text-shadow: 0 0 15px #ff8100, 1px 0px 4px #FFFF00;
    text-decoration: underline;
}

.even-title {
    background: linear-gradient(to top, #ffcca1, #ffffff);
    color: #990000;
    font-size: 1.2em;
    line-height: 2.7rem;
}

.small-title {
    font-size: 1.2em;
    line-height: 2.7rem;
}

.even-title:hover {
    text-shadow: 0 0 10px #ff7300, 1px 0px 4px #ff7300;
    text-decoration: underline;
}

.wave-separator {
    position: relative;
    width: 100%;
    height: 20px;
    overflow: hidden;
    margin-top: -5px; /* Adjust this to control the overlap */
}

.wave-separator svg {
    display: block;
    width: 100%;
    height: 100%;
}

.card-content {
    position: relative;
    color: antiquewhite;
    text-align: center;
    margin-bottom: 5px;
}

.content-even {
    color: #990000;
}

.faded-line {
    border: none;
    height: 2.5px;
    background: linear-gradient(to right, transparent, #faebd7, transparent);
    margin: 10px 0;
}

.faded-line-even {
    border: none;
    height: 2.5px;
    background: linear-gradient(to right, transparent, #e32700, transparent);
    margin: 10px 0;
}

.event-link:hover {
    text-decoration: none !important;
}

@media (max-width: 1245px) {
    .card:hover {
        transform: scale(1.1);
    }
}

@media (max-width: 1000px) {
	.card {
    width: 300px;
	}
    button {
    width: 10%;
	}
    .card:hover {
        transform: scale(1.1);
    }
    .card:hover .card-title {
        display: block;
    }
    .card:hover img {
        display: block;
    }
}