body {
    margin: 0;
    padding: 0;
    font-family: 'Rubik', sans-serif;
    background: grey;
    height: 100vh;
    overflow: hidden;
}

.center{
    position: absolute;
    bottom: 50%;
    right: 50%;
    transform: translate(50%,50%);
    width: 500px;
    background-color: white;
    border-radius: 10px;
    /* height: 350px; */
}

.title {
    text-align: center;
    padding: 0 0 20px 0;
}

#login {
    padding: 0 40px;
    box-sizing: border-box;
}

.field {
    position: relative;
    border-bottom: 2px solid #888484;
    margin: 30px 0;
}

.inputs {
    width: 100%;
    padding: 0 5px;
    height: 40px;
    font-size: 16px;
    border: none;
    background: none;
    outline: none;
}

label {
    position: absolute;
    top: 50%;
    left: 5px;
    color: grey;
    transform: translateY(-50%);
    font-size: 16px;
    pointer-events: none;
    transition: 0.5s;
}

span::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #007BFF;
    transition: 0.5s;
}

input:focus ~ label,
input:valid ~ label{
    top: -5px;
    color: #007BFF;
}

input:focus ~ span::before,
input:valid ~ span::before{
    width:100%;
}

#forgot-pass {
    margin: -5px 0px 20px 5px;
    color: grey;
    cursor: pointer;
}

#forgot-pass:hover {
    text-decoration: underline;
}

.login {
    width: 100%;
    height: 50px;
    border: 1px solid;
    background: #007BFF;
    border-radius: 25px;
    font-size: 16px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    outline: none;

}

.login:hover {
    border-color: #007BFF;
    transition: 0.5s;
}

.signup {
    margin: 30px 0;
    text-align: center;
    font-size: 16px;
    color: grey;
}

.signup a {
    color:#007BFF;
    text-decoration: none;
}

.signup a:hover {
    text-decoration: underline;
}
