.go-to-top:hover {
  background-color: #e84666;
  color: #fff;
}

body {
  background-color: #e3eff3;
}

.modal-window.modal-window_why {
  max-width: 550px;
  padding: 20px !important;
  line-height: normal;
}

.sublogo_stores {
  /*display: inline;*/
  display: none;
  margin-top: 2px;
}

/* FOR ALL */
.height100 {
  height: 100vh;
  position: relative;
}

.back_text {
  position: absolute;
  bottom: 0px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  font-weight: 600;
  font-size: 164px;
  opacity: 0.05;
  z-index: 7;
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
  height: 121px;
  line-height: 127px;
  cursor: default;
}

.button {
  font-weight: 300;
  font-weight: normal;
  font-size: 13px;
  width: 126px;
  padding-top: 10px;
  padding-bottom: 10px;
  border: 3px solid;
  text-align: center;
  position: absolute;
  bottom: 152px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
  z-index: 9;
}

.button:hover {
  -webkit-background-size: 110% 110%;
  background-size: 110% 110%;
  color: #000;
}

.main_button:hover {
  color: #fff;
}

.crossing_top, .crossing_bottom {
  font-weight: normal;
  text-align: center;
  width: 126px;
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 8;
}

.crossing_top {
  font-weight: 300;
  top: 0;
  height: 135px;
}

.crossing_bottom {
  font-weight: 300;
  bottom: 0;
  height: 121px;
}

.bottom_crossing_t1 {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  margin: 0 auto;
  font-size: 8px;
  padding-bottom: 3px;
  border-bottom: 3px solid #e84666;
}

.bottom_crossing_t2 {
  margin-top: 10px;
  font-size: 17px;
  padding: 0 6px;
}

.bottom_crossing_t1 {
  margin-top: 55px;
}

/* END FOR ALL */
.header_menu {
  margin-left: -52px;
}

.item_menu:hover, .header_phone:hover {
  color: #e84666;
}

.header_phone:hover .svg_phone, .header_mail:hover .svg_mail {
  fill: #e84666;
}

.has_submenu:hover .submenu {
  height: 100px;
}

.has_submenu:hover .arrow__left, .has_submenu:hover .arrow__right {
  background-color: #e84666;
}

.slider-menu {
  left: 30px;
  margin-top: -77px;
  color: #fff;
}

.slider-menu-desk {
  width: 162px;
}

.slider-menu-desk:hover a {
  width: 141px;
}

.slider-menu li:before {
  background: #fff;
}

.slider-menu li.black {
  color: #000;
}

.slider-menu li.black svg {
  stroke: #000;
}

.slider-menu li.black:before {
  background: #000;
}

.slider-menu-desk li:hover {
  color: #e84666;
}

.slider-menu-desk li:hover svg {
  stroke: #e84666;
}

.slider-menu-desk li:hover::before {
  background: #e84666;
}

.slider-menu-desk li.hover-black:hover {
  color: #000;
}

.slider-menu-desk li.hover-black:hover svg {
  stroke: #000;
}

.slider-menu-desk li.hover-black:hover::before {
  background: #000;
}

/* MAIN */
#main {
  z-index: 3;
  background-color: #000;
}

.darken {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.94)
}

