#header {
  text-align: center;
  font-size: 2.779em; /*61.136px for the h1, should be nice to look at on a phone.*/
  color: #4B3D2D;
  width: 100%;
  margin-top: 20px;
}
body {
  background-color: #E3D4B9;
}
div {
  display: block;
  padding: 25px;
  margin: 0 auto;
  height: 10%;
  width: 90%;
}
.main {
  padding: 0;
  margin: 0 auto;
  height: 100%;
}
h2 {
  text-align: center;
  font-size: 1.667em;
  padding: 5px 10px;
  margin: 0 auto;
  margin-bottom: 20px;
  font-style: italic;
  color: #A67C4D;
  /*color: #4B3D2D; */
}
p {
  font-size: 1rem;
  color: #4B3D2D;
  text-align: center;
  padding: 5px;
}
/*Form components*/
form {
  box-sizing: border-box;
  padding: 4rem 3rem;
  margin: 0 auto;
  background-color: #D9CBA0;
  width: 500px;
  height: 1000px;
}
label {
  display: block;
  width: auto;
  text-align: center;
}
input[type="text"], input[type="email"], input[type="date"], input[type="tel"], input[type="datetime-local"] {
  font-family: "Inter", "Helvetica", sans-serif; /* Change this font family later... */
  width: 90%;
  padding: 12px;
  margin: 10px 0;
  font-size: 1rem;
  box-sizing: border-box;
  text-align: center; /*Text should align where appropriate, so I'm experimenting with that.*/
}
input[type="radio"] {
  font-size: 1rem;
  transform: scale(2);
  margin-left: 10px;
}
#book-section {
  width: 100%;
  height: 200px;
  overflow: auto;
  text-align: left;
}
fieldset {
  border: 1px solid #8B5B29;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
legend {
  box-sizing: border-box; /* 1 */
  color: #4B3D2D; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}
/*Media queries for screen sizes*/
@media only screen and (min-width:601px) {
  .main {
    display: block;
    width: 100%;
    margin: 0 auto;
    height: 100%;
  }
  #header {
    font-size: 3.375rem;
  }
  form {
    box-sizing: border-box;
    margin: 0 auto;
    padding-left: 48px; /*3rem 2rem is 48px 32px*/
    padding-bottom: 25%; /*This is the fix to remove the gap at the bottom*/
    width: auto;
    height: 100%;
  }
  fieldset {
    display: block;
    margin: 15px;
    border: 5px groove;
  }
  legend {
    font-size: 2.25em;
  }
  p {
    font-size: 1.5rem;
  }
  label {
    font-size: 1.5rem;
  }
  body {
    margin-bottom: 0;
  }
  html {
    margin-bottom: -16px;
    padding-bottom: 0;
  }
}
@media only screen and (min-width:992px) {
  .main {
    display: block; /*These are placeholders until I can properly change them.*/
    width: 100%;
    margin: 0 auto;
    height: 100%;
  }
  #header {
    font-size: 5.063em;
  }
  h2 {
    font-size: 3.375em;
  }
  form {
    box-sizing: border-box;
    margin: 0 auto;
    padding-left: 48px; /*3rem 2rem is 48px 32px*/
    padding-bottom: 25%; /*This is the fix to remove the gap at the bottom*/
    width: auto;
    height: 100%;
  }
  fieldset {
    display: block;
    margin: 15px;
    border: 5px groove;
  }
  legend {
    font-size: 2.25em;
  }
  p {
    font-size: 1.5rem;
  }
  label {
    font-size: 1.5rem;
  }
  body {
    margin-bottom: 0;
  }
  html {
    margin-bottom: -16px;
    padding-bottom: 0;
  }
  input[type="radio"] {
    font-size: 1rem;
    margin-bottom: 2%;
    margin-right: 10px;
  }
}