.contactContainer img {
  width: 100%;
}

.contactFormContainer {
  width: 90%;
  margin: 0 auto;
  position: relative;
  max-width: 90rem;
  display: block;
  background: #fff;
  top: -16rem;
}

.title {
  font-size: 3rem;
  letter-spacing: 0.19em;
  line-height: 3.4rem;
  text-transform: uppercase;
  text-align: center;
  margin: 4rem 0 1.5rem;
  display: block;
  overflow: hidden;
  float: left;
  width: 100%;
}

.subtitle {
  font-size: 1.5rem;
  line-height: 1.9rem;
  text-align: center;
  margin-bottom: 4rem;
  display: block;
  overflow: hidden;
  float: left;
  width: 100%;
}

.contactDiv {
  position: relative;
  width: 78%;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.inputContainer {
  width: 48.5%;
}

.inputContainer.textAreaContainer {
  width: 100%;
}

.contactInput {
  border: 1px solid var(--grey);
  margin: 0 auto;
  margin-bottom: 2rem;
  padding-left: 10px;
  font-weight: 300;
  border-radius: 0;
  height: 4.5rem;
  line-height: 4.5rem;
  font-size: 1.3rem;
  box-sizing: border-box;
  width: 100%;
  padding-right: 10px;
}

.contactInput.contactTextarea {
  height: 18.5rem;
  line-height: 1.9rem;
}

.sendContact {
  color: var(--white);
  background-color: var(--base);
  border: 1px solid var(--base);
  cursor: pointer;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;
  font-size: 1.7rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: 20rem;
  height: 4.2rem;
  line-height: 4.2rem;
}

.sendContact:hover {
  color: var(--base);
  background-color: var(--white);
  border: 1px solid var(--base);
}

@media screen and (max-width: 768px) {
  .contactFormContainer {
    top: unset;
  }

  .title {
    font-size: 2.4rem;
    line-height: 2.8rem;
  }

  .subtitle {
    font-size: 1.4rem;
    line-height: 1.8rem;
  }

  .contactDiv {
    width: 100%;
    flex-direction: column;
  }
  .inputContainer {
    width: 100%;
  }
}