.main_video_container {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

#main_video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.main_content {
  position: absolute;
  top: 45%;
  left: 50%;
  text-align: center;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.first_logo {
  width: 399px;
  height: 65px;
}

.title_line {
  margin: 18px auto;
  width: 75px;
  height: 4px;
  background-color: #e84666;
}

.second_logo {
  width: 119px;
  height: 32px;
}

.subtitle, .subtitle h1 {
  font-weight: 300;
  font-size: 24px;
  line-height: 1.33;
}

.subtitle p {
  margin: 0;
  margin-top: 35px;
  font-weight: 300;
}

.subtitle b {
  font-weight: 600;
}

.main_price {
  font-weight: 400;
  font-size: 70px;
  margin-top: 25px;
}

.main_price span:first-child {
  font-weight: 300;
  font-size: 35px;
  vertical-align: 3px;
}

.svg_rouble {
  margin-left: -21px;
  vertical-align: -13px;
  width: 77px;
  height: 73px;
  fill: #fff;
}

.svg_rouble_2 {
  margin-left: -5px;
  fill: #e84666;
  height: 50px;
  width: 50px;
  vertical-align: -8px;
}

.partner {
  font-weight: 300;
  font-size: 20px;
  margin-top: 60px;
  margin-left: 50px;
}

.partner span {
  vertical-align: -17px;
  margin-right: 13px;
}

.main_crossing_bottom {
  border: 3px solid #e84666;
  border-bottom: 0px;
}

.main_button, .template_button {
  border-color: #e84666;
  background: -webkit-gradient(linear, right top, left top, from(#e84666), to(#e84666));
  background: -webkit-linear-gradient(right, #e84666, #e84666);
  background: -o-linear-gradient(right, #e84666, #e84666);
  background: linear-gradient(to left, #e84666, #e84666);
  background-repeat: no-repeat;
  background-position: top;
  -webkit-background-size: 110% 0%;
  background-size: 110% 0%;
}

.further {
  font-size: 16px;
  -webkit-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
  position: relative;
  top: 40px;
  right: 2px;
}

.further_line {
  height: 28px;
  width: 1px;
  background-color: #E3EFF3;
  position: relative;
  top: 77px;
  left: 63px;
}

.main_crossing_bottom {
  border: 3px solid #e84666;
  border-bottom: 0px;
}

/* END MAIN */
/* works */
.works {
  -webkit-background-size: 100% 100%;
  background-size: 100% 100%;
  background-color: #0C1418;
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
  position: relative;
  height: 896px;
}

.work_crossing_top {
  border: 3px solid #e84666;
  border-top: 0px;
}

.work_crossing_bottom {
  border: 3px solid #fff;
  border-bottom: 0px;
}

.works_triangle_container {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.triangle {
  border: 896px solid #0C1418;
  border-left: 150vw solid #0C1418 !important;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  top: -100%;
  right: 0%;
  -webkit-transform: rotate(26deg);
  -ms-transform: rotate(26deg);
  transform: rotate(26deg);
  -webkit-transform-origin: right bottom;
  -ms-transform-origin: right bottom;
  transform-origin: right bottom;
  z-index: 0;
  -webkit-transition: linear .2s;
  -o-transition: linear .2s;
  transition: linear .2s;
}

.works_content {
  z-index: 1;
  padding-top: 170px;
  padding-bottom: 130px;
}

.slick-dots {
  z-index: 8;
}

.slider_subtitle {
  text-align: center;
  margin-bottom: 60px;
  font-size: 16px;
  font-weight: 300;
}

.slider_title img {
  margin: 0 auto;
  margin-bottom: 21px;
}

.slider_title--laptop, .slider_subtitle--laptop {
  display: none;
}

.slider_subtitle, .slider_subtitle--laptop {
  text-transform: uppercase;
}

.slider_container {
  margin: 0 auto;
  width: 1210px;
  height: 340px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.slider_left {
  font-weight: 300;
  width: 25%;
  line-height: 1.5;
}

.slider_left .slider_about_project {
  font-weight: 300;
}

.slider_left ul {
  list-style-type: disc;
  margin-left: 25px;
}

.slick-list {
  padding-bottom: 10px;
}

.work_price {
  margin-top: 6px;
}

.work_price_line {
  height: 1px;
  width: 233px;
  background-color: #fff;
}

.work_price:hover .work_price_line {
  -webkit-animation: line .5s ease-in-out;
  animation: line .5s ease-in-out;
}

@-webkit-keyframes line {
  from {
    width: 0;
  }

  to {
    width: 233px;
  }
}

@keyframes line {
  from {
    width: 0;
  }

  to {
    width: 233px;
  }
}

.desktop {
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
}

.slider_video_desktop {
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
  width: 500px;
  height: 284px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.video_desktop {
  cursor: pointer;
  width: -webkit-calc(100% - -1px);
  width: calc(100% - -1px);
  height: -webkit-calc(100% - -1px);
  height: calc(100% - -1px);
  -o-object-fit: cover;
  object-fit: cover;
}

.img_slider_phone {
  cursor: pointer;
}

.caption {
  margin-top: 10px;
  font-weight: 300;
  text-align: center;
  display: block;
  position: relative;
}

.slider_list_title {
  font-weight: 500;
  font-size: 17px;
}

.caption::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 87px;
  width: 6px;
  height: 6px;
  background-color: #e84666;
}

.active_mobile .caption, .active_desktop .caption {
  display: none;
}

.mobile {
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
  width: 25%;
}

.slider_video_mobile {
  width: 134px;
  margin: 0 auto;
}

.slider_video_mobile img:first-child {
  width: 115px;
  margin: 0 auto;
  position: absolute;
}

.inactive {
  cursor: pointer;
}

.inactive_mobile, .inactive_desktop {
  cursor: pointer;
  height: 0px;
}

.inactive_desktop .video_desktop {
  display: none;
}

.img_poster {
  cursor: pointer;
  width: -webkit-calc(100% - -1px);
  width: calc(100% - -1px);
  height: -webkit-calc(100% - -1px);
  height: calc(100% - -1px);
  position: absolute;
  -o-object-fit: cover;
  object-fit: cover;
  opacity: 1;
  -webkit-transition: .8s;
  -o-transition: .8s;
  transition: .8s;
}

.active_desktop .video_desktop {
  display: block;
}

.inactive_desktop .slider_video_desktop img {
  display: block;
  width: 100%;
  height: 100%;
}

.active_desktop .slider_video_desktop img:first-child {
  display: none;
}

.image_inact {
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
}

.inactive_mobile .image_inact {
  display: block;
}

.inactive_mobile .img_slider_phone {
  display: none;
}

.active_mobile .slider_video_mobile {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  width: 185px;
}

.inactive_mobile .video_mobile {
  display: none;
}

.inactive_mobile_0 .slider_video_mobile {
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
}

.active_mobile .video_mobile {
  display: block;
  /* width: 154px; */
  /* height: 334px; */
  position: relative;
  top: 17px;
  left: 19px;
}

.active_mobile .slider_video_mobile img:first-child {
  z-index: 1;
  width: 184px;
  height: 350px;
}

.active_mobile .image_inact {
  display: none;
}

.active_mobile {
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
  position: relative;
  left: -454px;
}

.inactive_desktop {
  min-width: 310px;
}

.inactive_desktop {
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
  position: relative;
  left: 450px;
}

.inactive_desktop .slider_video_desktop {
  margin: 0 auto;
  width: 191px;
  height: 134px;
}

.works_button, .marketing_button {
  border: 3px solid #fff;
  background: -webkit-gradient(linear, right top, left top, from(#fff), to(#fff));
  background: -webkit-linear-gradient(right, #fff, #fff);
  background: -o-linear-gradient(right, #fff, #fff);
  background: linear-gradient(to left, #fff, #fff);
  background-repeat: no-repeat;
  background-position: top;
  -webkit-background-size: 110% 0%;
  background-size: 110% 0%;
}

.works_button {
  position: initial;
  left: initial;
  margin: 0 auto;
  display: block;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  margin-top: 20px;
}

/* end works */
/* template */
.template {
  background-color: #e3eff3;
  color: #000;
  height: auto;
}

.template_crossing_top {
  border: 3px solid #000;
  border-top: 0px;
}

.template_top {
  position: relative;
  padding-top: 155px;
  z-index: 2;
}

.template_top_line {
  width: 100%;
  height: 40px;
  background-color: #e84666;
  position: absolute;
  top: 227px;
}

.top_line_left {
  right: 50%;
}

.top_line_right {
  left: 50%;
}

.top_line_overflow {
  overflow-x: hidden;
  width: 100%;
  height: 40px;
  position: absolute;
  top: 227px;
}

.top_line_left, .top_line_right {
  background-color: #e84666;
  height: 40px;
  position: absolute;
}

.template_top_block {
  width: 530px;
  height: 180px;
  background-color: #fff;
  margin: 0 auto;
  text-align: center;
}

.template_top_block h3 {
  font-weight: 500;
  font-size: 30px;
  padding-top: 30px;
  /* padding-bottom: 20px; */
}

.center_price {
  font-weight: 400;
  font-size: 50px;
  color: #e84666;
  margin-left: 17px;
}

.left_line, .right_line {
  width: 30px;
  height: 3px;
  background-color: #e84666;
  display: inline-block;
  margin-top: 31px;
  -webkit-transition: linear .2s;
  -o-transition: linear .2s;
  transition: linear .2s;
}

.template_top_button {
  margin: 0 auto;
  width: 89px;
  font-weight: 400;
  padding-bottom: 4px;
  padding-top: 12px;
}

.template_top_button_line {
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
  margin-top: 4px;
  width: 89px;
  height: 1px;
  background-color: #000;
}

.template_top_button:hover .template_top_button_line {
  -webkit-animation: line_2 .5s ease-in-out;
  animation: line_2 .5s ease-in-out;
}

@-webkit-keyframes line_2 {
  from {
    width: 0;
  }

  to {
    width: 89px;
  }
}

@keyframes line_2 {
  from {
    width: 0;
  }

  to {
    width: 89px;
  }
}

.calculator {
  text-align: center;
  font-weight: 400;
  padding-bottom: 140px;
}

.calculator_title {
  margin: 12px;
  font-size: 20px;
  font-weight: 500;
}

.calculator_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  width: 1098px;
  margin: 0 auto;
  margin-bottom: 17px;
}

.calculator_block {
  width: 210px;
  height: 257px;
  background-color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  line-height: 1.33;
}

.calculator_block:nth-child(1) img:first-child {
  margin-left: 50px;
}

.calculator_block:nth-child(2) img {
  margin-top: 25px;
  height: 65px;
}

.calculator_block:nth-child(3) img:first-child {
  margin-left: 38px;
}

.calculator_block:nth-child(4) img:first-child {
  margin-left: 38px;
}

.calculator_block:nth-child(5) img:first-child {
  margin-left: 23px;
}

.calculator_block img {
  margin-top: 10px;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  -webkit-align-self: center;
  align-self: center;
  height: 90px;
}

.block_text {
  font-size: 18px;
  width: 70%;
  margin: 0 auto;
}

.block_button {
  width: 31px;
  height: 31px;
  border: 2px solid #e84666;
  margin: 0 auto;
  margin-bottom: 15px;
  cursor: pointer;
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
  background-color: #fff;
}

.block_button::before {
  content: '+';
  display: block;
  position: relative;
  top: -3px;
  left: 0;
  color: #e84666;
  font-size: 28px;
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
  z-index: 1;
}

.block_button:hover {
  background-color: #e84666;
}

.block_button:hover::before {
  color: #fff;
}

.calc_active {
  background-color: #e84666;
  color: #fff;
}

.calc_active .block_button {
  background-color: #fff;
}

.calc_active .block_button::before {
  content: '';
}

.check {
  display: none;
}

.calc_active .check {
  display: block;
  width: 8px;
  height: 13px;
  border-right: 2px solid #e84666;
  border-bottom: 2px solid #e84666;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  position: relative;
  top: 5px;
  left: 10px;
}

.calc_active .block_button:hover::before {
  color: #e84666;
}

.calc_img_act {
  display: none;
}

.calc_active .calc_img_act {
  display: block;
}

.calc_active img:first-child {
  display: none;
}

.calculator_subtitle {
  font-size: 24px;
  margin-bottom: 10px;
}

.price_block {
  margin-bottom: 10px;
  color: #e84666;
  font-weight: 500;
}

.price_block span:first-child {
  font-weight: 400;
  opacity: 0;
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
  font-size: 20px;
  vertical-align: 3px;
  margin-right: 10px;
}

.price_block span:last-child, .price_block span.price {
  font-size: 30px;
  vertical-align: bottom;
}

.old_price {
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
  opacity: 0;
  font-size: 20px;
  text-decoration: line-through;
  color: #666;
}

.left_block_why {
  position: absolute;
  left: 50%;
  width: 156px;
  height: 83px;
  margin-left: -263px;
  margin-top: 22px;
  z-index: 5;
  display: none;
}

.left_block_why img {
  position: absolute;
  right: 0;
  top: 0;
}

.left_block_why .why_div {
  position: absolute;
  bottom: 0;
  width: 105px;
}

.why_line_hover {
  height: 2px;
  width: 100%;
  background-color: #919191;
  margin-top: 2px;
}

.left_block_why .why_div:hover .why_line_hover {
  -webkit-animation: line_why .5s ease-in-out;
  animation: line_why .5s ease-in-out;
}

@-webkit-keyframes line_why {
  from {
    width: 0;
  }

  to {
    width: 105px;
  }
}

@keyframes line_why {
  from {
    width: 0;
  }

  to {
    width: 105px;
  }
}

.left_block_why .why_link {
  font-size: 20px;
  color: #919191;
}

.complex {
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
  opacity: 0;
  width: 210px;
  text-align: left;
  position: relative;
  margin: 0 auto;
  line-height: 1.6;
  top: -59px;
  left: 230px;
}

.complex div:first-child {
  color: #e84666;
  font-size: 20px;
}

.complex div:last-child {
  font-size: 20px;
  color: #666;
}

.template_crossing_bottom {
  border: 3px solid #e84666;
  border-bottom: 0px;
}

.template_crossing_bottom .further_line {
  background-color: #000;
}

.template_button {
  border-color: #e84666;
  color: #e84666;
}

.template_button:hover {
  color: #fff;
}

#popup_order, .popup_order_marketing {
  font-weight: 400;
  width: 355px;
  color: #000;
  padding: 35px;
  line-height: 1.13;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.modal-window.fancybox-content.popup_order_marketing {
  padding: 35px;
}



.popup_order form, .popup_order_marketing form {
  position: relative;
}

.popup_order label {
   z-index: 0;
}

label.order_placeholder_phone {
  top: 9px;
}

input.order_button {
  color: #000;
  cursor: pointer;
  height: 35px;
  transition: .5s;
  background: -webkit-gradient(linear, right top, left top, from(#000), to(#000));
  background: -webkit-linear-gradient(right, #000, #000);
  background: -o-linear-gradient(right, #000, #000);
  background: linear-gradient(to left, #000, #000);
  background-repeat: no-repeat;
  background-position: top;
  -webkit-background-size: 110% 0%;
  background-size: 110% 0%;
}

input.order_button:hover {
  color: #fff;
  -webkit-background-size: 110% 110%;
  background-size: 110% 110%;
}

.order_title {
  font-size: 18px;
  text-align: left;
  margin-bottom: 5px;
}

.order_modal_price, .order_modal_name {
  display: inline-block;
  font-size: 16px;
}

.order_modal_name {
  text-align: left;
  width: 50%;
  margin-left: 10px;
}

.order_modal_price {
  color: #e84666;
  text-align: right;
  width: 44%;
}

.order_addition_title {
  margin-top: 10px;
  margin-bottom: 5px;
}

.order_total {
  margin-bottom: 14px;
  display: inline-block;
  font-size: 20px;
  text-align: left;
  width: 50%;
}

.order_total_price {
  margin-bottom: 14px;
  color: #e84666;
  display: inline-block;
  font-size: 20px;
  text-align: right;
  width: 47%;
}

.order_modal_line {
  width: 350px;
  height: 1px;
  margin: 6px auto;
  background-color: #999;
}

#popup_template {
  width: 550px;
  padding: 20px 30px;
  background-color: #fff;
  color: #000;
  line-height: 1.33;
  font-weight: 400;
}

/*
.fancybox-inner{
  background: #fff;
} */
#popup_template ul {
  list-style-type: disc;
  margin-left: 40px;
}

#popup_template li {
  font-size: 18px;
}

#popup_template p:first-child {
  font-weight: 500;
  font-size: 25px;
  margin-bottom: 10px;
  line-height: 1.2;
}

#popup_template p:last-child {
  text-align: center;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 400;
}

/* end template */
/* marketing */
.marketing {
  background-image: url(../../img/pattern.jpg);
  background-repeat: repeat;
  position: relative;
  font-weight: 300;
  z-index: 3;
  background-color: #000;
}

.marketing_crossing_top {
  border: 3px solid #fff;
  border-top: 0px;
}

.marketing .bottom_crossing_t1 {
  border-bottom: 3px solid #000;
}

.marketing_block {
  margin: 170px 0;
}

.marketing_description {
  position: relative;
  z-index: 3;
  display: inline-block;
}

.marketing_title {
  width: 290px;
  margin: 0 auto;
  padding-top: 188px;
  font-size: 24px;
  text-align: center;
  line-height: 1.45;
}

.crm_desc {
  width: 860px;
  margin: 0 auto;
  padding-top: 188px;
  font-size: 22px;
  text-align: left;
  line-height: 1.45;
}

.marketing_container {
  width: 900px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 200px;
}

.marketing_block:nth-child(2) .marketing_description {
  position: absolute;
  right: 0;
}

.marketing_block:nth-child(2) .marketing_description .description_title {
  text-align: right;
}

.description_title {
  font-size: 40px;
}

.description_border {
  margin-top: 20px;
  border: 2px solid #fff;
}

.description_block {
  font-size: 17px;
  width: 283px;
  height: 100px;
  background-color: #000;
  line-height: 1.6;
  margin: 20px 30px;
  padding: 20px 30px;
}

.description_block div {
  width: 85%;
}

.marketing_block:nth-child(2) .marketing_video_container {
  margin-top: 49px;
  margin-left: 140px;
}

.marketing_video_container {
  width: 440px;
  height: 280px;
  display: inline-block;
  position: relative;
  margin-left: -59px;
  margin-top: 12px;
  z-index: 0;
}

.marketing_video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.marketing_triangle {
  border-left: 100vw solid #e84666;
  border-top: 0vh solid #e84666;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  top: 0%;
  right: 0%;
  -webkit-transform-origin: right;
  -ms-transform-origin: right;
  transform-origin: right;
  z-index: -1;
  -webkit-transition: linear .2s;
  -o-transition: linear .2s;
  transition: linear .2s;
}

.marketing_crossing_bottom {
  border: 3px solid #fff;
  border-bottom: 0px;
}

/* end marketing */
/* FOOTER */
.pixels_block {
  -webkit-transition: 3s;
  -o-transition: 3s;
  transition: 3s;
  width: 100%;
  height: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  position: absolute;
  -webkit-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  transform: translateY(-100%);
  z-index: 0;
  display: none;
}

.pixels_block img {
  width: 35%;
}

.pixels {
  width: 35%;
  height: 604px;
  background-image: url(../../img/left_pixels_block.png);
  -webkit-background-size: contain;
  background-size: contain;
  background-repeat: no-repeat;
}

.towers_block {
  width: 100%;
  height: 554px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  position: absolute;
  bottom: 50px;
  z-index: 0;
  opacity: 1;
}

.towers {
  width: 29%;
  height: 554px;
  background-image: url(../../img/pixel_tower.png);
  -webkit-background-size: contain;
  background-size: contain;
  background-repeat: no-repeat;
}

.towers:nth-child(2) {
  -webkit-transform: scale(-1, 1);
  -ms-transform: scale(-1, 1);
  transform: scale(-1, 1);
}

.pixels:last-child {
  background-image: url(../../img/right_pixels_block.png);
}

.contacts {
  background-color: #e3eff3;
  font-weight: 300;
  position: relative;
  color: #000;
  height: auto;
  line-height: 1.33;
}

.contact_container {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  margin-top: 40px;
  /* padding-bottom: 80px; */
  text-align: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.top_contact {
  text-align: center;
  line-height: 1.8;
  margin-bottom: 39px;
}

.contact_phone a, .mail a {
  margin-left: -5px;
  font-weight: 400;
  vertical-align: 11px;
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
}

.contact_phone a {
  font-size: 29px;
  margin-left: -7px;
}

.mail a {
  font-size: 26px;
}

.contact_phone a::before {
  content: "";
  background-image: url(../../img/contact_icon_phone.png);
  display: inline-block;
  margin-right: 15px;
  vertical-align: -12px;
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
  width: 22px;
  height: 40px;
}

.contact_phone a:hover, .mail a:hover {
  color: #e84666;
}

.contact_phone a:hover::before {
  background-image: url(../../img/icon_phone_hover.png);
}

.mail a:hover::before {
  background-image: url(../../img/icon_mail_hover.png);
}

.mail a::before {
  content: '';
  background-image: url(../../img/icon_mail.png);
  width: 22px;
  height: 17px;
  display: inline-block;
  margin-right: 15px;
  vertical-align: 0px;
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
}

.third {
  font-weight: 400;
  font-size: 24px;
  padding-bottom: 49px;
  max-width: 410px;
  width: 70%;
  margin: 0 auto;
}

.contact_container .form_container {
  font-weight: 300;
  font-size: 20px;
  color: #fff;
}

.contact_container .form_title {
  margin-top: 15px;
  margin-bottom: 15px;
  font-weight: 400;
}

.contact_container .form_container {
  width: 380px;
  margin: 0 auto;
  background-color: #0c1418;
  border: 2px solid #fff;
  outline: 13px solid #0c1418;
  position: relative;
  z-index: 1;
}

.contact_container textarea {
  color: #fff;
}

.contact_container .form_container input {
  color: #fff;
}

.contact_container .form_container input.form_button:hover {
  color: #000;
}

.contacts_crossing_top {
  border: 3px solid #000;
  border-top: 0px;
  color: #000;
  display: none;
}

footer {
  font-weight: 300;
  width: 100%;
  position: relative;
  background-color: #0c1418;
  bottom: 0;
  z-index: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.footer_top {
  color: #666;
  font-size: 16px;
  width: 78px;
  margin: 0 auto;
  margin-bottom: 10px;
}

.footer_top a {
  color: rgba(255, 255, 255, 0.89);
}

.footer_line {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.89);
}

.footer_top:hover .footer_line {
  -webkit-animation: line_3 .5s ease-in-out;
  animation: line_3 .5s ease-in-out;
}

@-webkit-keyframes line_3 {
  from {
    width: 0;
  }

  to {
    width: 78px;
  }
}

@keyframes line_3 {
  from {
    width: 0;
  }

  to {
    width: 78px;
  }
}

@media screen and (max-width: 1650px) {

  /* FOR ALL */
  .crossing_top {
    height: 115px;
  }

  .crossing_bottom {
    height: 100px;
  }

  .bottom_crossing_t2 {
    margin-top: 10px;
    font-size: 17px;
  }

  .bottom_crossing_t1 {
    margin-top: 41px;
  }

  .further {
    top: 32px;
  }

  .further_line {
    height: 23px;
    top: 61px;
  }

  .back_text {
    font-size: 143px;
    height: 102px;
    line-height: 105px;
  }

  .button {
    bottom: 117px;
  }

  /* END FOR ALL */
  /* MAIN */
  .main_content {
    top: 40%;
  }

  .partner {
    margin-top: 10px;
  }

  .works_content {
    padding-top: 180px;
  }

  .works {
    height: 749px;
  }

  .triangle {
    border: 749px solid #0C1418;
  }

  .slider_title img {
    margin-bottom: 6px;
  }

  .slider_subtitle {
    margin-bottom: 20px;
  }

  .slider_title, .slider_subtitle {
    display: none;
  }

  .slider_title--laptop, .slider_subtitle--laptop {
    display: block;
  }

  /* END MAIN */
  /* CALCULATOR */
  .calculator {
    padding-bottom: 105px;
  }

  /* END CALCULATOR */
  /* FOOTER */
  .top_contact {
    margin-bottom: 10px;
  }

  .third {
    font-size: 20px;
    padding-bottom: 39px;
  }

  /* END FOOTER */
}

@media screen and (max-width: 1450px) {

  /* MAIN */
  .svg_rouble {
    margin-left: -16px;
    vertical-align: -11px;
    width: 63px;
    height: 63px;
  }

  .title_line {
    margin: 10px auto;
  }

  .subtitle, .subtitle h1 {
    font-size: 20px;
  }

  .subtitle p {
    margin: 0;
    margin-top: 15px;
  }

  .main_price {
    font-size: 60px;
    margin-top: - 15px;
  }

  /* END MAIN */
  /* WORKS */
  .works {
    height: 729px;
  }

  .triangle {
    border: 729px solid #0C1418;
  }

  .active_desktop {
    min-width: 400px;
  }

  .slider_video_desktop {
    width: 400px;
    height: 228px;
  }

  .slider_container {
    width: 1010px;
    height: 340px;
  }

  .slider_subtitle {
    margin-bottom: 10px;
  }

  .caption::before {
    left: 60px;
  }

  .slider_left a {
    top: 10px;
  }

  .works_content {
    padding-top: 160px;
  }

  .active_mobile {
    left: -381px;
  }

  .inactive_desktop .caption::before {
    left: 87px;
  }

  .inactive_desktop {
    left: 350px;
  }

  /* END WORKS */
  /* template */
  .template_top_block {
    width: 430px;
    height: 160px;
  }

  .template_top_button {
    padding-top: 0px;
  }

  .template_top_block h3 {
    font-size: 23px;
    padding-top: 20px;
    padding-bottom: 15px;
  }

  /* END template */

}

@media screen and (max-width: 1240px) {

  /* CALCULATOR */
  .calculator_container {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 680px;
  }

  .calculator_block {
    margin-left: 8px;
    margin-right: 8px;
    margin-bottom: 15px;
  }

  /* CALCULATOR */
}

@media screen and (max-width: 1079px) {

  /* WORKS */
  .slider_video_desktop {
    -webkit-transition: 0s;
    -o-transition: 0s;
    transition: 0s;
  }

  /* WORKS */
}

@media screen and (max-width: 1070px) {

  /* WORKS */
  .slider_left {
    margin-left: 40px;
  }

  /* WORKS */
}

@media screen and (max-width: 1041px) {

  /* MAIN */
  .partner {
    margin-left: 0;
  }

  .partner span {
    margin-right: 0px;
    display: block;
    margin: 0 auto;
  }

  .partner img {
    margin-top: 10px;
  }

  /* END MAIN */
}

@media screen and (max-width: 992px) {
  .slider-menu {
    display: none;
  }

  .slick-list {
    padding-bottom: 40px;
  }

  /* .works {
    height: 1150px;
  } */
  .works_button {
    margin-top: 40px;
  }

  .slick-prev, .slick-next {
    bottom: -25px;
  }

  .slick-dots {
    bottom: -28px;
  }

  .works_triangle_container {
    display: none;
  }

  .slider_title, .slider_subtitle {
    display: block;
  }

  .slider_title--laptop, .slider_subtitle--laptop {
    display: none;
  }

  .slider_title img, .slider_subtitle {
    margin-bottom: 15px;
  }

  .slider_container {
    display: block;
    height: 490px;
    width: 80%;
  }

  .desktop, .mobile {
    -webkit-transition: 0s;
    -o-transition: 0s;
    transition: 0s;
    margin: 0 auto;
    display: inline-block;
  }

  .desktop {
    margin-left: 10%;
    width: 400px;
  }

  .slider_left {
    margin: 0 auto;
    width: 300px;
    margin-bottom: 40px;
  }

  .active_mobile .slider_video_mobile img:first-child {
    width: 158px;
    height: 302px;
    left: -9px;
    top: -7px;
  }

  .active_mobile .video_mobile {
    width: 135px;
    height: 268px;
    top: 7px;
    left: 4px;
  }

  .inactive_desktop {
    left: 250px;
  }

  .mobile_inact_text, .desktop_inact_text {
    width: 130px;
    margin: 0 auto;
    margin-top: 10px;
  }

  .mobile_inact_text.caption:before, .desktop_inact_text.caption:before {
    left: 0px;
  }
}

@media screen and (max-width: 950px) {

  /* FOR ALL */
  .back_text {
    font-size: 123px;
    height: 86px;
    line-height: 91px;
  }

  /* END FOR ALL */
  /* FOOTER */
  .pixels_block, .towers_block {
    display: none;
  }

  /* END FOOTER */
}

@media screen and (max-width: 923px) {

  /* MARKETING */
  .description_block {
    width: 160px;
    height: auto;
  }

  .marketing_container {
    width: 700px;
  }

  .marketing_block:nth-child(2) .marketing_video_container {
    margin-left: 0;
  }

  .crm_desc {
  width: 650px;
  font-size: 20px;

}
  /* END MARKETING */
}

@media screen and (max-width: 826px) {

  /* FOR ALL */
  .back_text {
    display: none;
  }

  /* END FOR ALL */
  /* WORKS */
  .works_content {
    padding-top: 160px;
    padding-bottom: 130px;
  }

  .works {
    -webkit-background-size: cover;
    background-size: cover;
    background-position: 0px 170px;
    background-repeat: no-repeat;
    height: auto;
  }

  .slider_title img {
    margin-bottom: 10px;
    height: 33px;
  }

  .slider_subtitle {
    margin-bottom: 29px;
    font-size: 15px;
  }

  .work_price {
    margin: 7px auto;
    width: 251px;
  }

  .slider_left {
    margin-bottom: 25px;
  }

  .mobile {
    display: none;
  }

  .desktop {
    margin: 0 auto;
    display: block;
  }

  .slider_video_desktop {
    width: 350px;
    height: 199px;
  }

  .slick-dots {
    bottom: -41px;
  }

  .slick-prev, .slick-next {
    bottom: -38px;
  }

  .desktop {
    width: 350px;
  }

  .active_desktop {
    min-width: 350px;
  }

  .slider_container {
    height: auto;
  }

  /* WORKS */
  /* CALCULATOR */
  .calculator_block {
    width: 400px;
    height: 77px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-border-radius: 40px;
    border-radius: 40px;
  }

  .block_button {
    margin: 0;
    margin-right: 30px !important;
  }

  .block_text {
    width: 40%;
  }

  .calculator_block img {
    margin-left: 30px !important;
    margin-top: 0;
    height: 60px;
  }

  .calculator_block:nth-child(2) img {
    margin-left: 23px;
    margin-top: 2px;
    height: 46px;
  }

  .calculator_block:nth-child(5) img:nth-child(2) {
    height: 50px;
    margin-top: -4px;
  }

  /* END CALCULATOR */
}

@media screen and (max-width: 725px) {

  /* MARKETING */
  .marketing_block {
    margin: 120px 0;
  }

  .marketing_container {
    width: 560px;
  }

  .marketing_video_container {
    width: 330px;
    height: 210px;
  }

  .marketing_block:nth-child(2) .marketing_video_container {
    margin-top: 139px;
  }

  /* END MARKETING */
}

@media screen and (max-width: 698px) {

  /* .modal-window{
    width: auto;
  } */
  #popup_template {
    width: auto;
  }

  .complex {
    margin-top: 10px;
    top: 0;
    left: 0;
    line-height: 1.33;
    text-align: center;
    position: inherit;
    display: none;
    opacity: 1;
  }

  .old_price {
    display: none;
    opacity: 1;
  }

  .calculator {
    padding-bottom: 170px;
  }
  
  .crm_desc {
  width: 560px;
  font-size: 20px;
}
}

@media screen and (max-width: 685px) {
  .works {
    -webkit-background-size: cover;
    background-size: cover;
    background-position: 0px 170px;
    background-repeat: no-repeat;
  }

  .calculator_container {
    width: 460px;
  }

  .template_top_block {
    width: 430px;
    height: 160px;
  }

  .template_top_block h3 {
    padding-bottom: 4px;
  }
}

@media screen and (max-width: 674px) {
  .slider_container {
    width: 90%;
  }
}

@media screen and (max-width: 599px) {
  .inactive_desktop {
    left: 190px;
  }
}

@media screen and (max-width: 573px) {
  .marketing_container {
    width: 400px;
    padding-bottom: 100px;
  }

  .marketing_video_container {
    margin-left: 0;
  }

  .marketing_block {
    position: relative;
    margin: 110px 0;
  }

  .marketing_description {
    position: absolute;
  }

  .marketing_video_container, .marketing_block:nth-child(2) .marketing_video_container {
    margin-top: 252px;
    width: 100%;
  }

  .description_title {
    text-align: center !important;
  }

  .description_block {
    width: auto;
    height: auto;
    margin: 15px 15px;
  }

  .description_border {
    margin: 0 auto;
    margin-top: 20px;
  }

  .marketing_container {
    width: 300px;
  }
  
  .crm_desc {
  width: 400px;
  font-size: 20px;
}

}

@media screen and (max-width: 557px) {
  .first_logo {
    width: 330px;
    height: 56px;
  }

  .second_logo {
    width: 100px;
    height: 27px;
  }

  .left_block_why {
    width: 106px;
    margin-left: -210px;
  }
}

@media screen and (max-width: 525px) {
  .slider-menu {
    left: 13px;
  }

  .desktop {
    display: block;
    margin: 0 auto;
  }

  #popup_order, .popup_order_marketing {
    width: 280px;
    padding: 19px 13px;
  }

  .order_total {
    width: 40%;
  }

  .order_total_price {
    width: 57%;
  }

  .order_modal_line {
    width: 260px;
  }
}

@media screen and (max-width: 500px) {
  .svg_rouble_2 {
    margin-left: -6px;
    margin-top: -2px;
    width: 37px;
    height: 37px;
  }

  .calculator_container {
    width: 96%;
  }

  .block_text {
    font-size: 16px;
  }

  .template_top_block h3 {
    font-size: 18px;
  }

  .center_price {
    font-size: 35px;
  }

  .left_line, .right_line {
    margin-top: 20px;
  }

  .template_top_block {
    width: 320px;
    height: 130px;
  }

  .top_line_overflow {
    top: 205px;
  }
}

@media screen and (max-width: 475px) {
  .contact_container .form_container {
    width: -webkit-calc(100% - 68px);
    width: calc(100% - 68px);
  }

  .first_logo {
    width: 240px;
    height: 41px;
  }

  .svg_rouble {
    margin-left: -15px;
    vertical-align: -10px;
    width: 55px;
    height: 55px;
  }

  .second_logo {
    width: 120px;
    height: 32px;
  }

  .subtitle, .subtitle h1 {
    font-size: 20px;
  }

  .main_price {
    font-size: 50px;
  }
}

@media screen and (max-width: 450px) {
  .left_block_why img {
    width: 29px;
  }

  .left_block_why {
    height: 50px;
    width: 59px;
    margin-left: -156px;
  }

  .left_block_why .why_link {
    font-size: 16px;
  }

  .left_block_why .why_div {
    width: 84px;
    right: -4px;
  }
}

@media screen and (max-width: 417px) {
  #popup_template h5 {
    font-size: 20px;
  }

  #popup_template li {
    font-size: 16px;
  }

  .calculator_block {
    width: 96%;
    height: 77px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-border-radius: 40px;
    border-radius: 40px;
  }

  .block_text {
    font-size: 16px;
    width: 200px;
    margin: 0;
  }

  #popup_order, .popup_order_marketing {
    width: 260px;
    padding: 15px 10px;
  }

  .order_modal_line {
    width: 200px;
  }
  

}

@media screen and (max-width: 392px) {
  .works {
    height: auto;
  }

  .slider_container {
    height: 510px;
  }

  .svg_rouble {
    margin-left: -15px;
    vertical-align: -9px;
    width: 42px;
    height: 42px;
  }

  .first_logo {
    width: 240px;
  }

  .second_logo {
    width: 120px;
  }

  .logo img {
    width: 200px;
    margin-top: 5px;
  }

  .main_price span:first-child {
    font-size: 23px;
  }

  .title_line {
    margin: 9px auto;
  }

  .main_price {
    font-size: 35px;
  }

  .subtitle, .subtitle h1 {
    font-size: 17px;
  }

  .partner {
    font-size: 16px;
  }

  .partner img {
    width: 180px;
  }

  .block_text {
    width: 150px;
  }

  .marketing_container {
    width: 88%;
  }

  .marketing_video_container {
    width: 100%;
  }

  .slider_video_desktop {
    width: 300px;
    height: 170px;
  }

  .desktop {
    width: 300px;
  }

  .active_desktop {
    min-width: 300px;
  }
  
  .crm_desc {
  width: 250px;
  font-size: 16px;
}
}

@media screen and (max-width: 358px) {
  .calculator_block img {
    display: none !important;
  }

  .block_text {
    margin-left: 40px;
    text-align: left;
  }

  .left_block_why .why_div {
    width: 84px;
    right: -14px;
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
  }

  .left_block_why {
    height: 87px;
  }
}

@media screen and (max-width: 350px) {
  .main_price {
    margin-top: -20px;
  }

  .second_logo {
    width: 90px;
    height: 24px;
  }

  .first_logo {
    width: 210px;
    height: 34px;
  }

  .title_line {
    width: 55px;
    height: 2px;
  }

  #popup_order, .popup_order_marketing {
    width: 270px;
    padding: 15px 10px;
  }
}

@media screen and (max-width: 330px) {
  .crossing_bottom {
    height: 76px;
  }

  .further_line {
    display: none;
  }

  .button {
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .button {
    bottom: 87px;
  }

  .calculator {
    padding-bottom: 130px;
  }
}

@media screen and (min-width: 1650px) and (max-height: 920px) {
  .slider_subtitle {
    margin-bottom: 20px;
  }
}

@media screen and (min-width: 1650px) and (max-height: 839px) {
  .works {
    height: 839px;
  }

  .triangle {
    border: 839px solid #0C1418;
    border-left: 100vw solid #0C1418;
  }
}

@media screen and (min-width: 1650px) and (max-height: 811px) {
  .title_line {
    margin: 7px auto;
    height: 3px;
  }

  .subtitle p {
    margin-top: 9px;
  }

  .main_price {
    margin-top: 0px;
  }

  .subtitle h1 {
    margin-bottom: 0px;
  }

  .partner {
    margin-top: 0px;
  }

  .main_content {
    top: 38%;
  }
}

@media screen and (min-width: 1650px) and (max-height: 607px) {
  .main, .main_video_container {
    height: 607px;
  }
}

@media screen and (min-width: 1450px) and (max-width: 1650px) and (max-height: 774px) {
  .works_content {
    padding-top: 140px;
  }
}

@media screen and (min-width: 1450px) and (max-width: 1650px) and (max-height: 694px) {
  .works {
    height: 694px;
  }

  .triangle {
    border: 694px solid #0C1418;
    border-left: 100vw solid #0C1418;
  }
}

@media screen and (max-width: 1650px) and (max-height: 665px) {
  .title_line {
    margin: 7px auto;
    height: 3px;
  }

  .subtitle p {
    margin-top: 9px;
  }

  .main_price {
    margin-top: 0px;
  }

  .subtitle h1 {
    margin-bottom: 0px;
  }
}

@media screen and (max-width: 1650px) and (max-height: 600px) {
  .main, .main_video_container {
    height: 600px;
  }
}

/* @media screen and (min-width: 1450px) and (max-height: 706px) {
  .resize-block{
    display: table;
    vertical-align: middle;
  }
}
@media screen and (min-width: 1450px) and (max-height: 800px) {
  .works_content {
    padding-top: 140px;
  }
}
@media screen and (min-width: 392px) and (max-height: 585px) {
  .resize-block{
    display: table;
    vertical-align: middle;
  }
}
@media screen and (min-width: 300px) and (max-height: 470px) {
  .resize-block{
    display: table;
    vertical-align: middle;
  }
} */
