*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    font-size: 1rem;

}
body{
    width: 100%;
    height: 100%;
    background-color: rgb(128, 132, 232);
    padding: 15px;
}
h1{
    color: white;
    margin-bottom: 30px;
}
.slider{
    max-width: 45rem;
    height: 25rem;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}
.slide{
    position: absolute;
    top: 0;
    width: 100%;
    height: 25rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Position the previous button to the left */
.btn-slide.prev {
    left: 10px;
}

/* Position the next button to the right */
.btn-slide.next {
    right: 10px;
}
.slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.btn-slide {
    position: absolute;
    top: 50%;
   
}
.bottom-container{
    display: flex;
    justify-content:space-between ;
    padding: 0px 20px;
    margin-top: 30px;
    width: 100%;

}
.bottom-container button{
    padding: 10px 30px;
    border: none;
    background-color: rgb(119, 255, 0);
    font-size: 20px;
    letter-spacing: 4px;
    color: black;
    cursor: pointer;
   
}
.dots-container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0; /* optional, for spacing */
}
.dots-container .dot{
    width: 30px;
    height: 10px;
    border-radius: 8px;
    background-color: rgb(199, 186, 186);
    cursor: pointer;
    justify-content: center;
    color: black;
}
.dots-container .dot.active{
    background-color: rgb(0, 255, 0);
}

@media screen and (max-width: 600px) {
    .slider{
        height: 20rem;
    }
    .slide img{
        height: 20rem;
    }
    .btn-slide {
        top: 40%;
    }
    .bottom-container button{
        padding: 8px 20px;
        font-size: 16px;
    }
    .dots-container .dot{
        width: 20px;
        height: 8px;
    }
    
}
@media screen and (max-width: 400px) {
    .slider{
        height: 15rem;
    }
    .slide img{
        height: 15rem;
    }
    .btn-slide {
        top: 30%;
    }
    .bottom-container button{
        padding: 6px 15px;
        font-size: 14px;
    }
    .dots-container .dot{
        width: 15px;
        height: 6px;
    }
}