.contact-page {
  padding: 3rem 0;
  padding-bottom: 7rem;
}

.contact-page .container {
  position: relative;
  max-height: 40rem;
}

.contact-page .container .left {
  width: 60%;
  height: 30rem;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
}

.contact-page .container .right {
  min-height: 30rem;
  max-height: 35rem;

  position: absolute;
  left: 40%;
  width: 50%;
  top: 70px;
  background-color: white;
  padding: 2rem;
  border: 1px solid #eee;
}

.contact-page .container .right .header {
  padding-bottom: 1rem;
  max-width: 80%;
}

.contact-page .container .right .header h2 {
  font-size: 2rem;
  padding-bottom: 1rem;
}

.contact-page .container .right .header p {
  font-size: 0.9rem;
  line-height: 1.3rem;
}

.input-row {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.input-row .input {
  width: calc(50% - 0.5rem);
}

.input {
  padding: 12px 14px;
  border: 1px solid #ddd;
}

.input input,
.input textarea {
  border: none;
  outline: none;
  width: 100%;
}

.input textarea {
  resize: vertical;
  max-height: 7rem !important;
}

.form button {
  background-color: var(--green-color);
  color: white;
  padding: 1rem;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: start;
}

@media only screen and (max-width: 997px) {
  .contact-page {
    padding-top: 2rem;
    padding-bottom: 4rem;
  }
  .contact-page .container {
    position: initial;
  }

  .contact-page .container .left {
    display: none;
  }

  .contact-page .container .right {
    min-height: 100%;
    position: initial;
    left: 0%;
    width: 100%;
    top: 0;
    padding: 0;
    border: none;
    top: 0;
  }

  .contact-page .container .right .header {
    max-width: 100%;
  }

  .contact-page .container .right .header h2 {
    font-size: 2rem;
  }

  .input-row {
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .input-row .input {
    width: calc(50% - 0.5rem);
  }
}

@media only screen and (max-width: 560px) {
  .contact-page {
    padding-top: 0;
  }

  .contact-page .container .right .header h2 {
    font-size: 1.6rem;
  }

  .input-row {
    flex-direction: column;
  }

  .input-row .input {
    width: 100%;
  }
}
