@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/*imagem de fundo*/
body{
    background: #7fa9b8;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.container{
    width: 350px;
    background: rgb(1, 1, 112);
    border-radius: 20% 0;
    box-shadow: 1px 2px 20px #000, 2px 6px 50px #000;
    padding: 50px 20px;
}
h2{
    text-align: center;
    margin: 20px;
    color: white;
    font-size: 20px;
}

/*estilizando os inputs*/
input{
    width: 100%;
    height: 46px;
    background: transparent;
    border: none;
    outline: none;
    border-bottom: 1px solid white;
    color: white;
}
.input-field{
    position: relative;
    margin-bottom: 20px;
}
label{
    position: relative;
    top: 0;
    left: 0;
    color: white;
    transform: translateY(18px);
    transition: .25s ease-in-out;
}
input:focus + label{
    transform: translateY(-14px) scale(.8);
    color: #b3d3e0;
}

input:focus{
    box-shadow: 0 1px 0 0 #b3d3e0;
    border-bottom: #26a964 1px solid;
}
.center{
    text-align: center;
}

/*estilizando o botão*/
button{
    background: #7fa9b8;
    padding: 15px 50px;
    border-radius: 20px;
    color: white;
    text-transform: uppercase;
    border: 2px solid white;
    margin: 20px;
    cursor: pointer;
    transition: ease-in-out .25s;
}

button:hover{
    background: rgb(0, 255, 64);
}
div a{
    text-decoration: none;
    color: white;
    transition: .25s ease-in-out;
}

div a:hover{
    color: #00ff77;
}

input:not(:placeholder-shown){
    box-shadow: 0 1px 0 0 #26a96a;
    border-bottom: #26a964 1px solid;
}
input:not(:placeholder-shown) + label{
    transform: translateY(-14px) scale(.8);
}

input::placeholder{
    color: transparent;
}