form {
  max-width: 85%;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  border: 2px solid black;
  padding: 3rem;
  margin: 5rem auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1rem;
}

form div {
  font: normal 300 calc(14px + (18 - 14) * ((100vw - 200px) / (1600 - 200))) nunito-sans, sans-serif;
}

form > div:first-of-type {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
}

form > div:first-of-type label {
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  row-gap: 0.3rem;
}

input[type="email"] {
  border: 1px solid #333;
  padding-top: 0.15rem;
  font-family: inherit;
  margin-left: 0.3rem;
}

input {
  padding-left: 0.2rem;
}

input:focus-visible {
  outline: 1.5px solid #3b5f73;
}

input[type="radio"] {
  opacity: 0;
  position: fixed;
  width: 0;
}

input[name="date"] {
  margin-left: 0.3rem;
  border: 1px solid #333;
}

input[name="date"]:hover {
  cursor: pointer;
}

#time-options {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.2rem;
}

#time-options label {
  display: inline-block;
  background-color: white;
  padding: 10px 20px;
  font-family: sans-serif, Arial;
  font-size: 16px;
  border: 1px solid #3b5f73;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  color: black;
}

#time-options label:hover {
  background-color: rgba(59, 95, 115, 0.5);
  color: black;
  border: 1px solid white;
  cursor: pointer;
}

#time-options input[type="radio"]:checked + label {
  background-color: #3b5f73;
  color: white;
  border: 1px solid white;
}

#time {
  margin-top: 1rem;
}

#times {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
}

/* This is the style of our error messages */
.error {
  padding: 0;
  font-size: 80%;
  color: red;
  -ms-grid-row: 2;
  -ms-grid-row-span: 1;
  -ms-grid-column: 2;
  -ms-grid-column-span: 1;
  grid-area: 2 / 2 / 3 / 3;
}

#submit {
  font: var(--button-font);
  padding: 0.8rem 2.5rem;
  border: 1px solid black;
  -webkit-transition: 0.25s;
  transition: 0.25s;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

#submit:hover {
  -webkit-box-shadow: inset 10rem 0 0 0 var(--button-hover);
          box-shadow: inset 10rem 0 0 0 var(--button-hover);
  color: #fff;
}

select {
  margin: 2rem 0 3rem 0;
  background: none;
  border: none;
  border-bottom-color: currentcolor;
  border-bottom-style: none;
  border-bottom-width: medium;
  cursor: pointer;
  font: var(--button-font);
  border-bottom: 1px solid #c1c1c1;
  padding-bottom: 0.2rem;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding-right: 2rem;
}

@media screen and (max-width: 1185px) {
  form {
    max-width: 80%;
    padding: 2rem;
  }
}

@media screen and (max-width: 500px) {
  #times {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(80px, 1fr))[auto-fit];
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  }
  select {
    width: 85%;
  }
}

@media screen and (max-width: 440px) {
  input[name="date"] {
    margin-top: 0.3rem;
    margin-left: 0rem;
  }
  input[type="email"] {
    margin-top: 0.3rem;
    margin-left: 0rem;
  }
}

@media screen and (max-width: 390px) {
  form {
    max-width: 95%;
    padding: 1rem;
  }
  #date {
    margin-left: 0;
  }
}
/*# sourceMappingURL=form.css.map */