form {
    width: 100%;
    margin: 0 auto;
}

fieldset {
    padding: var(--gap-mobile-small);
    display: flex;
    flex-direction: column;
    gap: var(--gap-mobile-small);
    @media screen and (hover) {
        padding: var(--gap-desktop-small);
        gap: var(--gap-desktop-small);
    }
}

.inputText, .labelText, #buttonsWrapper {
    display: block;
    width: 100%;
}

.inputText {
    padding: 0.3rem 0.5rem;
}

#buttonsWrapper, #nameAndEmail {
    display: flex;
    justify-content: space-between;
    @media screen and (max-width: 699px) {
        flex-direction: column;
    }
    @media screen and (max-width: 699px) and (hover) {
        gap: var(--gap-desktop-small);
    }
    @media screen and (max-width: 699px) and (hover: none) {
        gap: var(--gap-mobile-small);
    }
}

#buttonsWrapper button {
    padding: 0.2rem 0;
    font-size: 1rem;
    line-height: 1.1rem;
}

#userNameWrapper, #returnAddressWrapper, #buttonsWrapper button {
    width: 48%;
    @media screen and (max-width: 699px) {
        width: 100%;
    }
}

#clearForm:hover {
    background-color: var(--green);
    color: var(--white);
}

#submitEmail:hover {
    background-color: var(--blue);
    color: var(--white);
}

#clearForm:active {
    background-color: var(--green);
    color: #000000;
}

#submitEmail:active {
    background-color: var(--blue);
    color: #000000;
}

.asterisk {color: rgb(255, 27, 50);}

#disclaimer {
    font-size: 0.8rem;
    font-style: italic;
    width: 90%;
    margin: auto;
}

#messageSent {
    opacity: 0.9;
    box-sizing: border-box;
    width: 80%;
    padding: 2rem;
    position: absolute;
    top: 10%;
    left: 10%;
}

#messageSent span {
    font-size: 3rem;
    line-height: 1.5rem;
    position: absolute;
    top: 0.1rem;
    right: 0.1rem;
    cursor: pointer;
}

#messageSent p {
    font-size: 1.5rem;
    text-align: center;
}