.contact {
  padding: 24px;
  gap: 24px;
  background-color: white;
  border-radius: 8px;
  display: grid;
}

.captcha-box {
  margin-bottom: 24px;
  margin: 0 0 0 !important;
}

.contact-box {
  background-color: #F4F5FF;
  border-radius: 8px;
  padding: 12px;
  height: 332px;
  max-height: 332px;
}

.separator {
  width: 100%;
  margin-top: 12px;
  margin-bottom: 12px;
  border-top: 1px solid #CCCCCC;
  color: #CCCCCC;
}

#contact-msg-sucess {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 10%;
  gap: 20px;
}


.contact-value > h2 {
  font-weight: 400;
  font-size: 14px;
  line-height: 23.54px;
  margin-top: 6px;
  color: var(--text-default-2);
}

.contact-msg-title > h1 {
  font-style: normal;
  font-weight: 700;
  font-size: 22px;
  line-height: 24px;
  font-family: var(--myralis-font-family);
  color: var(--myracolors-2);
}

.contact-msg-content > h3 {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 23.54px;
  color: var(--text-default);
}

.contact-name {
  display: flex;
  justify-content: left;
  align-items: center;
}

  .contact-name > h2 {
    font-family: var(--myralis-font-family);
    font-weight: 500;
    font-size: 16px;
    margin-left: 4px;
    line-height: 23.54px;
    color: var(--myracolors-2);
  }

.contact-back {
  flex: 1;
  gap: 4px;
  display: flex;
  align-items: center;
  justify-content: right;
}

  .contact-back > img {
    cursor: pointer;
  }

  .contact-back > h1 {
    cursor: pointer;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 23.54px;
    font-family: var(--myralis-font-family);
    color: var(--myracolors-10);
  }

.contact-title {
  display: flex;
  justify-content: left;
}

  .contact-title > h1 {
    font-family: var(--myralis-font-family);
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    margin-left: 12px;
    line-height: 20px;
    color: var(--myracolors-2);
  }

.contact-title-1 {
  display: flex;
  padding-left: 30px;
  align-items: center;
  gap: 12px;
}

  .contact-title-1 > h1 {
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    font-family: var(--myralis-font-family);
    text-transform: uppercase;
    line-height: 20px;
    color: var(--myracolors-2);
  }

.contact-content {
  padding: 0 30px;
  margin-top: 24px;
}

  .contact-content > h2 {
    color: var(--text-default-2);
    font-family: Barlow;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    line-height: 24px;
  }

.contact-help-text > h2 {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #272E61;
}

.contact-sub {
  margin-top: 16px;
  margin-bottom: 24px;
}

  .contact-sub > h3 {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 18.75px;
    color: var(--text-default);
    font-weight: 500;
  }

.contact-inputs {
  flex-direction: row !important;
  gap: 18px;
  width: 100%;
  height: 72px;
}

.contact-button {
  align-items: center;
  justify-content: center;
  display: flex;
  margin-top: 24px;
}

  .contact-button > button {
    width: 284px;
  }

.textarea {
  height: 80px !important;
  min-height: 80px !important;
}

.inputs > input, select {
  padding: 0 14px !important;
}

@media only screen and (min-width: 601px) {
  .contact {
    grid-template-columns: 0.45fr 1fr;
  }

  .collapse {
    display: none;
  }

  .contact-title {
    align-items: center;
  }

  .contact-inputs {
    display: inline-flex;
  }

  .contact-help-text {
    display: none;
  }
}

@media only screen and (max-width: 600px) {
  .contact-us {
    grid-row-start: 1;
    padding: 12px;
    padding-bottom: 32px;
  }

  .collapse {
    display: block;
    margin-left: 70%;
    position: absolute;
  }

  .contact-title > img {
    height: 32px;
  }

  .contact-help-text {
    display: block;
    position: absolute;
    margin-top: 24px;
    margin-left: 46px;
  }

  .contact-body {
    display: none;
  }

  .contact-box, .contact-us {
    background-color: #FCFCFC;
    border: 1px solid #EAECF0;
    border-radius: 8px;
    padding-top: 20px;
  }

  .contact-box {
    padding-bottom: 20px;
    height: auto;
  }

  .contact {
    margin: 20px;
    margin-top: 70px;
    padding: 6px 12px;
    gap: 24px;
  }

  .contact-inputs {
    height: auto;
  }

  .contact-inputs > .inputs {
    flex: 1 !important;
  }

  .contact-back {
    position: absolute;
    margin-top: -90px;
    right: 38px;
  }

  .contact-msg-title {
    width: 210px;
    text-align: center;
  }

    .contact-msg-title > h1 {
      font-size: 20px;
      margin-top: 24px;
      line-height: 24px;
      font-weight: 700;
    }

  .contact-msg-content {
    width: 210px;
    text-align: center;
  }

    .contact-msg-content > h3 {
      font-size: 14px;
      line-height: 23.54px;
      font-weight: 400;
    }

  .contact-sub > h3 {
    margin-top: 32px;
    font-size: 14px;
  }
}

@media only screen and (max-width: 376px) {

  .contact {
    padding: 12px;
  }

  .contact-box {
    height: auto;
  }

  .contact-help-text > h2 {
    font-size: 12px;
  }

  .captcha-box {
    transform: scale(0.8);
    width: 285px;
  }

  .contact-title-1, .contact-content {
    padding: 0;
  }
    .contact-title-1 > h1, .contact-title > h1, .contact-content > h1 {
      font-size: 16px;
      font-weight: 500;
    }
}

@media only screen and (max-width: 361px) {
  .contact {
    padding: 4px;
  }

  .contact-back {
    margin-top: -75px;
    margin-left: -16px;
  }
}
