.contacts {
  padding: 50px 0;
}

.contacts-container {
  max-width: 1070px;
  width: 100%;
  padding: 0 20px;
  overflow: hidden;
}

.contact-content {
  max-width: 960px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 20px 0;
}

.contacts-description {
  max-width: 400px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.contacts-description p {
  line-height: 1.3;
  color: var(--white);
  text-align: center;
  margin-bottom: 20px;
}

.contacts-items {
  padding: 10px;
}

.contacts-link {
  width: 100%;
  color: var(--white);
  display: flex;
  align-items: center;
}
.contacts-link b {
  color: var(--yellow);
}
.contacts-link_tel::before {
  content: url(../../svg/phone.svg);
  margin-right: 10px;
}
.contacts-link_telegram::before {
  content: url(../../svg/Telegram_white.svg);
  margin-right: 10px;
}
.contacts-link_viber::before {
  content: url(../../svg/Viber_white.svg);
  margin-right: 10px;
}

.contacts-form-block {
  max-width: 400px;
  width: 100%;
  position: relative;
  padding-left: 28px;
}

.form-decor {
  position: absolute;
  border: 1px solid var(--yellow);
  top: 19px;
  left: 0;
  width: calc(100% - 28px);
  height: 100%;
  z-index: 1;
}

.form {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #f1f1f1;
  text-align: center;
  padding: 20px;
  transform: scale(0.6);
  transition: 1s;
  opacity: 0;
}
.form h3 {
  color: var(--main-bg-dark);
}
.form p {
  color: var(--btn-bg);
  padding: 5px;
}
.form.active {
  transform: scale(1);
  opacity: 1;
  transition: 1s;
}

.input {
  padding: 5px 10px;
  margin: 5px;
  border-bottom: 1px solid var(--btn-bg);
  color: var(--btn-bg);
  background-color: #f1f1f1;
}
.input_text {
  max-height: 100px;
}

@media (max-width: 650px) {
  .contact-content {
    flex-direction: column;
  }
  .contacts-description {
    margin-bottom: 20px;
  }
  .contacts-link {
    justify-content: center;
  }
}

/*# sourceMappingURL=contacts.css.map */
