body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background-color: #c1d4eb;

  font-size: 10px;
  line-height: 1.6;
  color: white;
  width: 100vw;
  overflow-x: hidden;
}

h1 {
  font-size: 3em;
  color: #323e4d;
  margin: 0;
}

h2 {
  font-size: 2.4em;

  margin: 0;
}

h3 {
  font-size: 1.8em;
  color: #323e4d;
  margin: 0;
  overflow-wrap: break-word;
}

p {
  font-size: 1.6em;
  margin: 0;
}

.container {
  margin: 0px;
  padding: 0px;
  position: relative;
  width: 100vw;
  overflow-x: hidden;
}

main {
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  width: 100vw;
  margin: 0;
  padding: 0;
}
*[type="submit"]:disabled {
  opacity: 50%;
  cursor: not-allowed;
}
.hero {
  height: 100vh;
  align-items: center;
  text-align: center;
  padding: 0% 5vw;
  position: relative;
}

.background {
  display: inline-block;
  height: 50vh;
  width: 100vw;
  object-fit: cover;
}

.smartIntercom {
  position: absolute;
  width: 30vw;
  top: 26%;
  transform: translateY(-41%);
  left: 50%;
  transform: translateX(-50%);
  border-radius: 100px;
  object-fit: cover;
  border: 0.5em solid #ffffff;
  filter: drop-shadow(0px 3px 16px rgba(0, 0, 0, 0.5));
  z-index: 10;
}

.textHero {
  display: flex;
  height: 50%;
  flex-direction: column;
  align-self: center;
  justify-content: center;
  gap: 3em;
}

.arrow {
  height: 4em;
}

.arrowPC {
  display: none;
}

.about {
  background: #105fbb;
  position: relative;
}

.aboutPC {
  display: none;
}

.aboutImg {
  display: block;
  /* height: 25vh; */
  width: 100vw;
  object-fit: cover;
}

