 
 

.slider{
    width:100%;
    height:700px;
    margin: 0px auto;
    position:relative;
    overflow:hidden;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.2);
}

.slides{
    display:flex;
    width:100%;
    height:100%;
    transition:transform .6s ease-in-out;
}

.slide{
    min-width:100%;
    height:100%;
}

.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* Buttons */

.prev,
.next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:45px;
    height:45px;
    border:none;
    background:rgba(0,0,0,.5);
    color:#fff;
    font-size:24px;
    cursor:pointer;
    border-radius:50%;
    transition:.3s;
}

.prev:hover,
.next:hover{
    background:#000;
}

.prev{
    left:15px;
}

.next{
    right:15px;
}

/* Dots */

.dots{
    position:absolute;
    bottom:20px;
    width:100%;
    display:flex;
    justify-content:center;
    gap:10px;
}

.dot{
    width:12px;
    height:12px;
    background:#fff;
    opacity:.5;
    border-radius:50%;
    cursor:pointer;
    transition:.3s;
}

.dot.active{
    opacity:1;
    transform:scale(1.3);
}

/* Responsive */

@media(max-width:768px){

.slider{
    height:300px;
}

.prev,
.next{
    width:40px;
    height:40px;
    font-size:20px;
}

}

@media(max-width:480px){

.slider{
    height:220px;
}

}