body{
    margin: 0;
    padding: 0;
    height: 100vh;
    justify-content: center;
    align-items: center;
}

.slider{
width: 800px;
height: 500px;
border-radius: 10px;
overflow: hidden;
margin-left: 150px;
margin-bottom: 20px;
margin-top: 10px;
}

.slides{
width: 500%;
height: 500%;
display: flex;
}

.slides input{
display: none;
}

.slide{
width: 20%;
transition: 2s;
}

.slide img{
width: 800px;
height: 500px;
}


.navigation-manual{
position: absolute;
width: 800px;
margin-top: 460px;
display: flex;
justify-content: center;
}

.manual-btn{
border: 2px solid transparent;
padding: 5px;
border-radius: 10px;
cursor: pointer;
transition: 1s;
}
 

.manual-btn:not(:last-child){
margin-right: 40px;
}

.manual-btn:hover{
    background: white;
}

#radio1:checked ~ .first{
    margin-left: 0;
}

#radio2:checked ~ .first{
    margin-left: -20%;
}

#radio3:checked ~ .first{
    margin-left: -40%;
}

#radio4:checked ~ .first{
    margin-left: -60%;
}

.navigation-auto{
    position: absolute;
    display: flex;
    width: 800px;
    justify-content: center;
    margin-top: 460px;

}

.navigation-auto div{
    border: 2px solid white;
    padding: 5px;
    border-radius: 10px;
    transition: 1s;

}

.navigation-auto div:not(:last-child){
    margin-right: 40px;
}

#radio1:checked ~ .navigation-auto .auto-btn1{
    background: white;
}

#radio2:checked ~ .navigation-auto .auto-btn2{
    background: white;
}
#radio3:checked ~ .navigation-auto .auto-btn3{
    background: white;
}
#radio4:checked ~ .navigation-auto .auto-btn4{
    background: white;
}