.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  margin-bottom: 66px;
}

.contact_left h1 {
  font-family: "Inter";
  font-weight: 900;
  font-size: 48px;
  color: #0540f2;
  margin-bottom: 46px;
}

.contact_left span {
  color: #0b1b35;
}

.contact_left h3 {
  font-weight: 700;
  font-size: 32px;
  color: #0b1b35;
}

.contact_left_description {
  font-weight: 400;
  font-size: 18px;
  color: #7d7979;
  max-width: 370px;
  width: 100%;
  margin-bottom: 28px;
}

.contact_email p {
  font-weight: 400;
  font-size: 18px;
  color: #0b1b35;
}

.contact_email a {
  font-weight: 400;
  font-size: 18px;
  color: #0b1b35;
}

.contact_right {
  max-width: 570px;
  width: 100%;
}

.contact input {
  border: 0;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  font-size: 16px;
  font-weight: 400;
  font-family: "DM Sans", sans-serif;
  padding-left: 0;
}

.contact input:focus-visible {
  outline: 0;
  border-bottom-color: #0b1b35;
}

.contact form div {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 35px;
}

.contact form div input:nth-child(1) {
  margin-right: 30px;
}

.name {
  max-width: 270px;
  width: 100%;
}

.email {
  max-width: 270px;
  width: 100%;
}

.phone {
  width: 100%;
  margin-bottom: 35px;
}

.contact form button {
  font-weight: 500;
  font-size: 18px;
  width: 100%;
  border: none;
  background-color: #0540f2;
  color: #ffffff;
  padding: 15px 0;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

@media (max-width: 480px) {
  .contact_left h1 {
    font-size: 32px;
    margin-bottom: 32px;
  }
  
  .contact_left h3 {
    font-size: 24px;
  }
  
  .contact_left_description {
    font-size: 16px;
    margin-bottom: 20px;
    max-width: 100%;
  }
  .contact {
    flex-direction: column;
  }

  .contact_left h1 {
    margin-bottom: 20px;
  }

  .contact_left_description {
    max-width: 100%;
  }

  .contact_left {
    width: 100%;
    margin-bottom: 50px;
  }

  .contact_right {
    max-width: 100%;
  }
  form div {
    flex-direction: column;
    margin: 0;
  }

  .contact form div input {
    margin-bottom: 30px;
  }

  .name {
    max-width: 100%;
  }

  .email {
    max-width: 100%;
  }

  .contact form div input:nth-child(1) {
    margin-right: 0;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .contact_left h1 {
    font-size: 32px;
    margin-bottom: 32px;
  }
  
  .contact_left h3 {
    font-size: 24px;
  }
  
  .contact_left_description {
    font-size: 16px;
    margin-bottom: 20px;
    max-width: 100%;
  }
  .contact {
    flex-direction: column;
  }

  .contact_left h1 {
    margin-bottom: 20px;
  }

  .contact_left {
    width: 100%;
    margin-bottom: 50px;
  }

  .contact_right {
    max-width: 100%;
  }
  form div {
    flex-direction: column;
    margin: 0;
  }

  .contact form div input {
    margin-bottom: 30px;
  }

  .name {
    max-width: 100%;
  }

  .email {
    max-width: 100%;
  }

  .contact form div input:nth-child(1) {
    margin-right: 0;
  }
}

@media (min-width: 769px) and (max-width: 880px) {
  .contact_left h1 {
    font-size: 40px;
    margin-bottom: 40px;
  }

  .contact_left h3 {
    font-size: 28px;
  }

  .contact_left_description {
    font-size: 16px;
    margin-bottom: 24px;
    max-width: 300px;
  }

  .contact_right {
    max-width: 370px;
  }

  form div {
    flex-direction: column;
  }

  .name {
    max-width: 100%;
    margin-bottom: 35px;
  }

  .email {
    max-width: 100%;
  }

  .contact form div input:nth-child(1) {
    margin-right: 0;
  }
}

@media (min-width: 881px) and (max-width: 1024px) {
  .contact_left h1 {
    font-size: 40px;
    margin-bottom: 40px;
  }

  .contact_left h3 {
    font-size: 28px;
  }

  .contact_left_description {
    font-size: 16px;
    margin-bottom: 24px;
    max-width: 370px;
  }

  .contact_right {
    max-width: 420px;
  }

  form div {
    flex-direction: column;
  }

  .name {
    max-width: 100%;
    margin-bottom: 35px;
  }

  .email {
    max-width: 100%;
  }

  .contact form div input:nth-child(1) {
    margin-right: 0;
  }
}

@media (min-width: 1024px) and (max-width: 1200px) {
  .contact_right {
    max-width: 520px;
  }
}
