:root {
    --colorTextos: #49454567;
}


*,
::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto';
    background: #4568DC;
    background: -webkit-linear-gradient(to right, #FDEFF4, #FFC0D3);
    background: linear-gradient(to right, #faa8c0, #f8d1de);
    height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
}

h1{
    text-align: center;
    font-weight: 700;
}

form{
    background: #fff;
    padding: 40px 0;
    box-shadow: 0 0 6px 0 rgba(255, 255, 255, 0.8);
    border-radius: 10px;
}

.form{
    width: 100%;
    margin: auto;
}

form .grupo{
    position: relative;
    margin: 45px ;
}

input{
    background: none;
    color: #c6c6c6;
    font-size: 18px;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--colorTextos);
}

input:focus{ 
    outline: none;
    color: #1A1A40;
}

label{
    color: var(--colorTextos);
    font-size: 16px;
    position: absolute;
    left: 5px;
    top: 10px;
    transition: 0.5s ease all;
    pointer-events: none;
}

input:focus~label,
input:valid~label{
    top: -14px;
    font-size: 12px;
    color: #2196f3;
}

.barra{
    position: relative;
    display: block;
    width: 100%;
}

.barra::before{
    content: "";
    height: 2px;
    width: 0%;
    bottom: 0;
    position: absolute;
    background: linear-gradient(to right, #EEEBDD, #541212);
    transition: 0.3s ease width;
    left: 0;
}

input:focus~.barra::before{
    width: 100%;
}


nav{
    font-family: 'roboto';
    background: #4568DC;
    background: -webkit-linear-gradient(to right, #1A1A40, #c6c6c6);
    background: linear-gradient(to right, #ac2e6d, #fab0c6);
    border: none;
    display: block;
    width: 80%;
    margin: 10px auto;
    color: #fff;
    height: 40px;
    font-size: 25px;
    cursor: pointer;
}

.continuar{
    padding:90px;
    font-size:14px;
    color:black;
    text-decoration:none;
}

.boton{
    padding:93px;
    font-size:16px;
    color:rgb(255, 251, 251);
    text-decoration:none;
    font-weight:bold;
}

@media screen and (max-width:500px){
    form{
        width: 80%;
    }
}