body {
    background-image: url('../images/lilacs.JPG');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.form {
    background-color: #efdfbb;
    padding: 1rem 2rem;
    border-radius: 50px;
    color: #722e37;
}

.form h3 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

#formconsolidation {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
}

label {
    display: block;
}

input[type=text], input[type=email], textarea, select {
    width: 100%;
    display: inline-block;
    border: 1px solid black;
    border-radius: 4px;
    box-sizing: border-box;
    padding: .5rem;
    background-color: rgba(228, 158, 159, .25);
}

#submit {
    display: flex;
    justify-content: end;
}

button[type=submit] {
  width: 25%;
  background-color: #722e37;
  color: #e49e9f;
  padding: 1rem;
  margin: .5rem 0;
  border: none;
  border-radius: 4px;
  font: 700 1rem "Josefin Sans";
}

button[type=submit]:hover {
  background-color: #555a00;
  color: #cce594;
}

fieldset {
    border: none;
    padding: 1rem;
    margin-bottom: 1rem;
}

legend {
    font-family: 'Josefin Sans';
    color: #722f37;
    padding: 0 1rem;
    font-weight: 600;
}

fieldset label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
    font-family: 'Josefin Sans';
    color: #722f37;
}

input[type=checkbox] {
    accent-color: #722f37;
    width: 1rem;
    height: 1rem;
}