
.carousel {
    position: relative;
    max-width: 500px;
    margin: auto;
    overflow: hidden;
    padding: 30px;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    overflow: hidden;

}

.carousel-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-card {
    min-width: 500px;
    box-sizing: border-box;
    padding: 20px;
    background-color: white;
    text-align: center;
    position: relative;
    margin: 0 auto;
    border: 1px solid black;
    border-radius: 5px;
}

.carousel-card p {
    color: black;
    font-size: 1.25rem;
}

.carousel-card img {
    max-height: 250px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.carousel-button {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 1;
    transform: translateY(-50%);
}

.carousel-button.prev {
    left: -10px;
    color: black;
    font-size: 30px;
}

.carousel-button.next {
    right: -10px;
    color: black;
    font-size: 30px;
}

.carouselindex {
    position: relative;
    overflow: hidden;
    width: 90%;
    margin: 0 auto;
    border: 1.5px solid black;
    border-radius: 5px;
    max-width: 1000px;
}

.carouselindex-images {
    display: flex;
    transition: transform 1s ease-in-out;
    width: 100%;
}

.carouselindex-images img {
    flex-shrink: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.carouselindex-events img {
    width: 100%;
    max-height: 50px;
    object-fit: contain;
}

.carouselindex-events th,
.carouselindex-events td {
    text-align: center;
}

.carousel-preview.left {
    left: 0;
    border-radius: 0 5px 5px 0;
}

.carousel-preview.right {
    right: 0;
    border-radius: 5px 0 0 5px;
}

.carousel ul {
    max-width: 50%;
    list-style-type: none;
}

.carousel li {
    font-size: 16px;
}

.carousel-indicators {
    text-align: center;
    margin-top: 10px;
}

.carousel-indicators .indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-indicators .indicator.active {
    background-color: #1e73be;
    /* Active indicator color */
}

.carousel-item img {
    max-height: 400px;
    /* Adjust based on your preferred image size */
    object-fit: cover;
    /* Ensure images cover the area properly */
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    /* Adds a semi-transparent background */
    padding: 10px;
}
