@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

@font-face {
    font-family: "poppins-regular";
    src: url("./rsc/poppins/Poppins-Regular.ttf");
}

*{
    box-sizing: border-box;
    padding: 0;
    border: 0;
    margin: 0;
}

html{
    font-size: 16px;
    font-family: 'poppins-regular';
}

.flex-column{
    display:flex;
    justify-content: start;
    align-items: center;
}

.flex-start-start{
    display: flex;
    justify-content: start;
    align-items: start;
    flex-wrap: wrap;
}

.flex-start-center{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.flex-center-start{
    display: flex;
    justify-content: center;
    align-items: start;
    flex-wrap: wrap;
}

.flex-space-start{
    display: flex;
    justify-content: space-around;
    align-items: start;
    flex-wrap: wrap;
}

.flex-between-start{
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
}

main,footer,header{
    max-width: 1920px;
    text-align: center;
}

.oculto{
    display: none;
}

.visible{
    display:block;
}

i{
    padding-right: 10px;
    color: #ffa700;
}

header{
    margin: 25px 0;
}

.header__logo{
    max-width: 250px;
    margin-bottom: 20px;
}

.header__icono-volver{
    color:#28703c;
    font-size: 2rem;
    cursor: pointer;
    &:hover{
        color:#4CAF50;       
    } 

}

.main__wrapper{
    width: 80%;
    padding: 0 10px;
}

.main__logos-centros{
    width:20%;
    margin: 10px 0;
    min-width: 300px;
}

.main__h1{
    font-size: 2.5rem;
    font-weight: 800;
}

.main__h2{
    font-size: 1.3rem;
    font-weight: 500;
}

.main__options{
    width: 100%;
    margin-top: 50px;
}

.main__option{
    cursor: pointer;
    width: 45%;
    margin:15px;
    border:1px solid #4CAF50;
    border-radius:15px;
    padding:20px;
    &:hover{
        background-color: #28703c;
        color:#ffffff;
    }
}

.main__option div:nth-child(1){
    width:90%;
    text-align: left;
}

.main__option div:nth-child(2){
    width:10%;
}

.main__option label{
    cursor: pointer;
}

.main__option input{
    width: 15px;
    height: 15px;  
    pointer-events: none;
}

.main__option--destaca{
    border:1px solid #a70000;
    &:hover{
        background-color: #aa2020;
        color:#ffffff;
    }
}

footer{
    display: flex;
    justify-content: center;
    align-items: start;
    padding: 0 10px;
}

.footer__progreso{
    margin: 80px 0 50px;
    position: fixed;
    bottom: 80px;
    width: 60%;
    height: 5px;
    background-color: rgb(194, 194, 194);
}

.footer__progreso--bar{
    position: relative;
    width: 1%;
    height: 5px;
    background-color: #28703c;
    transition: width 0.8s;
}

.footer__progreso--completa{
    width: 100%;
}

.footer__texto{
    margin: 0 0 50px;
    text-align: center;
    position: fixed;
    bottom: 10px;
}

.footer__texto--enlace{
    color:#28703c;
}

#url-enlace{
    padding: 0 10px;
}

#formulario{
    width: 60%;
}

.componentes-formulario{
    width: 80%;
    margin: 30px auto 30px;
}

.componentes-formulario input,select{
    width: 100%;
    padding: 12px 15px;
    margin-top: 30px;
    color: #545454;
    border:1px solid #4CAF50;
}

.componentes-formulario input[type=checkbox]{
    width: 20px;
    margin: 30px 10px 0 5px;
}

.componentes-formulario p{
    margin-top: 0px;
    font-weight: 700;
}

button{
    margin-top: 40px;
    border-radius: 10px;
    background-color: #ff321b;
    color:white;
    padding: 17px 10px;
    font-size: 1.1rem;
    cursor: pointer;
}

button:hover{
    background-color: #bb3526;
}

button:active{
    background-color: #28703c;
}

#main-gracias{
    display: flex;
    justify-content: center;
    align-items: center;

}

#gracias{
    padding: 20px;
}

#contenedor-countdown{
    width:100%;
    margin: 25px 0 50px;
}

#countdown{
    padding: 50px;
    width: 50%;
    color: #28703c;
    /*border: 1px solid #28703c;*/
    font-size: 6rem;
    border-radius: 50%;
}

#imagen-pie{
    position: fixed;
    bottom: 160px;
    width: 40%;
    max-width: 800px;
}


@media all and (width<1400px){

    .main__wrapper{
        width: 100%;
    }

    .main__option{
        width: 90%;
    }

    footer{
        flex-direction: column;
        align-items: center;
    }

    .footer__progreso{
        position: static;
        width: 70%;
    }

    .footer__texto{
        position: static;
    }

    #formulario{
        width: 95%;
    }

    #imagen-pie{
        position: static;
        margin-top: 50px;
        width: 70%;
    }

}

@media all and (height<900px){

    #imagen-pie{
        position: static;
        margin-top: 50px;
        width:90%;
    }

    footer{
        flex-direction: column;
        align-items: center;
    }

    .footer__progreso{
        position: static;
        width:90%;
    }

    .footer__texto{
        position: static;
    }
    

}