:root{
    --tamanho-width: 75vw;
    --tamanho-height: 500px;
}

.slider{
   width: var(--tamanho-width);
   height: var(--tamanho-height);
   margin: 0 auto; 
   overflow: hidden;
}

.slides{
    width: 400%;
    height: var(--tamanho-height);
    display: flex;
}

.slides input{
    display: none;
}

.slide{
    width: 25%;
    position: relative;
    transition: 2s;
}

.legend{
    position: absolute;
    top: 65%;
    left: 5%;
}

.legend > h1{
    color:#fff;
    text-decoration: underline #FF8800;
    margin: 0;
    font-size: 3.2rem;
    font-family: 'Poppins', sans-serif;
}

.legend > p{
    color:#fff;
    margin: 0;
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.2rem;
}

.slide img{
    filter: blur(2.5px);
    width: var(--tamanho-width);

}

.manual-navigation{
    position: absolute;
    width: var(--tamanho-width);
    margin-top: 450px;
    display: flex;
    justify-content: center;
}

.manual-btn{
    border: 2px solid #fff;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.5s;
}

.manual-btn:not(:last-child){
    margin-right: 40px;
}

.manual-btn:hover{
    background-color: #fff;
}

#radio1:checked ~ .first{
    margin-left: 0;
}

#radio2:checked ~ .first{
    margin-left: -25%;
}

#radio3:checked ~ .first{
    margin-left: -50%;

}

.navigation-auto div{
    border: 2px solid #20a6ff;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
}

.navigation-auto{
    position: absolute;
    width: var(--tamanho-width);
    margin-top: 450px;
    display: flex;
    justify-content: center;
}

.navigation-auto div:not(:last-child){
    margin-right: 40px;
}

#radio1:checked ~ .navigation-auto .auto-btn1{
    background-color: #fff;
}

#radio2:checked ~ .navigation-auto .auto-btn2{
    background-color: #fff;
}

#radio3:checked ~ .navigation-auto .auto-btn3{
    background-color: #fff;
}


/* RESPONSIVIDADE */
@media (max-width: 1100px) {
    :root{
        --tamanho-height: 400px;
    }
    .legend{
        top: 55%;
    }
    .legend > p{
        font-size: 1.1rem;
    }   
    .navigation-auto, .manual-navigation{
        margin-top: 350px;
    }
}

@media (max-width: 880px) {

   .legend > h1{
        font-size: 3rem;
    }   
    .legend{
        top: 50%;
    }
    .navigation-auto, .manual-navigation{
        margin-top: 330px;
    }
}

@media (max-width: 820px){
    .legend > h1{
        font-size: 3rem;
    }   
    .legend > p{
        font-size: 0.9rem;
    }
    .legend{
        top: 45%;
    }
    .navigation-auto, .manual-navigation{
        margin-top: 300px;
    }
}

@media (max-width: 750px){

    .legend > h1{
        font-size: 2.8rem;
    }   
    .legend{
        top: 40%;
    }
    .navigation-auto, .manual-navigation{
        margin-top: 270px;
    }
}

@media (max-width: 700px){
    :root{
        --tamanho-height: 350px;
    }
    .legend > h1{
        font-size: 2.5rem;
    }   
    .legend{
        top: 40%;
    }
    .navigation-auto, .manual-navigation{
        margin-top: 250px;
    }
}

@media (max-width: 640px){
    :root{
        --tamanho-height: 300px;
    }
    .legend > h1{
        font-size: 2.3rem;
    }   
    .legend{
        top: 35%;
    }
    .legend > p{
        font-size: 0.9rem;
    }
    .navigation-auto, .manual-navigation{
        margin-top: 230px;
    }
}

@media (max-width: 590px){
    :root{
        --tamanho-height: 260px;
    }
    .legend > h1{
        font-size: 2.1rem;
    }   
    .legend{
        top: 35%;
    }
    .legend > p{
        font-size: 0.8rem;
    }
    .navigation-auto, .manual-navigation{
        margin-top: 200px;
    }

    .manual-btn, .navigation-auto div{
        padding: 3px;
    }
}
@media (max-width: 510px){
    :root{
        --tamanho-height: 260px;
    }
    .legend > h1{
        font-size: 1.8rem;
    }   
    .legend{
        top: 35%;
    }
    .legend > p{
        font-size: 0.65rem;
    }
    .navigation-auto, .manual-navigation{
        margin-top: 180px;
    }
}

@media (max-width: 450px){
    :root{
        --tamanho-height: 200px;
    }
    .legend > h1{
        font-size: 1.5rem;
    }   
    .legend{
        top: 45%;
    }
    .legend > p{
        font-size: 0.6rem;
    }
    .navigation-auto, .manual-navigation{
        margin-top: 170px;
    }
}

@media (max-width: 425px){
    :root{
        --tamanho-height: 190px;
    }
    .legend > h1{
        font-size: 1.5rem;
    }   
    .legend{
        top: 40%;
    }
    .legend > p{
        font-size: 0.5rem;
    }
    .navigation-auto, .manual-navigation{
        margin-top: 150px;
    }
    
    .manual-btn, .navigation-auto div{
        padding: 2px;
    }
}

@media (max-width: 375px){
    :root{
        --tamanho-height: 165px;
    }
    .legend{
        top: 45%;
    }
    .legend > p{
        font-size: 0.45rem;
    }
    .navigation-auto, .manual-navigation{
        margin-top: 140px;
    }
    
}

@media (max-width: 350px){
    :root{
        --tamanho-height: 155px;
    }
    .legend{
        top: 40%;
    }
    .navigation-auto, .manual-navigation{
        margin-top: 120px;
    }
}