:root {
  --clr-red: #ff514a;
  --clr-yellow: #fff6b1;
  --clr-green: #06433e;
  --clr-blue: #9ba9ea;
  --clr-purple: #393256;
  --clr-white: #ffffff;
  --clr-black: #28252a;
}

.signup-form-container {
  max-width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}


header {
  max-width: 7rem;
}

.brand {
  width: 10rem;
  text-decoration: none;
}

svg {
  width: 100%;
  color: var(--clr-black);
}

@font-face {
  font-family: becketLight;
  src: url("https://cdn.glitch.global/06a9e091-b318-4265-bf82-c3b5f0ed6dba/F37Beckett-Light.otf?v=1683727592921");
}

@font-face {
  font-family: becketBold;
  src: url("https://cdn.glitch.global/6b705643-fe58-4b8b-a6c4-f14f0d5175bc/F37Beckett-Demi.otf?v=1696581892497");
}

@font-face {
  font-family: becketRegular;
  src: url("https://cdn.glitch.global/6b705643-fe58-4b8b-a6c4-f14f0d5175bc/F37Beckett-Regular.otf?v=1696581806888");
}

.mhForm,
.mhForm * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background-repeat: no-repeat;
  margin: 0;
}

.mhForm {
  font-family: becketLight, sans-serif !important;
  font-size: 14px;
  background: var(--clr-red);
  color: var(--clr-black);
  width: min(55rem, calc(100% - 10rem));
  margin: 0 auto;
  padding: 3rem 3rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media screen and (max-width: 1080px) {
  .mhForm {
    display: flex;
    flex-direction: column;
  }
}

.mhForm div:first-child {
  grid-column: 1 / 3;
  font-family: becketRegular, sans-serif;
  font-size: clamp(1.25rem, 1.7vw, 1.75rem);
}

/* Form elements */

.mhForm__button {
  padding: 0.75rem 3rem;
  border: none;
  border-radius: 100vw;
  background-color: var(--clr-black);
  color: var(--clr-red);
  font-size: 1rem;
  font-weight: 300;
  border: 1px solid var(--clr-black);
  transition: 100ms ease-in-out;
  cursor: pointer;
}

.mhForm__button:hover {
  background-color: transparent;
  color: var(--clr-black);
}

.mhForm__checkboxLabel,
.mhForm__radioLabel {
  display: inline-block;
  margin-left: 10px;
  line-height: 19px;
}

.mhForm__control {
  margin-bottom: 20px;
}

.mhForm__control--checkboxes,
.mhForm__control--radio {
  border: 0;
}

.mhForm__input {
  border-radius: 2px;
  border: 1px solid #e0e3e5;
}

.mhForm__input--checkbox,
.mhForm__input--radio {
  flex: 0 0 auto;
}

.mhForm__input--email,
.mhForm__input--number,
.mhForm__input--text,
.mhForm__select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  border-color: #e0e3e5;
  border-width: 1px;
  border-radius: 3px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 20px;
  width: 100%;
}

.mhForm__input--email,
.mhForm__input--number,
.mhForm__input--text {
  padding: 0 0 0.5rem 0;
  font-size: 1rem;
  border: none;
  background-color: transparent;
  width: 100%;
  border-bottom: 1px solid var(--clr-black);
  border-radius: 0;
}

.mhForm__input--email::placeholder,
.mhForm__input--number::placeholder,
.mhForm__input--text::placeholder {
  color: var(--clr-black);
            opacity: 1;
}

.mhForm__label {
  color: #001235;
  display: flex;
  font-weight: 400;
  margin-bottom: 3px;
}

.mhForm__label--text,
.mhForm__label--email {
  display: none;
}

label {
  display: none;
}

.mhForm__label--checkbox {
  align-items: center;
}

.mhForm__select {
  background: #fff
    url("data:image/svg+xml;charset=utf-8,%3C?xml version='1.0' encoding='utf-8'?%3E %3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' height='62.5' width='116.9' fill='%238A919A'%3E %3Cpath d='M115.3,1.6 C113.7,0 111.1,0 109.5,1.6 L58.5,52.7 L7.4,1.6 C5.8,0 3.2,0 1.6,1.6 C0,3.2 0,5.8 1.6,7.4 L55.5,61.3 C56.3,62.1 57.3,62.5 58.4,62.5 C59.4,62.5 60.5,62.1 61.3,61.3 L115.2,7.4 C116.9,5.8 116.9,3.2 115.3,1.6Z'/%3E %3C/svg%3E")
    calc(100% - 12px) 50% / 12px no-repeat;
  padding-right: 35px;
  color: inherit;
  background-color: #fff;
  font-family: inherit;
  font-size: inherit;
  padding: 10px;
}

.mhForm__select::-ms-expand {
  display: none;
}

/* Validation */

.mhForm__validationError {
  margin-top: 5px;
  color: var(--clr-purple) !important;
  font-family: becketRegular !important;
}

/* Success and error */

.mhForm__error {
  background-color: #f9e9e7;
  color: blue;
  margin-bottom: 20px;
}

.mhForm__success,
.mhForm__error {
  padding: 20px;
}

.mhForm__success {
  background-color: transparent !important;
  color: var(--clr-black) !important;
}

.mhForm__success ~ * {
  display: none;
}

.mhForm__dateInput {
  -moz-appearance: textfield;
}

.mhForm__dateInput::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.mhForm__dateInputWrapper {
  display: flex;
  grid-gap: 10px;
}

.mhForm__partialDate {
  width: 75px;
}

.mhForm__partialDate--year {
  width: 85px;
}

.mhForm__dateInput {
  -moz-appearance: textfield;
}

.mhForm__dateInput::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.mhForm__dateInputWrapper {
  display: flex;
  grid-gap: 10px;
}

.mhForm__partialDate {
  width: 75px;
}

.mhForm__partialDate--year {
  width: 85px;
}
