body {
    margin: 0;
}

.scroll-container {
    overflow: hidden;
    white-space: nowrap;
}

.scroll-content {
    display: flex;
    align-items: center;
    transition: transform 0.5s ease-in-out;
}

.scroll-item {
    display: inline-block;
    width: 15vw;
    /* Adjust the width as needed */
    box-sizing: border-box;
    padding: 20px;
    /* border: 1px solid #ddd; */
    text-align: center;
}


/*the homepage carousel*/

#carousel-container {
    width: 60vw;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

#carousel-content {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    flex: 0 0 100%;
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    width: inherit;
    height: 95vh;
    position: relative;
    padding: 15px;
}

.carousel-item::after {
    content: "";
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
    position: absolute;
    inset: 0;
}

.carousel-item:nth-child(2) {
    background-image: url("../bellevueImages/steel_works.jpg");
}

.carousel-item:nth-child(1) {
    background-image: url("../bellevueImages/civil1.jpg");
}

.carousel-item:nth-child(3) {
    background-image: url("../bellevueImages/3.jpg");
}

#prevBtn,
#nextBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    cursor: pointer;
    color: white;
    padding: 10px;
    border: none;
    outline: none;
    z-index: 1;
    background-color: transparent;
    text-shadow: 0px 0px 10px black;
}

#prevBtn {
    left: 10px;
}

#nextBtn {
    right: 10px;
}


/*the homepage carousel*/

@media all and (max-width: 850px) {
    .scroll-item {
        width: 25vw;
    }
}

@media all and (max-width: 600px) {
    .scroll-item {
        width: 35vw;
    }
    .scroll-item img {
        width: 100px;
    }
}