BODY {
    font-weight: normal;
    font-size: 1rem;
    word-spacing: normal;
    text-transform: none;
    letter-spacing: normal;
    display: flex;
    flex-direction: column;
}


/* Text Box designs*/
.medium-textbox {
    width: 28rem;
    max-width: 75vw;
}
.long-textbox {
    width: 100%;
    box-sizing: border-box;
}
.detailed-textbox {
    width: 100%;
    box-sizing: border-box;
    height: calc(1rem * 5);
    font: inherit;
}

/* Button design*/
.button {
    font-size: 1rem;
    text-align: center;
    margin: 10px;
}

.buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

/* Textbox and Label Pairing*/
.pair{
    display: inline-flex;
    flex-direction: column;
    margin: 4px;
}

.longpair {
    display: inline-flex;
    flex-direction: column;
    margin: 4px;
    width: 100%;
}

/* Required and Error Messages */
.required-asterisk, .required {
    color: #B60000;
    font-weight: bold;
}
.required {
    margin: 30px;
}

/* Fieldset Styles */
fieldset {
    width: 100%;
    max-width: 800px;
    padding: 1rem;
    box-sizing: border-box;
    margin: auto;
    flex-direction:row;
}
legend {
    font-weight: bold;
    font-size: 1.2rem;
    color: black;
    padding: 0 10px;
    border: 1px solid black;
    border-radius: 4px;
}

H1 {
    font-size: 1.5rem;
    text-align: center;
}

H2 {
    font-size: 1.5rem;
    text-align: center;
}


/* Styles for the Acknowledgement page */
.header {
    font-family: 'Trebuchet MS', Arial, sans-serif;
    font-size: 1.5rem;
    text-align: center;
}

.acknowledgement {
    max-width: 40em;
    width: 90%;
    margin: 0 auto; /* centers the block */
    padding: 1rem;
    text-align: left;
    font-family: sans-serif;
}

.headerlabel {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-family: 'Trebuchet MS', Arial, sans-serif;
}

.messagelabel {
    font-size: 1rem;
}