.slider{
    width: 750px;
    max-width: 100vw;
    height: 400px;
    margin: auto;
    position: relative;
    overflow: hidden;
}
.slider .list{
    position: absolute;
    width: max-content;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    transition: 1s;
}
.slider .list img{
    width: 750px;
    max-width: 100vw;
    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;
}
.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 (min-width: 350px) and (max-width: 390px) {
    .slider{
        width: 330px;
        height: 202.67px;
    }
    .slider .list img{
        width: 330px;
    }
    .slider .buttons button{
        width: 0px;
        height: 0px;
    }
    .slider .dots li{
        width: 5px;
    height: 5px;
    }
}
@media (min-width: 390px) and (max-width: 1000px) {
    .slider{
        width: 380px;
        height: 202.67px;
    }
    .slider .list img{
        width: 380px;
    }
    .slider .buttons button{
        width: 0px;
        height: 0px;
    }
    .slider .dots li{
        width: 5px;
    height: 5px;
    }
}
@media (min-width: 1730px) {
    .slider{
        width: 1100px;
        height: 600px;
    }
    .slider .list img{
        width: 950px;
    }

}