@font-face {
  font-family: "Inter";
  src: local("Inter"),
    url("../fonts/Inter-VariableFont_slnt\,wght.ttf") format("opentype");
}

h1,
h2,
h3 {
  margin: 0;
  font-size: unset;
  font-weight: unset;
  unicode-bidi: unset;
}

.contacts_header {
  background-size: cover;
  background-color: #0d1621;
}

.contacts_header div div {
  text-transform: uppercase;
  color: #fefefe;
}

.contacts_header p {
  font-family: "Inter";
  font-weight: 400;
  font-style: normal;
  color: #fefefe;
}

.contacts h1 {
  border-top: 1px solid #b7b7b7;
}

.contacts .address_offline,
.contacts .address_email {
  border-bottom: 1px solid #b7b7b7;
}

.contacts .address_name {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
}

.contacts .address .address_legal,
.contacts .address .param {
  opacity: 0.7;
}

.form form .clean,
.form form input,
.form form textarea {
  border: 1px solid #b7b7b7;
}

.form form input,
.form form textarea {
  font-family: "Inter";
  font-style: normal;
  opacity: 0.75;
  font-weight: 400;
}

.form form .username div,
.form form div:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.form form .err {
  border: 1px solid #ff0000;
  outline-color: #ff0000;
}

.form form .err-text,
.form form .err-text-theme {
  color: #ff0000;
  opacity: 0.75;
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
}

.form form label {
  height: 16px;
}

.hidden {
  display: none;
}

.form form .send-form {
  background-color: #fefefe;
  border-radius: 50px;
  border: 1px solid #b7b7b7;
  cursor: pointer;
  background-color: #ff7b3b;
  border-color: #ff7b3b;
  color: #fefefe;
}

.send-form:focus {
  background-color: #ff7b3b;
  border: 1px solid #ff7b3b;
}

.form_sent {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  margin-top: 12px;
  color: #282828;
  opacity: 0.7;
}

