.slider{

    position:relative;
    width:100%;
    height:800px;

    overflow:hidden;

    border-radius:15px;

}

.slide{

    position:absolute;

    width:100%;
    height:100%;

    opacity:0;

    transition:opacity .8s ease;

}

.slide.active{

    opacity:1;

    z-index:1;

}

.slide img{

    width:100%;
    height:100%;

    object-fit:cover;

}

/* Стрелки */

.arrow{

    position:absolute;

    top:50%;
    transform:translateY(-50%);

    width:48px;
    height:48px;

    border:none;

    border-radius:50%;

    background:rgba(0,0,0,.45);

    color:white;

    font-size:22px;

    cursor:pointer;

    z-index:5;

    transition:.3s;

}

.arrow:hover{

    background:rgba(0,0,0,.75);

}

.prev{

    left:20px;

}

.next{

    right:20px;

}

/* Точки */

.dots{

    position:absolute;

    bottom:18px;

    width:100%;

    display:flex;

    justify-content:center;

    gap:10px;

    z-index:10;

}

.dot{

    width:12px;
    height:12px;

    border-radius:50%;

    background:white;

    opacity:.45;

    cursor:pointer;

    transition:.3s;

}

.dot.active{

    opacity:1;

    transform:scale(1.3);

}

/* Мобильная версия */

@media(max-width:768px){

.slider{

    height:250px;

}

.arrow{

    width:38px;
    height:38px;

}

}