.banner {
  margin: 0 auto;
  width: 100%;
  max-width: 1163px;
}

.banner__image {
  display: none;
}

.banner__head {
  border-radius: 10px;
  background: linear-gradient(90deg, #a3227d 0%, #f7a71c 100%);
  padding: 5px 10px;
}

.banner__title {
  color: #fff;
  text-align: center;
  font-size: 34px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  position: relative;
}

.banner__title sup {
  font-size: 16px;
  margin-top: 6px;
  font-weight: 500;
  vertical-align: top;
}

.banner__backdrop {
  height: 100%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  position: relative;
  display: revert;
  border-radius: 15px;
}

.banner__body {
  height: 600px;
  margin-top: 10px;
  padding: 40px 50px;
  background-color: #a3227d;
  border-radius: 15px;
  background: transparent center/cover url("/home/assets/banner-image.png")
    no-repeat;
}

.banner__content {
  width: 51%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.banner__content h2 {
  color: #a3227d;
  font-size: 52px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.banner__content h1 {
  color: #a3227d;
  font-size: 70px;
  font-style: normal;
  font-weight: 700;
  line-height: 72px;
}

.banner__content h1 span {
  font-size: 90px;
  font-weight: 900;
}

.banner__text {
  color: #3f4444;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
}

.banner__paragraph {
  margin-top: 20px;
}

.highlight {
  font-weight: 700;
}

.formula {
  font-size: 20px;
  font-weight: 700;
  color: #3f4444;
}

.formula .phrase {
  white-space: nowrap;
}

.diagram {
  position: relative;
  padding: 75px 0;
  background: #f1f8fd;
  top: -200px;
  padding-top: 250px;
  z-index: 1;
}

.diagram .subtext {
  line-height: normal;
}

.subtext sup {
  font-size: 8px;
}

.diagram__container {
  width: 950px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: auto;
}

.diagram__graph .headline {
  text-align: center;
  line-height: normal;
}

.diagram__graph,
.graph {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.graph__group {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.graph__card {
  font-size: 16px;
  color: #3f4444;

  padding: 20px 16px;
  background-image: linear-gradient(90deg, #fff 0%, #e6e7e8 100%);
  width: 275px;
  border: 1px solid #1e4488;
  border-radius: 5px;
  display: flex;
  gap: 20px;
}

.graph__card div {
  display: flex;
  align-items: center;
}

.graph__card sup {
  font-size: 10px;
}

.signup__wrapper {
  position: relative;
  padding: 100px 0;
  gap: 20px;
  margin: auto;
  margin-top: -235px;
  max-width: 1163px;
}

.signup {
  display: flex;
}

.signup__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 0 70px;
  max-width: 500px;
}

.signup__extra {
  max-width: 1024px;
  margin: 0 auto 60px;
}

.signup__extra h2 {
  color: #a3227d;
  line-height: 2;
}

.signup__extra p {
  color: #3f4444;
  font-size: 16px;
  line-height: 28px;
  font-weight: 400;
  line-height: 1.5;
}

.signup__links {
  margin-left: 19px;
  margin-bottom: 20px;
}

.signup__info h2 {
  color: #a3227d;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.signup__form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.signup__form a {
  font-weight: 500;
}

.signup__image {
  position: absolute;
  bottom: 100px;
  left: -175px;
  height: 400px;
}

.input {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #a3227d;
}

.checkbox {
  margin: 0px 5px 0 0;
  accent-color: #a3227d;
  mix-blend-mode: multiply;
  width: 14px;
  height: 14px;
  border-color: #f7a71c;
}

.checkbox {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid #a3227d;
  border-radius: 2px;
  outline: none;
}

.checkbox:checked {
  background-color: #a3227d;
}

.select:required:invalid {
  color: #656969 !important;
}

.option[value=""][disabled] {
  display: none;
}

.option {
  color: #000;
}

#specialty {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='gray' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 18px;
}

@media screen and (min-width: 412px) {
  .banner__break {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .diagram {
    padding-top: 225px;
  }

  .banner__image {
    width: 100%;
    border-radius: 10px;
  }

  .banner__body {
    height: fit-content;
    width: 100%;
    padding: 20px 20px 0;
    background: transparent;
    margin-bottom: -50px;
  }

  .banner__content {
    width: 100%;
  }

  .banner__image {
    display: flex;
    z-index: -10;
    position: relative;
  }

  .signup__info h2 {
    font-size: 34px;
  }
}

@media screen and (max-width: 1024px) {
  .shape {
    display: none;
  }

  .signup__info {
    padding: 0;
  }

  .banner {
    width: 100%;
  }

  .banner__title {
    font-size: 32px;
  }

  .banner__content h2 {
    font-size: 39px;
  }

  .banner__content h1 {
    font-size: 42px;
    line-height: 56px;
  }

  .banner__content h1 span {
    font-size: 52px;
  }

  .banner__paragraph {
    margin-top: 0px;
  }

  .graph__group {
    flex-direction: column;
    padding: 30px;
    border: 1px solid darkblue;
    border-bottom: none;
    border-top-right-radius: 12px;
    padding-bottom: 0px;
    border-top-left-radius: 12px;
  }

  .diagram__container {
    width: 100%;
    padding: 30px;
  }

  .signup {
    flex-direction: column;
  }

  .signup__wrapper {
    margin-top: -175px;
    padding: 30px;
    margin-bottom: 30px;
  }

  .signup__image {
    display: none;
  }
}
