.contact {
  background: var(--background-color);
  display: flex;
}

.form-content {
  background: #fff;
  padding: 0 8rem;
  width: 54%;
}

.form-content h2 {
  font-size: 5.6rem;
  font-weight: 700;
  line-height: 7rem;
  margin-top: 16rem;
}

.form-content p {
  font-size: 1.8rem;
  font-weight: 500;
  width: 100%;
  color: var(--gray-text-color);
  line-height: 30px;
  margin-top: 2rem;
}

.contact-image {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 1376px) {
  .contact {
    height: auto;
  }
  .form-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .contact {
    flex-direction: column;
  }

  .contact-image {
    width: 100%;
    padding: 6rem 3.2rem;
  }

  .contact-image img {
    width: 60%;
  }

  .form-content {
    padding: 3.2rem;
    width: 100%;
  }

  .form-content h2 {
    font-size: 3.2rem;
    line-height: 3.8rem;
    margin-top: 12rem;
  }
  .form-content p {
    width: 100%;
  }
}

@media (max-width: 726px) {
  .contact-image img {
    width: 80%;
  }

  .form-content h2 {
    font-size: 2.4rem;
    margin-top: 8rem;
  }
  .form-content p {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 2.4rem;
    width: 100%;
  }
}
