* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.slides {
    position: relative;  
    /* height: 50vh; */
    width: 80vw;
    height: 70vh;
    margin: auto;
}

.slide {
    width: 100%;
    height: 100%;
    display: none;
    animation: slide 1.5s ease;
}

.slide img {
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
}

@keyframes slide
{
    0%{
        opacity: 0;
        /* transform: scale(1.5); */
    }
    100%{
        opacity: 1;
        /* transform: scale(1); */
    }

  
}

h3 {
    position: absolute;
    bottom: 50px;
    text-align: center;
    font-size: 25px;
    left: 50%;
    color: white;
    transform: translateX(-50%);
}

.dots li {
    list-style: none;
    width: 15px;
    height: 15px;
    background: red;
    margin: 15px;
    border-radius: 20px;
    cursor: pointer;
    display: inline-flex;
    
}

.dots {
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
}

.dot {
    transition: all 0.3s linear;
}

.dot.active {
    width: 25px;
}

.next, .prev {
    position: absolute;
    top: 50%;
    font-size: 40px;
    transform: translateY(-50%);
    padding: 10px;
    color: white;
    text-decoration: none;
    transition: all 0.5s;
}

.next:hover, .prev:hover {
    background: rgb(18, 18, 18);
}

.next {
    right: 0;
}
