.input-field {
    position: relative;
    margin-bottom: 30px;
}

.input-field label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    pointer-events: none;
    transition: 0.3s ease;
    font-size: 19px;
    padding: 0 5px;
    background-color: transparent;
}

input:focus:not([type="file"]) ~ label,
input:not([type="file"]):not(:placeholder-shown) ~ label {
    top: -10px;
    left: 15px;
    font-size: 16px;
    background-color: #fff;
}
select:focus~label,
select:not([value=""])~label {
    top: -10px;
    left: 15px;
    font-size: 16px;
    background-color: #fff;
}

input[type="checkbox"] {
    margin-bottom: 8px;
    border-radius: 5px;
}


