.carousel-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    width: 100%;
    flex-shrink: 0;
}



.caption {
    position: absolute;    
    display: flex;
    width: 650px;
    top:50%;
    text-align: center;
    transform: translateY(-50%);
    flex-direction: column;
    padding-left: 100px;
    text-align: left; 
    color: var(--primary-color1);
    text-shadow:0px 1px 2px rgba(0,0,0,0.5) ;
}
.caption div {
    background-color: rgba(0,0,0,0.3);
    padding: 2rem;
}
.caption div h2 {
    font-size: 2.5rem;
    line-height: 2.3rem;
    margin: 0;
    font-weight: 500;
}

.prev-btn, .next-btn{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffffcc;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
    font-weight: 100;
    font-size: 2rem;
    text-shadow: 0 0 4px rgba(0,0,0,0.5);
}

.prev-btn:hover, .next-btn:hover {
    color: #ffffffff;
    transition: all 0.3s ease;
}

.next-btn {
    right: 0;
}
.prev-btn {
    left: 0;
}
