.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}
label {
    margin-bottom: 5px;
}
input[type="text"], select, input[type="date"] {
    padding: 8px;
    font-size: 16px;
}
button {
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
}
@media (min-width: 600px) {
    .form-group {
        flex-direction: row;
        align-items: center;
    }
    .form-group label {
        width: 150px;
        margin-bottom: 0;
    }
    .form-group input, .form-group select {
        flex: 1;
    }
}