.slider-wrapper{
    position: relative;
    margin: 0;
    padding: 0;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    /*background: #79aec8;*/
}
.slider-container{
    width: 100%;
    height: 400px;
    border-radius: 6px;
    overflow: hidden;
    /*background: yellowgreen;*/
}
.slider-track{
    width: 500%;
    height: 400px;
    display: flex;
}
.slider-track input{
    display: none;
}

.slider-item{
    width: 20%;
    transition: 2s;
}
.slider-item img{
    width: 100%;
    /*height: 100%;*/
    /*max-width: 100%;*/
    /*max-height: 100%;*/
    /*height: 540px;*/
    /*width: 960px;*/
    /*object-fit: contain;*/
    object-fit: cover;
}

@media screen and (max-width: 991px){
    .slider-item img{
        height: 100%;
        object-fit: cover;
    }
}


.navigation-manual{
    position: absolute;
    width: 100%;
    margin-top: -40px;
    display: flex;
    justify-content: center;
}

.manual-btn{
    border: 2px solid #1fd180;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
}
.manual-btn:not(:last-child){
    margin-right: 40px;
}
.manual-btn:hover{
    background: #1fd180;
}

#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: 100%;
    justify-content: center;
    margin-top: 360px;
}

.navigation-auto div{
    border: 2px solid #1fd180;
    padding: 5px;
    border-radius: 10px;
    transition: 1s;
}
.navigation-auto div:not(:last-child){
    margin-right: 40px;
}

#radio1:checked ~ .navigation-auto .auto-btn1{
    background: #1fd180;
}
#radio2:checked ~ .navigation-auto .auto-btn2{
    background: #1fd180;
}
#radio3:checked ~ .navigation-auto .auto-btn3{
    background: #1fd180;
}
#radio4:checked ~ .navigation-auto .auto-btn4{
    background: #1fd180;
}
