.slider {
    width: 100%; /* Set to 100% to take the full width */
    max-width: 100vw; /* Ensure it doesn't exceed the viewport width */
    height: 700px; /* Keep this as per your design */
    margin: auto;
    position: relative;
    overflow: hidden;
}

.slider .list {
    position: absolute;
    width: 100%; /* If you have 5 images, make sure to multiply this by the number of images */
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    transition: 1s;
}

.slider .item {
    width: 100%; /* Ensure each item takes full slider width */
    flex-shrink: 0; /* Prevent items from shrinking */
}

.slider .list img {
    width: 100%; /* Full width for images */
    height: 100%;
    object-fit: cover;
}

.slider .buttons {
    position: absolute;
    top: 45%;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
}

.slider .buttons button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff5;
    color: #fff;
    border: none;
    font-family: monospace;
    font-weight: bold;
    cursor: pointer;
}

.slider .dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    color: #fff;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.slider .dots li {
    list-style: none;
    width: 10px;
    height: 10px;
    background-color: #fff;
    margin: 10px;
    border-radius: 20px;
    transition: 0.5s;
}

.slider .dots li.active {
    width: 30px;
}

@media screen and (max-width: 768px){
    .slider{
        height: 193px;
    }
    
}
