body {
  background: url('../images/bg.jpg');
  margin: 0;
  padding: 0;
  transition: all 1s ease-out;
}

.head,
.content,
.footer {
  margin: 0 auto;
  white-space: nowrap;
  width: 1440px
}

.head > div,
.content > div,
.footer > div {
  white-space: normal;
}

.head > div {
  box-sizing: border-box;
  height: 800px
}

.head_logo {
  width: 49%;
  display: inline-block;
  vertical-align: top;
  background: url('../images/logo.svg') no-repeat center;
}
.head_form {
  width: 49%;
  display: inline-block;
  vertical-align: top;
  padding: 135px 152px;
  background: url('../images/head-form-bg.png') no-repeat center;
}

.head_form_text {
  font: 400 30px/31px 'Andika';
  color: #fff
}
.head_form_phone {
  display: block;
  text-decoration: none;
  font: 700 52px/52px 'Azoft Sans';
  color: #fff;
  padding: 19px 0 10px;
}

.head_form_social {
  padding-bottom: 30px
}
.head_form_social > .social_icon:not(:last-child),
.big_card_block_social > .social_icon:not(:last-child) {
  margin-right: 12px
}
.social_icon,
a.social_icon,
a.social_icon:link,
a.social_icon:visited {
  text-decoration: none;
  display: inline-block;
  vertical-align: top;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.social_icon.telegram {
  background-image: url('../images/telegram.svg')
}
.social_icon.whatsapp {
  background-image: url('../images/whatsapp.svg')
}
.social_icon.viber {
  background-image: url('../images/viber.svg')
}
.social_icon.mail {
  background-image: url('../images/mail.svg')
}

.head_form_text {
  font: 400 30px/31px 'Andika';
  color: #fff
}
.m_menu {
  position: absolute;
  font: 400 16px/17px 'Andika';
  color: #6BB8FF;
  top: 50%;
  right: 10%;
  margin-top: -10px;
  cursor: pointer;
  display: none
}
.m_menu:hover {
  text-decoration: underline
}

.head_form_input {
  position: relative;
  margin: 24px 0
}
.big_card_block_input .error_block {
  box-shadow: 0px 0px 15px rgb(241 114 137 / 80%);
}

.error_block {
  display: none;
  background: linear-gradient(0deg, #FFFFFF, #FFFFFF), #2E4787;
  backdrop-filter: blur(6.66667px);
  padding: 13px 15px;
  height: 76px;
  width: 240px;
  border-radius: 12px;
  box-sizing: border-box;
  position: absolute;
  font: 400 20px/22px 'Andika';
  color: #F17289;
  z-index: 1
}
.error_block.right {
  top: 0;
  left: 100%;
  margin-left: 15px;
}
.error_block:before {
  content: '';
  display: block;
  position: absolute;
  width: 25px;
  height: 25px;
  transform: rotate(45deg);
  background: #fff;
  border-radius: 5px;
}
.error_block.right:before {
  top: 25px;
  left: -10px;
}
.error_block.top {
  left: 0;
  bottom: 100%;
  width: 100%;
  height: auto;
  padding-bottom: 18px;
  text-align: center;
  margin-bottom: 17px;
}
.error_block.top:before {
  left: 50%;
  bottom: -10px;
  margin-left: -13px;
}
.head_form_input > input {
  display: block;
  width: 400px;
  height: 76px;
  box-sizing: border-box;
  background: rgba(151, 174, 255, 0.1);
  backdrop-filter: blur(6.66667px);
  border-radius: 12px;
  font: 400 29px/76px 'Andika';
  color: #4B74B3;
  padding: 0 30px;
  outline: 0;
  border: 2px solid #1c2e53;
  transition: all 0.3s ease;
}
.head_form_input > input:hover {
  border-color: #7296F1
}
.head_form_input > input::placeholder {
  color: #4B74B3;
}
.head_form_input > input:focus::placeholder {
  color: #fff;
}
.head_form_input > input:focus {
  border-color: #fff;
  color: #fff
}
.head_form_input > input.error {
  border-color: #F17289;
  color: #F17289;
  box-shadow: 0px 0px 15px rgba(241, 114, 137, 0.8);
}
.head_form_submit,
input.head_form_submit {
  display: block;
  width: 400px;
  height: 80px;
  text-align: center;
  box-sizing: border-box;
  background: #2E4787;
  backdrop-filter: blur(6.66667px);
  border-radius: 12px;
  border: 0;
  outline: 0;
  font: 400 29px/80px 'Andika';
  color: #7D9DF0;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}
.head_form_submit:active {
  color: #fff
}
.head_form_submit:hover {
  background: linear-gradient(0deg, #4869BE, #4869BE), #2E4787;
  backdrop-filter: blur(6.66667px);
  color: #fff
}
.head_form_submit[disabled] {
  background: #2E4787;
  backdrop-filter: blur(6.66667px);
  color: #4869BE;
  cursor: default;
}

.cards_list {

}
.cards_list > .card_block:not(:last-child) {
  margin-right: 12px
}
.card_block {
  margin-bottom: 14px;
  display: inline-block;
  vertical-align: top;
  width: 345px;
  height: 455px;
  background: #fff;
  border-radius: 20px;
  padding: 327px 53px 0;
  font: 400 30px/31px 'Andika';
  text-align: center;
  color: #0F5596;
  background-repeat: no-repeat;
  box-sizing: border-box;
  background-position: 50% 32%;
}
.card_block.ogs {
  background-image: url('../images/ogs.svg');
}
.card_block.vs {
  background-image: url('../images/vs.svg');
}
.card_block.gt {
  background-image: url('../images/gt.svg');
}
.card_block.pp {
  background-image: url('../images/pp.svg');
}
.big_cards_list {

}
.big_cards_list > div {
  display: inline-block;
  vertical-align: top;
  margin-bottom: 14px
}
.big_cards_list > div:not(:last-child) {
  margin-right: 12px
}
.big_card_block {
  width: 706px;
  height: 616px;
  background: #fff;
  border-radius: 20px;
  padding: 60px;
  box-sizing: border-box;
}
.big_card_block_text {
  font: 400 30px/31px 'Andika';
  color: #0F5596;
  width: 520px;
}
.big_card_block_phone {
  display: block;
  text-decoration: none;
  padding: 39px  0 12px;
  font: 700 52px/52px 'Azoft Sans';
  color: #0F5596;
}

.big_card_block_input {
  position: relative;
  margin: 48px 0 24px
}
.big_card_block_input > input {
  display: block;
  width: 100%;
  height: 76px;
  box-sizing: border-box;
  background: #B3C8EC;
  border-radius: 12px;
  font: 400 29px/76px 'Andika';
  color: #4B74B3;
  padding: 0 30px;
  outline: 0;
  border: 2px solid #B3C8EC;
  transition: all 0.3s ease;
}
.big_card_block_input > input::placeholder {
  color: #4B74B3;
}
.big_card_block_input > input:hover {
  background: #DEEAFE;
  border-color: #DEEAFE
}
.big_card_block_input > input:focus,
.big_card_block_input > input:focus:hover {
  color: #2E4787;
  border-color: #2E4787;
  background: #fff;
}
.big_card_block_input > input.error,
.big_card_block_input > input.error:hover,
.big_card_block_input > input.error:focus,
.big_card_block_input > input.error::placeholder {
  color: #F17289;
  border-color: #F17289;
  background: #fff;
}
.middle_card_block {
  width: 345px;
  height: 616px;
  background: rgba(88, 128, 205, 0.35);
  mix-blend-mode: normal;
  backdrop-filter: blur(8px);
  border-radius: 20px;
  box-sizing: border-box;
  position: relative;
  background-repeat: no-repeat;
  background-position: 50% 15%;
}
.middle_card_block.new {
  background-image: url('../images/new.svg');
}
.middle_card_block.client {
  background-image: url('../images/client.svg');
}
.middle_card_block_text {
  position: absolute;
  bottom: 66px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 16px;
  font: 400 33px/37px 'Andika';
  text-align: center;
  color: #74AAE3;
}
.middle_card_block_text div {
  color: #fff
}

.footer {
  padding: 68px 0
}

.footer > div {
  display: inline-block;
  vertical-align: top;
  margin-bottom: 12px
}

.fotter_info {
  width: 706px;
  height: 400px;
  background: rgba(88, 128, 205, 0.35);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 107px 90px 0;
  box-sizing: border-box;
  margin-right: 12px;
}
.fotter_info_text {
  font: 400 20px/25px 'Andika';
  padding-bottom: 21px;
  color: #74A9E2
}
.fotter_info_text > a {
  text-decoration: none;
  font: 400 20px/25px 'Andika';
  color: #74A9E2
}
.fotter_map {
  width: 706px;
  height: 400px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.fotter_map_bg {
  position: absolute;
  background: #243D6B;
  opacity: 0.75;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(32, 50, 84, 0.35);
  backdrop-filter: blur(8px);
  display: none
}
.popup_body {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 710px;
  height: 400px;
  margin-left: -355px;
  margin-top: -200px;
  box-sizing: border-box;
  padding: 133px 55px;
  background: #fff;
  border-radius: 20px
}
.popup_body_title {
  font: 700 52px/52px 'Azoft Sans';
  color: #0F5596;
  padding-bottom: 20px;
}
.popup_body_text {
  font: 400 30px/31px 'Andika';
  color: #0F5596;
}
.popup_close {
  position: absolute;
  width: 25px;
  height: 25px;
  cursor: pointer;
  background: url('../images/close.svg') no-repeat center;
  right: 16px;
  top: 16px;
}



@media (max-width: 1440px) {
  .head,
  .content,
  .footer {
    margin: 0 12px;
    white-space: normal;
    width: 100%;
  }
  .head_logo {
    background-size: 90%
  }
  .head > div {
    height: auto;
  }
  .head_form {
    padding: 5%
  }
}

@media (max-width: 950px) {
  .head_form_submit,
  input.head_form_submit,
  .head_form_input > input {
    width: 100%
  }

}
@media (max-width: 650px) {
  .head_form {
     display: block;
     width: 100%;
     text-align: center;
  }
  .head {
    margin: 0
  }
  .cards_list {
    padding: 26px 0 0;
    text-align: center
  }
  .card_block {
    height: 380px;
    width: 46%;
    padding: 282px 26px 0;
    font-size: 27px;
    line-height: 23px;
    width: 46%
  }
  .cards_list > .card_block:nth-child(even) {
    margin-right: 0
  }
  .big_card_block {
    width: 100%
  }
  .big_cards_list > div,
  .big_cards_list > div:not(:last-child) {
    margin-right: 0;
  }
  .middle_card_block {
    width: 100%;
    display: block;
    background-size: 150px;
    background-position: 20px 20px;
    height: 212px;
    padding: 32px 26px 32px 30px;
  }
  .middle_card_block_text {
    position: relative;
    bottom: auto;
    text-align: left;
    font-size: 26px;
    line-height: 29px;
    padding: 30px 0 30px 161px;
  }
  .big_card_block_text {
    width: 100%
  }
  .big_cards_list {
    position: relative
  }
  .big_card_block {
    position: absolute;
    height: auto;
    bottom: 0;
  }
  .footer {
    padding: 0;
    margin: 0;
  }
  .fotter_info {
    width: 100%;
    background: none;
    backdrop-filter: none;
    text-align: center;
    padding: 30px;
    height: auto;
    margin: 0;
  }
  .fotter_map,
  .footer > div.fotter_map,
  .fotter_map iframe,
  .footer > div.fotter_map iframe {
    width: 100%;
    border-radius: 0;
    margin: 0;
  }
  .content {
    margin: 0;
    padding: 0 12px;
    box-sizing: border-box;
  }
  .popup_body {
    border-radius: 12px;
    width: 280px;
    margin-left: -140px;
    height: auto;
    padding: 40px 24px
  }
  .popup_body_title {
    font-size: 20px;
    line-height: 20px;
  }
  .popup_body_text {
    font-size: 12px;
    line-height: 13px;
  }
  .popup_close {
    width: 10px;
    height: 10px;
    right: 10px;
    top: 10px;
    background-size: contain;
  }
}
@media (max-width: 450px) {
  .head_logo,
  .head > div.head_logo {
    height: 200px;
    background-size: 37%;
    position: relative;
    width: 100%;
    background-position: 10%;
  }
  .m_menu {
    display: inline-block
  }
  .head_form {
    padding-left: 35px;
    padding-right: 35px;
  }
  .head_form_text {
    font-size: 17px;
    line-height: 20px;
    max-width: 250px;
    margin: 0 auto;
  }
  .head_form_phone {
    line-height: 35px;
    font-size: 34px;
  }
  .head_form_input > input {
    height: 55px;
    font-size: 20px;
    line-height: 55px;
    text-align: center;
  }
  .head_form_submit, input.head_form_submit {
    height: 55px;
    font-size: 20px;
    line-height: 55px;
    text-align: center;
  }
  .card_block {
    height: 176px;
    font-size: 14px;
    line-height: 15px;
    background-size: 50%;
    padding-top: 128px;
  }
  .card_block.gt {
    background-size: 30%;
  }
  .middle_card_block {
    background-size: 20%;
    height: 135px;
    background-position: 15% 50%;
    vertical-align: middle;
    line-height: 100px;
  }
  .middle_card_block_text {
    font-size: 14px;
    line-height: 15px;
    padding: 0 0 0 34%;
    display: inline-block;
  }
  .big_card_block {
    padding: 23px 15px 30px;
  }
  .big_card_block_text {
    font-size: 17px;
    line-height: 20px;
    text-align: center;
  }
  .big_card_block_phone {
    font-size: 30px;
    line-height: 30px;
    text-align: center;
    padding-top: 13px;
  }
  .big_card_block_social {
    text-align: center;
  }
  .big_card_block_social > .social_icon {
    width: 47px;
    height: 47px;
  }
  .big_card_block_input > input {
    font-size: 20px;
    line-height: 55px;
    height: 55px;
    text-align: center;
  }
  .big_card_block_input {
    margin: 16px 0 20px;
  }
  .big_cards_list > div:last-child {
    margin-bottom: 8px
  }
  .head_logo, .head > div.head_logo {
    height: 109px
  }
  .fotter_info_text {
    font-size: 12px;
    line-height: 15px;
  }
  .fotter_info_text > a {
    font-size: 12px;
    line-height: 15px;
  }
  .fotter_map,
  .footer > div.fotter_map,
  .fotter_map iframe,
  .footer > div.fotter_map iframe {
    height: 450px
  }
}
