/* ===== UPLOAD FORM SECTION ==== */
#form {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
}

#form > .left,
#form > .right {
  background-color: var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
}

#form > .left {
  background-color: var(--blue);
}

#form > .right {
  background-color: var(--light);
}

.base_info,
.job_info {
  display: flex;
  flex-direction: column;
  max-width: 33.75rem;
  width: 80%;
  margin-top: 7.3125rem;
  gap: 2.5rem;
  align-items: center;
  justify-content: space-between;
}

.form_heading {
  display: flex;
  align-items: center;
  line-height: 5.625rem;
  margin-bottom: 6.4375rem;
}

.number_one_img {
  width: auto;
  height: 3.7625rem;
  margin-right: .9375rem;
}

.number_two_img {
  width: auto;
  height: 3.8687rem;
  margin-right: .9375rem;
}

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

.form_inputs {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 13.375rem;
}

.input > input,
.input > textarea {
  width: 100%;
  border-radius: 10px;
  margin-top: .9375rem;
  padding: 0 1.875rem;
}

.input > input {
  height: 3.5rem;
  border: none;
}

.input > textarea {
  height: 16.5rem;
  border: .125rem solid var(--dark);
  padding-top: 1.25rem;
}

.input {
  position: relative;
}

small {
  position: absolute;
  font-family: 'Public Sans', serif;
  font-size: .75rem;
  font-weight: 600;
  color: #ff4141;
  bottom: -1.125rem;
  left: 0.5rem;
  visibility: hidden;
}

.job_description small {
  bottom: -0.8125rem;
}

.error small {
  visibility: visible;
}

.terms_error {
  position: absolute;
  width: 40px;
  height: 40px;
  top: -0.65rem;
  left: -0.65rem;
  visibility: hidden;
  z-index: 1;
}

.upload {
  display: flex;
  align-items: center;
  margin-top: 40px;
  width: 100%;
}

.upload_link {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.66rem;
  height: 2.9375rem;
}

.upload_formats {
  font-family: 'Public Sans', serif;
  font-size: .75rem;
  font-style: italic;
  font-weight: 400;
  line-height: .8812rem;
  letter-spacing: 0.08em;
  margin-left: 1.3125rem;
  color: rgba(26, 26, 26, 0.6);
}

.terms_and_submit {
  width: 100%;
  height: 3.5625rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terms_check {
  display: flex;
  flex-direction: row;
  align-items: start;
  position: relative;
}

.terms {
  margin-left: .9375rem;
  font-size: .875rem;
  line-height: 1.0281rem;
  margin-right: 1rem;
}

.submit_btn {
  max-width: 12.8125rem;
  width: 50%;
  height: 100%;
  color: var(--dark);
  background-color: var(--green);
  padding: 0 0.625rem;
}

.right_arrow {
  position: absolute;
  height: 3.1856rem;
  width: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

/* ========== RESPONSIVE ========= */
@media (orientation: landscape) and (max-width: 1300px) {
  .form_heading {
    line-height: 5.625rem;
    margin-bottom: clamp(2rem, 3vw, 5rem);
  }

  .number_one_img {
    width: auto;
    height: 3.7625rem;
    margin-right: .9375rem;
  }

  .number_two_img {
    width: auto;
    height: 3.8687rem;
    margin-right: .9375rem;
  }
}

@media (orientation: landscape) and (max-width: 780px) {
  .number_one_img {
    height: 5vw;
  }

  .number_two_img {
    height: 5vw;
  }

  .right_arrow {
    height: 5vw;
  }

  .form_heading {
    height: 3.75rem;
  }

  .form_inputs {
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    gap: 1.75rem;
  }

  .input > input {
    height: 2.8125rem;
  }

  .upload {
    margin-top: 1rem;
  }

  .upload_link {
    font-size: 1rem;
    line-height: 1.375rem;
    height: auto;
  }

  .terms_and_submit {
    height: auto;
  }

  .terms_and_submit {
    align-items: normal;
    flex-direction: column;
    gap: 1rem;
  }

  .terms {
    font-size: .8125rem;
    margin-left: 0.5rem;
  }

  .terms {
    align-self: flex-start;
  }

  .submit_btn {
    width: 60%;
    padding: 0.5rem 0.25rem;
    align-self: flex-end;
  }
}

@media (orientation: landscape) and (max-height: 560px) {
  .upload {
    margin-top: 1.25rem;
  }
}

@media (orientation: landscape) and (max-height: 740px) {
  .base_info,
  .job_info {
    margin-top: 3rem;
    gap: 1.25rem;
  }

  .job_description {
    height: 13.375rem;
  }

  .input > textarea {
    height: 11rem;
  }
}

@media (orientation: portrait) and (max-width: 1024px) {
  #form {
    flex-direction: column;
  }

  #form > .left,
  #form > .right {
    height: 50%;
    justify-content: center;
    align-items: center;
  }

  .base_info,
  .job_info {
    margin: 0;
    gap: 1.25rem;
  }

  .form_heading {
    margin: 0;
    height: 5rem;
  }

  .input > textarea {
    height: 12rem;
  }

  .right_arrow {
    transform: rotate(90deg);
  }
}

@media (orientation: portrait) and (max-width: 650px) {
  .number_one_img {
    height: 9vw;
  }

  .number_two_img {
    height: 9vw;
  }

  .right_arrow {
    height: 7vw;
  }

  .form_heading {
    height: 3.75rem;
  }

  .form_inputs {
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    gap: 1.75rem;
  }

  .input > input {
    height: 2.8125rem;
  }

  .job_info {
    margin-top: -2rem;
  }

  .input > input,
  .input > textarea {
    margin-top: 0.75rem;
  }

  .upload {
    margin-top: 1rem;
  }

  .upload_link {
    font-size: 1.125rem;
    line-height: 1.5rem;
    height: auto;
  }

  .input > textarea {
    height: 8rem;
  }

  .terms_and_submit {
    height: auto;
  }

  .submit_btn {
    width: 60%;
    padding: 0.75rem 1rem;
  }
}

@media (orientation: portrait) and (max-width: 440px) {
  .base_info,
  .job_info {
    gap: 0;
  }

  .base_info,
  .job_info {
    margin-top: -3rem;
  }

  .number_one_img {
    margin-right: 0.375rem;
  }

  .number_two_img {
    margin-right: 0.375rem;
  }

  .input > input,
  .input > textarea {
    border-radius: 8px;
    margin-top: 0;
    padding: 0 .9375rem;
  }

  .input > textarea {
    height: 6rem;
    padding-top: .625rem;
  }

  .form_inputs {
    gap: 0;
  }

  .input > input {
    height: 2.5rem;
  }

  .input.email {
    margin-top: 1.25rem;
  }

  .upload {
    margin-top: 1rem;
  }

  .upload_link {
    font-size: 1rem;
  }

  .upload_formats {
    font-size: .625rem;
  }

  .terms_and_submit {
    align-items: normal;
    flex-direction: column;
    margin-top: 1.5rem;
    gap: 1rem;
  }

  .terms {
    font-size: .75rem;
  }

  .terms {
    align-self: flex-start;
  }

  .submit_btn {
    width: 60%;
    padding: 0.5rem 0.25rem;
    align-self: flex-end;
  }
}
