:root {
  --primary-color: #756f6f;
  --secondary-color: #6e6d76; /* menu-gray */
  --background-color: #f8f9fa;
  --white-color: #fff;
  --menu-color: #6e6d76;
  --menu-hover-color: #333333;
  --green-color: #114779;
  --red-dot-color: #ed3337;
  --lightgray-color: #afadad;
}
main {
  margin: 3rem 0;
}
.newsletter-wrapper {
  font-size: 18px;
  font-family: "Mulish", sans-serif;
  font-weight: 300;
}
#myForm {
  display: flex;
  flex-direction: column;
  min-height: 60vh;
}
#myForm form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-group {
  display: flex;
}
#myForm .form-header {
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 2rem;
}
#myForm .form-group .lebel {
  flex: 0 0 25%;
}
#myForm .form-group .input {
  flex: 0 0 35%;
}
#myForm .form-group input:not([type="submit"]),
#myForm .form-group select {
  height: 35px;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-size: 16px;
  width: 400px;
}
#myForm .form-group input.invalid {
  border: 1px solid var(--red-dot-color);
}
.required {
  color: var(--red-dot-color);
  font-size: 20px;
}
.form-group.subscribe {
  margin-top: 3rem;
}
input[type="submit"] {
  height: 37px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 2px;
  padding: 5px 25px;
  background-color: var(--menu-color);
  color: var(--white-color);
  font-size: 18px;
  font-family: "Mulish", sans-serif;
  font-weight: 300;
  cursor: pointer;
  transition-duration: 0.4s;
}

input[type="submit"]:hover {
  opacity: 0.8;
  border: 1 solid rgba(0, 0, 0, 0.01);
}
.error {
  color: var(--red-dot-color);
  font-style: italic;
  display: flex;
  align-items: center;
}
div.subscription-message {
  color: var(--green-color);
  font-size: 22px;
  font-weight: 300;
  text-align: left;
  margin-top: 20px;
  margin-bottom: 40px;
}
.footnote p {
  font-size: 14px;
  color: var(--lightgray-color);
  font-family: "Mulish", sans-serif;
  font-weight: 300;
  margin-top: 2rem;
  line-height: 1.5;
}
@media (max-width: 991px) {
  .form-group {
    flex-direction: column;
    gap: 1rem;
  }
  #myForm .form-group input:not([type="submit"]),
  #myForm .form-group select {
    width: 370px;
  }
}