.aboutText {
  height: 40vh;
  margin: auto 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.aboutText p {
  margin-top: 1em;
}

.mainForm {
  position: relative;
  width: 100vw;
  margin: 0%;
  padding: 0%;
}

.formPersonalData {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2em;
  background-color: #ffffff;
  border-radius: 8px;
  margin: 1.6rem;
  align-items: center;
  padding: 1.6rem;
  width: auto;
  align-self: center;
  justify-self: center;
}

.formPersonalData h2 {
  color: #323e4d;
  margin: 0rem;
}

.inputForm {
  width: 93%;
  background-color: #ffffff;
  color: #001b3f;
  height: 4em;
  border-radius: 4px;
  border-style: solid;
  font-size: 1.8em;
  padding-left: 1em;
}

.formDivider {
  display: flex;
  flex-direction: column;
  text-align: center;
  color: #323e4d;
}

.interviewImg {
  display: block;
  height: 25vh;
  width: 100vw;
  object-fit: cover;
}

.interviewText {
  margin: 1.6rem 1rem;
}

.form {
  display: grid;
  grid-template-areas:
    "a a a"
    "b c c"
    "b f f";
  grid-template-columns: 60% 20% 20%;
  grid-template-rows: 4rem 6rem 6rem;
  text-align: center;
  color: #000000;
  align-items: center;
  justify-items: center;
  margin: 0rem 1.6rem 1.6rem 1.6rem;
  padding: 1.6rem;
  background-color: #ffffff;
  border-radius: 8px;
  max-width: 559px;
  width: 100%;
}

.form label {
  width: 100%;
  font-size: 2em;
  text-align: left;
  position: relative;
  padding-left: 3.2rem;
}

.form label input {
  position: absolute;
  right: 3.2rem;
  top: 20%;
  /* scale: 150%; */
}

.form p {
  grid-area: a;
}

.formBoxImg {
  grid-area: b;
  display: block;
  height: 10rem;
  justify-self: start;
}

.formBorderYes {
  width: auto;
  display: block;
  height: 70%;
  width: 100%;
  border: 1px solid #c1d4eb;
  border-radius: 8px;
  grid-row-start: b;
  grid-column-start: c;
  grid-row-end: c;
  grid-column-end: d;
}

.formBorderNo {
  width: auto;
  display: block;
  height: 70%;
  width: 100%;
  border: 1px solid #c1d4eb;
  border-radius: 8px;
  grid-row-start: f;
  grid-column-start: f;
  grid-row-end: f;
  grid-column-end: g;
}

.choiceFormYes {
  grid-area: d;
  z-index: 20;
}

.yesForm {
  grid-area: c;
  z-index: 20;
}

.noForm {
  grid-area: f;
  z-index: 20;
}

.choiceFormNo {
  grid-area: g;
  z-index: 20;
}

.formSubmit {
  display: grid;
  grid-template-areas:
    "a a"
    "b c"
    "d f";
  grid-template-columns: 10% 90%;
  grid-template-rows: auto 3rem 3rem;
  margin: 1.6rem;
  margin-top: 0rem;
  align-items: center;
}

.formSubmit label {
  font-size: 1.6em;
  text-align: left;
  color: #000000;
  margin-left: 1em;
}

.submitButton {
  grid-area: a;
  font-size: 1.8em;
  height: 4rem;
  background-color: #105fbb;
  border-radius: 8px;
  color: #ffffff;
  border-style: none;
  margin-bottom: 1em;
}

.personalLink {
  cursor: pointer;
  color: #105fbb;
  text-decoration: underline;
}

.legalDataForm {
  grid-area: b;
  display: inline-block;
  height: 2em;
  width: 2em;
  border-radius: 8px;
  justify-self: center;
  align-self: center;
}

.dataLabel {
  grid-area: c;
}

.callLabel {
  grid-area: f;
}

.legalCallForm {
  grid-area: d;
  display: inline-block;
  height: 2em;
  width: 2em;
  border-radius: 8px;
  justify-self: center;
  align-self: center;
}

footer {
  background-color: #323e4d;
  padding: 5vw 0vw;
  margin-top: 1em;
  display: flex;
  flex-direction: column;
  color: #c1d4eb;
  padding-bottom: 0vw;
  width: 100%;
}

.footerInfoBtn input {
  display: block;
  background-color: #323e4d;
  border: 1px solid #c1d4eb;
  width: 90vw;
  height: 3rem;
  border-radius: 8px;
  text-decoration: none;
  color: #c1d4eb;
  font-size: 1.6em;
  margin: 0rem auto 1.6rem auto;
}

.footerInfoBtn input:hover {
  background-color: #3b495a;
  color: #ffffff;
  cursor: pointer;
}

.footerInfo {
  display: flex;
  flex-direction: row;
  padding: 0vw 5vw;
  gap: 3em;
  margin-bottom: 2em;
  align-items: center;
}

.footerInfo:nth-child(3) img {
  align-self: baseline;
}

.footerInfo img {
  width: 2.2em;
  height: 2.2em;
}

.footerInfo a {
  font-size: 1.6em;
  color: #c1d4eb;
  text-decoration: none;
}

.footerInfo a:hover {
  color: #ffffff;
}

hr {
  width: 90vw;
  border: 1px solid #c1d4eb;
  margin-bottom: 2em;
}

.company {
  width: auto;
  background-color: #1e2d40;
  padding: 5vw 5vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5vw;
}

.company img {
  height: 2em;
  display: inline-block;
  object-fit: contain;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}


.find-us {
  margin: 80px 5vw;
  text-align: center;
  color: #000;
}

.block-header {
  color: #000;
  margin-bottom: 20px;
}

.side-by-side {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.side-by-side img {
  max-width: 49%;
  height: auto;
}

@media screen and (max-width: 768px) {
  .side-by-side {
    flex-wrap: wrap;
  }

  .side-by-side img {
      max-width: 100%;
  }

  .find-us {
    margin: 0 5vw 40px;
  }
}


@media screen and (max-width: 319px) {
  h1 {
    font-size: 2.5em;
  }

  h2 {
    font-size: 2em;
  }

  h3 {
    font-size: 1.8em;
  }

  p {
    font-size: 1.4em;
  }

  .inputForm {
    font-size: 1.6em;
  }

  .form {
    display: grid;
    grid-template-areas:
      "a a"
      "b b"
      "c d"
      "f e";
    grid-template-columns: 50% 50%;
    grid-template-rows: 6rem 10rem 5rem 5rem;
  }

  .form label {
    font-size: 2em;
  }

  .form label input {
    position: absolute;
    right: -3.5rem;
  }

  .formBoxImg {
    height: 8rem;
    justify-self: center;
  }

  .formBorderYes {
    width: auto;
    display: block;
    height: 80%;
    width: 100%;
    border: 1px solid #c1d4eb;
    border-radius: 8px;
    grid-row-start: c;
    grid-column-start: c;
    grid-row-end: c;
    grid-column-end: d;
  }

  .formBorderNo {
    width: auto;
    display: block;
    height: 80%;
    width: 100%;
    border: 1px solid #c1d4eb;
    border-radius: 8px;
    grid-row-start: f;
    grid-column-start: f;
    grid-row-end: f;
    grid-column-end: g;
  }

  .formSubmit {
    gap: 1rem;
  }
  .submitButton {
    width: 95%;
  }
}

@media screen and (min-width: 320px) and (max-width: 480px) {
  .form {
    grid-template-rows: 5rem 5rem 5rem;
  }

  .formBoxImg {
    min-height: 6rem;
    max-height: 8rem;
    height: 30vw;
  }

  .form label {
    font-size: 1.8em;
    padding-left: 2rem;
  }

  .form label input {
    scale: 120%;
    right: 2rem;
  }

  .formBorderYes,
  .formBorderNo {
    height: 60%;
  }
}

@media screen and (min-width: 768px) {
  h1 {
    font-size: 5em;
    color: #323e4d;
    margin: 0;
  }

  h2 {
    font-size: 2.8em;

    margin: 0;
  }

  h3 {
    font-size: 2.2em;
    color: #323e4d;
    margin: 0;
    overflow-wrap: break-word;
  }

  p {
    font-size: 1.8em;
    margin: 0;
  }

  main {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero {
    justify-self: center;
    align-self: center;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding: 0% 5vw;
    position: relative;
  }

  .background {
    position: absolute;
    top: 0%;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    filter: brightness(45%);
  }

  .smartIntercom {
    width: 150px;
    display: block;
    position: relative;
    z-index: 3;
    top: 10%;
    transform: translateY(-0%);
    left: 0%;
    transform: translateX(-0%);
  }

  .textHero {
    width: 70vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 3em;
    position: relative;
    z-index: 3;
    margin-bottom: 4em;
  }

  .textHero h1,
  h3 {
    color: #ffffff;
  }

  .arrow {
    display: none;
  }

  .arrowPC {
    display: block;
    height: 5em;
  }

  .about {
    display: none;
  }

  .mainForm {
    position: relative;
    width: 100vw;
    margin: 0%;
    padding: 0%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .aboutPC {
    display: flex;
    flex-direction: column;
    width: 50vw;
    background: #105fbb;
    position: relative;
    justify-self: flex-start;
    align-self: flex-start;
    /* height: 100vh; */
  }

  .aboutImg {
    width: 100%;
    height: auto;
  }

  .formPersonalData {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2em;
    background-color: #ffffff;
    border-radius: 8px;
    margin: auto auto;
    align-items: center;
    padding: 1.6rem;
    width: 40vw;
  }

  .formDivider {
    width: 100vw;
  }

  .form {
    margin: 1.6rem;
    padding: 1.6rem;
  }

  .formSubmit {
    width: 100%;
    max-width: 1170px;
    padding: 1.6rem;
    border-radius: 8px;
    background-color: #ffffff;
    margin-top: 1.6rem;
    justify-items: center;
    align-items: center;
    grid-template-rows: auto auto auto;
  }

  .formSubmit label {
    font-size: 1.6em;
    text-align: left;
    color: #000000;
    margin-left: 1em;
    width: 100%;
  }

  .submitButton {
    width: 100%;
  }

  .legalDataForm {
    grid-area: b;
    display: inline-block;
    height: 2em;
    width: 2em;
    border-radius: 8px;
    justify-self: center;
    align-self: center;
  }

  .dataLabel {
    grid-area: c;
  }

  .callLabel {
    grid-area: f;
  }

  .legalCallForm {
    grid-area: d;
    display: inline-block;
    height: 2em;
    width: 2em;
    border-radius: 8px;
    justify-self: center;
    align-self: center;
  }

  footer {
    padding: 1.6rem 0vw;
    margin-top: 1em;
    padding-bottom: 0vw;
  }

  .contact {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
  }

  .footerInfoBtn input {
    width: calc(45vw - 1.6rem);
    margin: 0rem 1.6rem 1.6rem 1.6rem;
  }

  .footerInfoBtn input:hover {
    background-color: #3b495a;
    color: #ffffff;
    cursor: pointer;
  }

  .footerInfo {
    width: 20%;
  }

  .footerInfo:nth-child(3) img {
    align-self: baseline;
  }

  .footerInfo img {
    width: 2.2em;
    height: 2.2em;
  }

  .footerInfo a {
    font-size: 1.6em;
    color: #c1d4eb;
  }

  hr {
    width: 90vw;
    border: 1px solid #c1d4eb;
    margin-bottom: 2em;
  }

  .company {
    padding: 2%;
  }

  .tiandyLogo,
  .akuvoxLogo {
    height: 1vh;
  }
}
@media (max-width: 768px) {
  .form,
  .formSubmit {
    width: -webkit-fill-available;
    max-width: none;
  }
}
@media screen and (min-width: 768px) and (max-width: 964px) {
  .form,
  .formSubmit {
    max-width: 100%;
    width: 100%;
  }
}

@media screen and (min-width: 1200px) {
}

@media screen and (min-width: 1498px) {
  .formSubmit {
    width: calc(26.5vw + 26.5vw + 6.4rem);
    padding: 1.6rem;
    border-radius: 8px;
    background-color: #ffffff;
    margin-top: 1.6rem;
    justify-items: center;
    align-items: center;
    grid-template-rows: auto auto auto;
  }

  .company {
    padding: 1.2rem;
  }
}
.aboutImg,
.aboutText {
  height: 500px;
}
@media (max-width: 1200px) {
  .aboutImg,
  .aboutText {
    height: 400px;
  }
}
@media (max-width: 991px) {
  .aboutImg,
  .aboutText {
    height: 500px;
  }
}
@media (max-width: 575px) {
  .company {
    flex-wrap: wrap;
  }
}
.form-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
}
.form-wrapper-top {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
  justify-content: center;
}
input[type="radio"]::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  transform: translate(-51%, -51%);
  background-color: white;
  border: 2px solid #105fbb;
}
input[type="checkbox"] {
  accent-color: #105fbb;
}
input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #105fbb;
  transform: translate(-51%, -51%);
  visibility: visible;
}
