.slider{
    width: 100%;
    height: calc(100vh - 80px);
    overflow: hidden;
}

 .slides{
    width: 400%;
    height: calc(100vh - 80px);
    display: flex;
}

.slides input{
    display: none;
}

.slide{
    width: 100vw;
    height: calc(100vh - 80px);
    background-size: cover;
    background-position: center;
    transition: 2s;
}

.slider-content{
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.slider-content h1{
    font-size: 70px;
    text-align: center;
}

.slider-content p{
    margin: 0 auto;
    padding: 0px 10%;
    font-weight: 100;
    line-height: 25px;
    font-size: 20px;
    text-align: center;
}

/* css for manual slide navigation */

.navigation-manual{
    position: absolute;
    width: 100%;
    margin-top: -40px;
    display: flex;
    justify-content: center;
}

.manual-btn{
    border: 2px solid #40D3DC;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
}

.manual-btn:not(:last-child){
    margin-right: 40px;
}

.manual-btn:hover{
    background: #40D3DC;
}

#radio1:checked ~ .first{
    margin-left: 0;
}

#radio2:checked ~ .first{
    margin-left: -100vw;
}

#radio3:checked ~ .first{
    margin-left: -200vw;
}

#radio4:checked ~ .first{
    margin-left: -300vw;
}

/* css for automatic navigation */
.navigation-auto{
    position: absolute;
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: calc(100vh - 120px);
}

.navigation-auto div{
    border: 2px solid #40D3DC;
    padding: 5px;
    border-radius: 10px;
    transition: 1s;
}

.navigation-auto div:not(:last-child){
    margin-right: 40px;
}

#radio1:checked ~ .navigation-auto .auto-btn1{
    background: #40D3DC;
}

#radio2:checked ~ .navigation-auto .auto-btn2{
    background: #40D3DC;
}
#radio3:checked ~ .navigation-auto .auto-btn3{
    background: #40D3DC;
}
#radio4:checked ~ .navigation-auto .auto-btn4{
    background: #40D3DC;
}

@media(max-width:858px){
    .slider-content h1{
        font-size: 40px;
    }
    
    .slider-content p{
        font-size: 16px;
    }
}