main form {
  margin: 10px auto 5em;
  box-shadow: 0px 0px 10px rgba(52, 58, 64, 0.5);
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
  padding: calc(10px + 2vw);
}
main form p {
  margin-bottom: 0;
}
main form p:not(main form p:has(label, input)) {
  display: none;
}
main form p:has(+ ul) {
  margin-bottom: 5px;
  padding-bottom: 0;
}
main form p:has(+ ul) > input {
  margin-bottom: 0;
}
main form ul {
  padding-bottom: calc(10px + 2vw);
}
main form ul.errorlist {
  font-weight: bold;
  color: #dc3545;
  border-radius: 5px;
  padding: 5px;
}
main form ul.errorlist, main form ul.errorlist + p {
  background-color: rgba(220, 53, 69, 0.2);
}
main form ul.errorlist::before {
  content: "ERRORS:";
  text-decoration: underline;
}
main form ul li {
  list-style-position: inside;
  text-align: justify;
}
main form p > * {
  margin-bottom: 10px;
  display: block;
  width: 100%;
}
main form option {
  background-color: white;
  color: #343a40;
  font-size: 16px;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
main form label {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
  color: #343a40;
}
main form input,
main form textarea,
main form select {
  width: 100%;
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid #007bff;
  border-radius: 5px;
  font-size: 16px;
  background-color: white;
  color: #343a40;
}
main form input:focus,
main form textarea:focus,
main form select:focus {
  outline: none;
  border-color: #007bff;
}
main form button {
  margin-top: 20px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  background-color: #3395ff;
  transition: background-color 0.3s ease;
  box-shadow: 1px 1px 5px rgba(52, 58, 64, 0.5);
  cursor: pointer;
}
main form button:hover {
  background-color: #007bff;
}

h1:has(+ form) {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
  font-size: 36px;
  font-weight: bold;
  color: #343a40;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/*# sourceMappingURL=form.css.map */