@media (max-width: 639px) {
  .contacts_header {
    background-image: url("../img/businessman-min-mid.png");
    padding: 246px 10px 20px 10px;
  }

  .contacts_header > div > div {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 23px;
    width: 276px;
  }

  .contacts {
    padding: 40px 10px;
  }

  .contacts h1 {
    font-family: "Inter";
    font-style: normal;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 20px;
    line-height: 26px;
    padding: 20px 0px;
  }

  .contacts h1 span:first-child {
    color: #ff7b3b;
  }

  .contacts h1 span:last-child {
    color: #282828;
  }

  .contacts .address {
    padding-bottom: 40px;
  }

  .contacts .address_offline,
  .contacts .address_email {
    padding-bottom: 15px;
  }

  .contacts .address_legal,
  .contacts .address_email {
    padding-top: 15px;
  }

  .contacts .address_name {
    font-size: 20px;
    line-height: 26px;
  }

  .contacts .address .param {
    padding-top: 15px;
  }

  .map {
    display: flex;
    justify-content: center;
  }

  .map iframe {
    width: 299px;
    height: 200px;
  }

  .form {
    padding: 0px 20px 40px 20px;
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .form_header {
    font-family: "Inter";
    font-style: normal;
    display: flex;
    justify-content: space-between;
    color: #282828;
    border-bottom: 1px solid #b7b7b7;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    padding-bottom: 7px;
  }

  .form .username {
    display: flex;
    flex-direction: column;
  }

  .form form {
    display: flex;
    flex-direction: column;
    padding-top: 18px;
  }

  .form form input {
    height: 56px;
    margin-top: 5px;
    width: inherit;
  }

  .form form textarea {
    height: 121px;
    margin-bottom: 12px;
    margin-top: 5px;
    width: 100%;
  }

  .form form input,
  .form form textarea {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 23px;
    border-radius: 5px;
    padding-left: 5px;
  }

  .form form .send-form {
    font-weight: 500;
    font-size: 17px;
    line-height: 140%;
    border-radius: 50px;
    width: 300px;
    height: 50px;
    align-self: center;
  }
}

@media (min-width: 639px) and (max-width: 1023px) {
  .contacts_header {
    background-image: url("../img/businessman-min-mid.png");
    padding: 428px 20px 50px 20px;
  }

  .contacts_header > div > div {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 42px;
  }

  .contacts {
    padding: 90px 20px;
  }

  .contacts h1 {
    font-family: "Inter";
    font-style: normal;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 20px;
    line-height: 26px;
    font-size: 36px;
    line-height: 47px;
    padding: 40px 0px;
    width: 550px;
  }

  .contacts h1 span:first-child {
    color: #ff7b3b;
  }

  .contacts h1 span:last-child {
    color: #282828;
  }

  .contacts .address {
    padding-bottom: 80px;
  }

  .contacts .address_offline,
  .contacts .address_email {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
  }

  .contacts .address_legal,
  .contacts .address_email {
    padding-top: 49px;
  }

  .contacts .address_name {
    font-size: 24px;
    line-height: 31px;
  }

  .contacts .address .address_legal,
  .contacts .address .param {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
  }

  .map {
    display: flex;
    justify-content: center;
  }

  .map iframe {
    width: 600;
    height: 250px;
  }

  .form {
    padding: 0px 20px 90px 20px;
    display: flex;
    flex-direction: column;
  }

  .form_header {
    font-family: "Inter";
    font-style: normal;
    display: flex;
    justify-content: space-between;
    color: #282828;
    border-bottom: 1px solid #b7b7b7;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    padding-bottom: 7px;
  }

  .form .username {
    display: flex;
    width: 100%;
    max-width: 600px;
  }

  .form .username div {
    width: 50%;
    max-width: 300px;
  }

  .form form {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 28px;
    width: 100%;
  }

  .form form input {
    height: 56px;
    margin-top: 5px;
  }

  .form form .username div:first-child {
    margin-right: 7px;
  }

  .form form .username ~ div {
    width: 100%;
    max-width: 600px;
  }

  .form form textarea {
    height: 190px;
    width: 100%;
    max-width: 600px;
    margin-bottom: 12px;
    margin-top: 5px;
    padding-top: 10px;
  }

  .form form input,
  .form form textarea {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
    padding-left: 7px;
    border-radius: 5px;
  }

  .form form .send-form {
    font-weight: 500;
    font-size: 17px;
    line-height: 140%;
    border-radius: 50px;
    width: 300px;
    height: 50px;
  }
}

@media (min-width: 1023px) {
  .contacts_header {
    background-image: url("../img/businessman.png");
    background-position: center;
  }

  .contacts_header > div {
    display: flex;
    flex-direction: column;
    align-self: center;
    width: 100%;
    padding: 385px 100px 111px 100px;
  }

  .contacts_header div div {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-size: 38px;
    line-height: 49px;
  }

  .contacts > div {
    padding: 150px 100px 100px 100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-self: center;
  }

  .contacts h1 {
    font-family: "Inter";
    font-style: normal;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 20px;
    line-height: 26px;
    font-size: 38px;
    line-height: 49px;
    padding: 40px 0px 100px 0px;
  }

  .contacts h1 span:first-child {
    color: #ff7b3b;
  }

  .contacts h1 span:last-child {
    color: #282828;
  }

  .contacts > div > div {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .contacts .address {
    width: 50%;
    margin-right: 58px;
  }

  .contacts .address_offline,
  .contacts .address_email {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 42px;
    gap: 16px;
  }

  .contacts .address_email {
    padding-top: 40px;
  }

  .contacts .address_name {
    font-size: 24px;
    line-height: 31px;
  }

  .contacts .address .address_legal,
  .contacts .address .param {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
  }

  .contacts .address .param {
    text-align: end;
  }

  .contacts .address .address_legal {
    padding-top: 50px;
  }

  .contacts .map {
    width: 50%;
    margin-left: 58px;
  }

  .map iframe {
    width: 600;
    height: 450px;
  }

  .form > div {
    padding: 0px 100px 150px 100px;
    display: flex;
    flex-direction: column;
    align-self: center;
    width: 100%;
  }

  .form_header {
    font-family: "Inter";
    font-style: normal;
    display: flex;
    justify-content: space-between;
    color: #282828;
    border-bottom: 1px solid #b7b7b7;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    padding-bottom: 7px;
  }

  .form .username {
    display: flex;
    width: 100%;
  }

  .form .username div {
    width: 50%;
    max-width: 795px;
  }

  .form form {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 28px;
  }

  .form form input {
    height: 56px;
    margin-top: 5px;
  }

  .form form .username div:first-child {
    margin-right: 17px;
  }

  .form form .username ~ div {
    width: 100%;
    max-width: 1600px;
  }

  .form form textarea {
    height: 190px;
    width: 100%;
    max-width: 1600px;
    margin-bottom: 16px;
    margin-top: 5px;
    padding-top: 10px;
  }

  .form form input,
  .form form textarea {
    padding-left: 10px;
    border-radius: 5px;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
  }

  .form form .send-form {
    font-weight: 500;
    font-size: 17px;
    line-height: 140%;
    border-radius: 50px;
    width: 300px;
    height: 50px;
  }

  .form form .send-form:hover {
    color: #282828;
    background-color: #fefefe;
    border-color: #282828;
  }
}
