fieldset {
    border: none;
}

fieldset legend {
    font-weight: 600;
}

.fields {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fields label {
    flex: 1 1 8rem;
    display: flex;
    flex-direction: column;
    text-align: left;
    font-weight: 500;
    margin: 0 0 8px 0;
}

.fields label input {
    width: 100%;
    margin-top: 4px;
    font: inherit;
}

input[type=button],
input[type=submit] {
    background-color: #62529c;
    border: none;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    cursor: pointer;
    border-radius: 5px;
    font: inherit;
    font-weight: 600;
}

.join-form {
    margin-top: 0.75rem;
    background: #e2e5f6;
    padding: 12px 16px;
    border-radius: 5px;
    max-width: 640px;
}

@media (max-width: 600px) {
    .fields {
        flex-direction: column;
    }

    .fields label {
        width: 100%;
        flex: 1 1 auto;
    }
}
