.carousel {
    position: relative;
    width: 45%;
    /*height: 500px;*/
    overflow: hidden;
    margin: 0 auto;
}

#carouselImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
#carouselImage2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    cursor: pointer;
}

#prevButton {
    left: 10px;
}

#nextButton {
    right: 10px;
}
#prevButton2 {
    left: 10px;
}

#nextButton2 {
    right: 10px;
}

.dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background-color: white;
}