@font-face {
  font-family: "Roboto";
  src: url(../fonts/Roboto-Medium.ttf) format("truetype");
  font-weight: lighter;
}
@font-face {
  font-family: "Roboto";
  src: url(../fonts/Roboto-Regular.ttf) format("truetype");
  font-weight: normal;
}

@font-face {
  font-family: "Roboto-bolder";
  src: url(../fonts/Roboto-Bold.ttf) format("truetype");
  font-weight: bolder;
}

body {
  font-family: "Roboto";
  margin: 0;
  padding: 0;
}
/* .contact-form {
  height: 100vh;
} */

main {
  height: 100vh;
}
.contact {
  display: flex;
  align-items: start;
  justify-content: center;
  gap: 9.6rem;
  padding: 9.6rem 20rem;
}
.contact-form {
  flex: 2;
}
.contact-text {
  flex: 1;
}

.contact h3 {
  font-size: 2.4rem;
  margin-bottom: 2.4rem;
  color: #1f2937;
}
.contact h4 {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  color: #1f2937;
}

.contact p {
  font-size: 0.8rem;
  font-weight: normal;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #adb5bd;
}
.input-group {
  position: relative;
}
.placeholder {
  /* position: absolute; */
  top: 10px;
  left: 8px;
  padding: 0 18px;
  color: #666;
  transition: 0.6s;
  pointer-events: none;
}

.placeholder-lname {
  /* position: absolute; */
  top: 10px;
  right: 300px;
  padding: 0 18px;
  color: #666;
  transition: 0.6s;
  pointer-events: none;
}
.input-form:focus ~ .placeholder,
.input-form:valid ~ .placeholder {
  transform: translateX(10px) translateY(-20px);
  color: #3882f6;
  font-size: 12px;
  background-color: #fff;
  padding-left: 35px;
}

.input-lname:focus ~ .placeholder-lname,
.input-form:valid ~ .placeholder-lname {
  transform: translateX(10px) translateY(-20px);
  color: #3882f6;
  font-size: 12px;
  background-color: #fff;
}
form input[type="text"],
form input[type="number"],
form input[type="email"] {
  font-size: 18px;
  width: 300px;
  height: 2.4rem;
  margin-right: 1.2rem;
  margin-bottom: 1.2rem;
  border-radius: 20px;
  border: 2px solid #3882f6;
  padding: 0.8rem 1.6rem;
  outline: none;
}
form input[placeholder] {
  padding: 0 18px;
  color: #666;
  font-weight: bold;
}

textarea {
  resize: none;
  display: block;
  width: 625px;
  height: 300px;
  border: 2px solid #e5e7eb;
  outline: 1px solid #3882f6;
  border-radius: 10px;
  padding: 1.2rem 1.6rem;
  margin-bottom: 1.2rem;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
}

.submit {
  border: none;
  width: 200px;
  background-color: #3882f6;
  color: #e5e7eb;
  padding: 1.2rem 2.4rem;
  border-radius: 10px;
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  main {
    height: 200vh;
  }
  .contact {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 4.2rem;
    padding: 3.4rem 4.6rem;
  }
  .contact-text {
    margin-top: 9.6rem;
  }
  .contact-section {
    height: 100vh;
  }
  textarea {
    resize: none;
    display: block;
    width: 300px;
    height: 100px;
    border: 2px solid #e5e7eb;
    outline: 1px solid #3882f6;
    border-radius: 10px;
    padding: 1.2rem 1.6rem;
    margin-bottom: 1.2rem;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
  }
}
