body {
    background-color: gray;
}

#app {
    width: 100%;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form {
    background-color: white;
    border-radius: 15px;
    text-align: center;
    padding: 30px;
    width: 350px;
}

.form .form-col {
    position: relative;
    border-bottom: 1px solid gray;
    margin: 50px 0;
    height: 2rem;
}

.form .form-col input {
    border: none;
    background-color: none;
    width: 100%;
    height: 30px;
}

.form .form-col input:focus {
    outline: none;
}

.form .form-col input:focus + label span,
.form .form-col input:valid + label span {
    transform: translateY(-30px);
}

.form .form-col label {
    position: absolute;
    top: 0;
    left: 15px;
}
.form .form-col label span {
    display: inline-block;
    min-width: 5px;
    transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.form .submit-btn {
    border: none;
    width: 100%;
    height: 50px;
    border-radius: 10px;
    margin: 0 0 10px 0;
    font-size: 1em;
}
.form .submit-btn:hover {
    cursor: pointer;
}
.form .submit-btn:active {
    transform: scale(0.98);
}