#slider-container {
    position: relative;
    width: 90%; /* Increase width to 80% */
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    z-index: 0;
    margin-top: 40px;
}

#slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    position: relative;
    min-width: 100%;
    box-sizing: border-box;
    height: 420px; /* Set a constant height for the images */
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Maintain aspect ratio and cover the entire .slide */
    opacity: 0.8; /* Make images slightly dim */
}

.caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 24px; /* Increase the size of text */
    text-align: center;
}

#prev, #next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 80px; /* Increase the size of arrows */
    cursor: pointer;
    z-index: 2;
    color: #fff; /* Set arrow color */
}

#prev {
    left: 10px;
}

#next {
    right: 10px;
}



.welcome{

    align-items: center;
    height: 300px;
}