/*      ----------------           */
/*      CONTACT FORM SECTION       */
/*      ----------------           */

.home-contact-container {
  display: flex;
  justify-content: center;
  padding: 10px;
  /* background-color: rgb(61, 27, 26); */
  color: rgb(0, 0, 0);
  width: 100%;
  height: auto;
}

.business-info-wrapper {
  margin: 20px;
  max-width: 40%;
}
/*      ----------------           */
/*            FORM                 */
/*      ----------------           */

.form {
  padding: 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
  color: rgb(0, 0, 0);
  background-color: white;
  min-width: 40%;
  height: auto;
  justify-content: space-between;
  box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.05);
}

.inputs {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.form-input {
  display: flex;
  justify-content: space-between;
}

#email,
#fname,
#lname,
#number,
#message {
  min-height: 4em;
  border-style: none;
  background-color: rgb(249, 248, 247);
  font-weight: 400;
}

textarea {
  border-radius: 0.5rem;
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
}

.submit {
  padding: 0.5rem 2rem;
  background: rgb(0, 0, 0);
  border-radius: 0.5rem;
  font-weight: bold;
  color: rgb(255, 255, 255);
  cursor: pointer;
  font-size: 1.25rem;
}
.submit:hover {
  background-color: rgb(128, 128, 128);
}
input {
  padding: 0.2rem 0.5rem;
}
@media (max-width: 1367px) {
  .home-contact-container {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .business-info-wrapper,
  .form {
    max-width: 100%;
  }
}

@media (max-width: 616px) {
  .form {
    width: 90%;
  }
  .form-input {
    flex-wrap: wrap;
    flex-direction: column;
    width: auto;
    gap: 2em;
  }
  #email,
  #fname,
  #lname,
  #number,
  #message {
    width: 100%;
  }
}
