*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: #61baec;
    width: 100%;
    height: 100vh;
}

form{
    display: flex;
    gap: 1.2em;
    height: 23.6em;
    width: 23.6em;
    max-width: 95%;
    background-color: #4162e6;
    padding: 1.15em;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

form h2{
    text-align: center;
    color: white;
    font-size: 2.65em;
}

form div{
    display: flex;
    flex-direction: column;
}

form div label{

    font-weight: bold;
    color: white;
    font-size: 19px;
}

form div input{
    border: none;
    border-bottom: 1px solid white;
    background-color: #4162e6;
    height: 2.1em;
    font-size: 20px;
    color: white;
    padding: 0;
}

form div button:focus, form div input:focus{
    outline: none;
}

button{
    border: none;
    background-color: #3ea6d3;
    color: white;
    width: 100%;
    margin-top: 15px;
    cursor: pointer;
    height: 2.32em;
    font-size: 20px;
}

label span{
    transition: .1s;
    transform: translateY(1.9em);
    display: inline-flex;
}

label span.active{
    transform: translateY(0);
}
