@import "../style.css";
@import "../index.css";
@import "../css/about-us.css";

/* contact-form */

.contact-wrapper {
  width: 100%;
  background: rgb(248, 249, 251);
  box-sizing: border-box;
  -webkit-box-align: center;
  align-items: center;
  padding: 30px 24px 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.contact-img > img {
  width: 100%;
  object-fit: cover;
}

.contact-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-shadow: rgb(0 0 0 / 7%) 0px 0px 12px;
  overflow: hidden;
  justify-content: center;
  align-items: center;
}

.contact-detail {
  padding: 24px;
  width: 100%;
}

.contact-form input {
  border: 1px solid rgb(225, 228, 233);
  box-shadow: rgb(0 0 0 / 7%) 1px 1px 2px 0px inset;
  border-radius: 2px;
  font-weight: 400;
  line-height: 30px;
  font-size: 16px;
  padding: 6px 12px;
  outline: 0px;
  color: rgb(31, 38, 45);
  background: rgb(255, 255, 255);
  width: 100%;
  box-sizing: border-box;
  grid-area: input / input / input / input;
  order: 2;
}

.contact-form textarea {
  border: 1px solid rgb(225, 228, 233);
  box-shadow: rgb(0 0 0 / 8%) 2px 2px 1px 0px inset;
  border-radius: 2px;
  font-weight: 400;
  font-size: 16px;
  line-height: 18px;
  padding: 6px 12px;
  outline: 0px;
  color: rgb(31, 38, 45);
  width: 100%;
  height: 100px;
  box-sizing: border-box;
  grid-area: input / input / input / input;
  resize: none;
}

.input-wrapper {
  margin-bottom: 13px;
  display: flex;
  flex-direction: column;
}

input::placeholder,
textarea::placeholder {
  font-family: "DM Sans", sans-serif;
}

.contact-form-header {
  margin-bottom: 20px;
}

.contact-form-header > h4 {
  color: rgb(7, 9, 10);
  margin-bottom: 5px;
  font-weight: 500;
}

.contact-form-header > span {
  font-weight: 300;
  font-size: 15px;
  color: rgb(97, 104, 113);
}

#split-input > .input-wrapper {
  width: 100%;
}

.member-btn {
  width: 100%;
}

@media (min-width: 768px) {
  .contact-wrapper {
    padding-top: 42px;
    padding-bottom: 84px;
  }

  #split-input {
    display: flex;
  }

  #split-input > .input-wrapper {
    width: 50%;
  }

  #split-input > .input-wrapper:first-child {
    padding-right: 7px;
  }

  #split-input > .input-wrapper:last-child {
    padding-left: 7px;
  }

  .contact-detail {
    padding: 48px;
  }
}

@media (min-width: 1024px) {
  .contact-wrapper {
    padding-left: 32px;
    padding-right: 32px;
  }

  .contact-grid {
    grid-template-columns: 2fr 1fr;
  }
}

@media (min-width: 1216px) {
  .contact-wrapper {
    padding-top: 48px;
    padding-left: 48px;
    padding-right: 48px;
    padding-bottom: 96px;
  }
}
