@use '../scss/variables';
@use '../scss/mixins';

.newsletter-form {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    margin: auto;
    gap: 1rem;
    padding-top: 1rem;
}

.form-fields {
    flex-grow: 1;
}

.form-submit {
    flex-grow: 1;
    align-self: flex-end;
    margin: auto;
    align-items: end;
    padding: 0;
    margin-bottom: 0;
    min-width: 20ch;
}

input[type=text], input[type=email], textarea {
    width: 100%;
    @include mixins.shadow;
}

label, input[type=submit] {
    font-family: highwayGothic;
    font-size: 1.5rem;
    text-transform: uppercase;
}

input[type=submit] {
    padding: 0.5rem 1rem;
    width: 100%;
    background-color: variables.$color-accent;
    color: variables.$color-black;
    margin-top: 1rem;
    cursor: pointer;
    border-radius: 5px;
    border: 0;
}