/*!*************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./assets/scss/blocks/contact-form.scss ***!
  \*************************************************************************************************************************************************************************/
:root {
  --theme-main-font: "Montserrat", sans-serif;
  --theme-second-font: "Montserrat", sans-serif;
}

.contact-form {
  background-color: #f8f8f8;
  max-height: 340px;
  height: 100%;
  margin: 40px 0;
  position: relative;
}
.contact-form .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 60px;
  -webkit-column-gap: 60px;
     -moz-column-gap: 60px;
          column-gap: 60px;
}
.contact-form__content {
  padding: 52px 0 40px 0;
}
.contact-form__content .title {
  font-weight: 600;
  font-size: 24px;
  line-height: 130%;
  color: #484848;
  margin-bottom: 10px;
}
.contact-form__content .subtitle {
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  color: #484848;
  margin-bottom: 20px;
}
.contact-form__wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 24px;
  gap: 24px;
}
.contact-form__wrapper input[type=text],
.contact-form__wrapper input[type=tel] {
  width: 100%;
  height: 40px;
  border-radius: 6px;
  padding: 20px;
  background-color: #fff;
  color: #afafaf;
  font-weight: 400;
  font-size: 12px;
  line-height: 130%;
  -webkit-box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.2);
          box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.2);
}
.contact-form__wrapper input[type=text]::-webkit-input-placeholder, .contact-form__wrapper input[type=tel]::-webkit-input-placeholder {
  color: #afafaf;
}
.contact-form__wrapper input[type=text]::-moz-placeholder, .contact-form__wrapper input[type=tel]::-moz-placeholder {
  color: #afafaf;
}
.contact-form__wrapper input[type=text]:-ms-input-placeholder, .contact-form__wrapper input[type=tel]:-ms-input-placeholder {
  color: #afafaf;
}
.contact-form__wrapper input[type=text]::-ms-input-placeholder, .contact-form__wrapper input[type=tel]::-ms-input-placeholder {
  color: #afafaf;
}
.contact-form__wrapper input[type=text]::placeholder,
.contact-form__wrapper input[type=tel]::placeholder {
  color: #afafaf;
}
.contact-form__wrapper input {
  border: none;
  outline: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}
.contact-form__wrapper label {
  margin-top: 7px;
}
.contact-form__img {
  width: 100%;
  max-height: 340px;
  max-width: 780px;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  overflow: hidden;
  -o-object-position: bottom;
     object-position: bottom;
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
  position: absolute;
  top: 0;
  right: 0;
}

@media (max-width: 1560px) {
  .contact-form__img {
    max-width: 650px;
  }
}
@media (max-width: 1280px) {
  .contact-form__img {
    max-width: 500px;
  }
}
@media (max-width: 1024px) {
  .contact-form {
    max-height: none;
    background-color: white;
  }
  .contact-form .container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .contact-form__content {
    padding: 0;
  }
  .contact-form__content .title {
    font-weight: 700;
    font-size: 18px;
    text-align: center;
  }
  .contact-form__content .subtitle {
    font-size: 14px;
    margin-bottom: 0;
    text-align: center;
  }
  .contact-form__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 12px;
    padding: 24px 0;
  }
  .contact-form__img {
    display: none;
  }
}
