.body-slider{
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
ol{
    list-style: none;
    width: 50%;
    height: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    border: 2px solid black;
    overflow: hidden;
    position: relative;
}
ol li{

    position: absolute;
    width: 100%;
    height: 100%;
}
.pic{
    height: 100%;
    object-fit: cover;
    transition: all 0.25s ease-in-out;
}

/*The below code will put the images vertically one below the other*/
ol li:nth-child(2){
        transform: translateY(100%);
}
ol li:nth-child(3){
    transform: translateY(200%);
}
ol li:nth-child(4){
    transform: translateY(300%);
}
.buttons{
    display: flex;
    gap: 1rem;
}