@media screen and (min-width: 2000px) {
  .child_yellow {
    left: calc(50% + 250px);
  }
}

@media screen and (max-width: 2000px) {
  section.top_block:after {
    left: calc(100vw / 2 + 200px);
    width: calc(50% - 200px);
  }
}

@media screen and (max-width: 1500px) {
  .white_top_section_decore_1 {
    display: none;
  }
}

@media screen and (max-width: 1350px) {
  section.galleries {
    background-image: none;
  }

  section.galleries:before,
  section.galleries:after {
    display: none;
  }
}

@media screen and (max-width: 1300px) {
  .cost_block_ {
    margin-left: 0;
  }

  .child_yellow {
    width: 600px;
    background-repeat: no-repeat;
    background-position: 110px 50%;
    height: 887px;
    bottom: 440px;
    right: 0;
  }

  .triangle_yellow {
    width: 300px;
  }

  .happy_white_text {
    background-size: 100% auto;
    max-width: 920px;
    height: 100px;
    width: 100%;
    background-position: 0 30%;
  }
}

@media screen and (max-width: 1200px) {
  .step_learning_dots {
    display: flex;
  }
  .step_learning_wrap .slick-track {
    display: flex;
    flex-wrap: wrap;
  }

  .step_learning_wrap .slick-slide {
    display: flex;
  }

  .step_learning_wrap .slick-slide > div {
    display: flex;
  }

  .step_learning_wrap ul.slick-dots {
    margin-top: 15px;
  }

  .step_learning_wrap {
    margin-right: -20px;
    margin-left: -20px;
    margin-bottom: 40px;
  }
  .step_learning_item_content {
    box-shadow: 0px 4px 20px 6px rgb(0 0 0 / 12%);
    margin-bottom: 30px;
  }

  .step_learning_wrap .slick-dots button {
    width: 8px;
    height: 8px;
    background: #fff;
  }

  section.step_learning {
    background-image: none;
  }

  .step_learning_item:last-child .step_learning_item_top:after {
    display: block;
    width: 53%;
    background-position: 100% 50%;
  }

  .step_learning_item_content:after {
    display: none;
  }

  .step_learning_item {
    max-width: 300px;
    display: flex !important;
    margin: 0 15px;
  }

  .mobile_menu_btn {
    display: block;
    margin-left: 20px;
    appearance: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: 0;
    position: relative;
  }

  .top_block_bg {
    background-image: none;
  }

  .header_menu {
    display: none;
  }

  header.header_main .container {
    justify-content: space-between;
  }

  a.header_phone img {
    width: 20px;
    margin-right: 15px;
  }

  header.header_main {
    padding-top: 25px;
  }

  h1.top_block_content_title {
    font-size: 72px;
    max-width: 695px;
  }

  .top_block_content_title_small {
    font-size: 34px;
  }

  .top_block_content {
    padding-top: 45px;
    margin-bottom: 275px;
  }

  img.banner_bg {
    margin-top: -60px;
  }

  .btn_write_top {
    margin-top: 140px;
  }
}

@media screen and (max-width: 1175px) {
  .title_yellow_half_left:after {
    margin-top: 20px;
  }

  .title_yellow_half_right:before {
    margin-top: 20px;
  }

  .step_learning_item {
    width: 270px;
  }

  .advantage_item {
    width: calc(100% / 3);
    margin-bottom: 55px;
  }

  section.advantage {
    padding-bottom: 35px;
  }

  .main_footer_social {
    width: 100%;
    justify-content: center;
    margin-bottom: 45px;
    margin-left: 0;
  }

  .title_with_line:before {
    margin-top: 22px;
  }

  footer.main_footer .container {
    flex-wrap: wrap;
    justify-content: space-evenly;
  }

  .title_ {
    font-size: 38px;
  }
}

@media screen and (max-width: 1020px) {
  .tope_empty {
    display: none;
  }

  .top_block_triggers {
    position: static;
    justify-content: center;
    margin-bottom: -30px;
  }

  .top_block_bg_0 {
    display: none;
  }

  .top_block_bg {
    height: 700px;
  }

  section.top_block:after {
    display: none;
  }

  img.banner_bg {
    margin-bottom: 0px;
  }

  .top_block_trigger:before {
    background: #b6dcef;
  }

  .btn_write_top {
    margin-top: 20px;
    position: static;
  }

  .top_block_content {
    margin-bottom: 0;
  }

  section.top_block {
    padding-bottom: 60px;
  }
}

@media screen and (max-width: 1000px) {
  .title_yellow_half_right:before {
    display: none;
  }

  .gallery_block_content {
    padding: 0 20px;
  }

  .slick-prev {
    left: -12px;
  }

  .slick-next {
    right: -12px;
  }

  .slick-arrow {
    width: 20px;
    height: 23px;
    background-size: contain;
  }

  .slick-dots button {
    width: 26px;
    height: 4px;
  }

  .slick-dots li {
    margin: 0 8px;
  }
}

@media screen and (max-width: 950px) {
  .video_block_content {
    padding: 0;
  }

  .remain_place_mans img {
    width: 32px;
    margin: 0 10px;
  }

  .remain_place_title {
    font-size: 40px;
  }

  section.yellow_big_block {
    padding-bottom: 150px;
  }

  .triangle_yellow {
    display: none;
  }

  .happy_white_text {
    background-size: 90% auto;
  }

  .btn_write {
    max-width: 550px;
    font-size: 24px;
    padding: 16px 10px 14px;
  }

  img.btn_def_arrow {
    width: 11px;
    margin-top: -1px;
  }

  .cost_block_content {
    padding: 35px 40px;
  }

  .cost_block_top {
    font-size: 26px;
  }

  .cost_block_small {
    font-size: 20px;
  }

  .cost_block_bottom {
    font-size: 34px;
    padding: 12px 10px;
  }

  .cost_block_ {
    max-width: 490px;
  }

  .cost_block_content li {
    margin-bottom: 22px;
  }

  .cost_block_content:before {
    display: none;
  }

  .cost_block_content:after {
    background-size: auto 90%;
    background-repeat: no-repeat;
  }

  img.decore_big_triangle {
    width: 65px;
  }

  .child_yellow {
    bottom: 330px;
    width: 500px;
    height: 775px;
    background-position: 80px 50%;
  }
}

@media screen and (max-width: 900px) {
  img.banner_bg {
    height: 650px;
    object-fit: cover;
  }

  .differents_content_title {
    font-size: 13px;
    width: calc(100% - 200px);
  }

  .differents_content_row:last-child .differents_content_title:before {
    top: 12px;
  }

  .differents_content_point.differents_content_point_active {
    width: 100px;
  }

  .differents_content_point {
    width: 100px;
  }

  .differents_block {
    margin-bottom: 60px;
    margin-top: 35px;
  }

  section.differents {
    padding-bottom: 20px;
  }

  .differents_decore {
    display: none;
  }

 
  .differents_top {
    margin-bottom: 30px;
  }

  .differents_top_item.active,
  .differents_top_item {
    width: 100px;
    font-size: 14px;
  }

  a.video_block_content_item:before {
    opacity: 1;
  }

  .video_block_content .slick-current.slick-center {
    transform: none;
  }
}

@media screen and (max-width: 870px) {
  .advantage_item {
    width: calc(100% / 2);
  }
}

@media screen and (max-width: 800px) {
  .step_learning_wrap__last__inner {
    font-weight: 300;
    font-size: 16px;
    max-width: 420px;
    padding: 20px 20px 19px;
  }

  .step_learning_wrap__last strong {
    font-size: 1.5em;
    margin-top: 2px;
  }
  section.live_course {
    padding-bottom: 75px;
  }

  .gallery_block_title span {
    font-size: 20px;
  }

  img.gallery_block_decore {
    width: 45px;
    margin-left: -35px;
    margin-top: -11px;
  }

  .gallery_block {
    margin-bottom: 50px;
  }

  .review_list {
    padding: 0;
  }
}

@media screen and (max-width: 750px) {
  h1.top_block_content_title_mobile {
    display: block;
    text-align: center;
    font-size: 47px;
    max-width: 500px;
    line-height: 1.05;
    margin: 0 auto 50px;
    font-weight: 500;
  }

  .top_block_content_title_small_mobile {
    display: inline-block;
    background: #fecf05;
    padding: 11px 15px;
    font-size: 20px;
    border-radius: 6px;
  }

  span.top_block_content_title_yellow_mobile {
    color: #fecf05;
  }

  .top_block_content {
    padding-top: 85px;
  }

  img.pattern_dots_2_top {
    display: none;
  }

  h1.top_block_content_title {
    display: none;
  }

  img.banner_bg {
    width: calc(100% + 40px);
    height: 450px;
    margin-left: -20px;
    margin-right: -20px;
    max-width: none;
    margin-bottom: 30px;
  }

  .top_block_bg {
    height: 520px;
    clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 0% 100%, 45% 0%);
  }

  .top_block_trigger:before {
    width: 34px;
    height: 34px;
  }

  .top_block_trigger {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 35px;
    width: 50%;
  }

  .top_block_trigger span {
    margin: 12px 18px;
  }

  .top_block_triggers {
    max-width: 500px;
    margin: 0 auto -10px;
  }

  .title_yellow_half_left:after {
    margin-top: 17px;
  }

  .decore_line_text {
    font-size: 20px;
    line-height: 1.5;
  }

  .decore_line_text strong {
    font-size: inherit;
  }

  section.decore_line {
    padding: 26px 0;
  }

  .title_with_line:before {
    margin-top: 18px;
  }

  footer.main_footer {
    padding: 35px 0;
  }

  .btn_agree {
    font-size: 11px;
    border-radius: 6px;
    padding: 10px 35px 8px;
  }

  .main_footer_logo {
    width: 185px;
    margin-top: 10px;
  }

  .main_footer_social img {
    height: 30px;
  }

  .main_footer_social a {
    margin: 0;
  }

  footer.main_footer .container {
    justify-content: space-between;
    max-width: 420px;
  }

  .main_footer_social {
    margin-left: 0;
    justify-content: space-between;
    padding: 0 5px;
    margin-bottom: 35px;
  }

  .title_ {
    font-size: 32px;
  }
}

@media screen and (max-width: 670px) {
  .title_yellow_half_left:after {
    margin-top: 15px;
  }

  .gallery_block_content {
    padding: 0;
  }

  .review_wrap {
    margin: 0 -20px;
  }

  .happy_white_text {
    display: none;
  }

  section.yellow_big_block {
    padding-bottom: 70px;
  }

  .remain_place_mans img {
    width: 20px;
    margin: 0px 7px;
  }

  .remain_place_mans {
    margin-bottom: 32px;
  }

  .btn_write {
    max-width: 420px;
    font-size: 20px;
  }

  .remain_place_title {
    font-size: 32px;
    margin-bottom: 25px;
  }

  section.cost_block {
    margin-bottom: 40px;
  }

  .cost_block_ {
    margin: 40px auto 0;
    max-width: 420px;
  }

  .cost_block_content li:before {
    width: 5px;
    height: 5px;
  }

  .cost_block_content {
    padding: 25px 40px;
  }

  .cost_block_content li {
    margin-bottom: 20px;
  }

  .cost_block_bottom {
    font-size: 26px;
  }

  .cost_block_top {
    font-size: 22px;
  }

  .cost_block_small {
    font-size: 18px;
  }

  .cost_block_inner {
    margin-bottom: 12px;
  }

  .title_ {
    font-size: 28px;
  }

  .child_yellow {
    width: 119px;
    height: 210px;
    background-image: url(../images/decore/3.svg);
    background-size: contain;
    background-position: 0 0;
    background-repeat: no-repeat;
    bottom: 800px;
  }
}

@media screen and (max-width: 600px) {
  .cost_block_director_x {
    font-size: 8px;
    width: 100px;
    height: 100px;
    right: -15px;
    bottom: 20px;
    padding: 5px 4px 0;
  }

  .cost_block_bottom {
    text-align: left;
    padding-left: 38px;
  }
  .step_learning_wrap ul.slick-dots {
    margin-top: 5px;
  }
  .galleries_mobile {
    display: block;
    padding: 50px 0;
  }
  section.live_course {
    padding-bottom: 10px;
  }

  .btn_def.btn_def--mobile {
    display: block;
    margin-top: 35px;
  }

  .galleries {
    display: none;
  }

  .top_block_bg {
    height: 490px;
  }

  img.banner_bg {
    margin-bottom: 0;
  }

  .video_block {
    margin: 0 -20px;
  }

  .video_block_content .slick-slide {
    padding: 30px 10px;
  }

  a.video_block_content_item {
    box-shadow: none;
    border-radius: 20px;
  }

  .gallery_block_content_item {
    padding: 20px 8px;
  }

  .gallery_block_content_item img {
    box-shadow: none;
    margin: 0 auto;
    height: 250px;
    width: 100%;
  }

  .step_learning_item {
    width: 270px;
  }

  .step_learning_item_content:after {
    display: none;
  }

  .slick-dots button {
    width: 7px;
    height: 7px;
  }

  .slick-dots li {
    margin: 0 7px;
  }

  section.advantage {
    padding-bottom: 0;
  }

  .advantage_list {
    margin-top: 50px;
  }

  .advantage_item_text {
    max-width: 300px;
  }

  .advantage_item {
    width: 100%;
  }
}

@media screen and (max-width: 570px) {
  .modal_text {
    max-width: 100%;
    padding: 45px 20px;
  }

  .step_learning_item_top {
    font-size: 23px;
  }

  .step_learning_item:last-child .step_learning_item_top:after {
    width: 53%;
    left: 114px;
    top: 13px;
  }

  .step_learning_wrap {
    margin-bottom: 35px;
  }

  section.step_learning {
    padding-bottom: 40px;
    padding-top: 35px;
  }

  .step_learning_item_content_title {
    font-size: 22px;
  }

  .step_learning_item_content {
    padding-top: 20px;
    padding: 15px 15px 10px;
  }

  .step_learning_item_content_text p {
    font-size: 11px;
    line-height: 1.8;
    padding: 11px 15px 8px;
    margin-left: -15px;
    margin-right: -15px;
  }
  .step_learning_item_content_text p:first-child {
    margin-left: -15px;
    margin-right: -15px;
    font-size: 12.5px;
    line-height: 1.45;
    padding-top: 10px;
  }

  .step_learning_item {
    max-width: 300px;
    margin-right: 0;
  }

  .step_learning_item:last-child {
    margin-right: 15px;
  }
  .fancybox-is-open .fancybox-bg {
    background: #fff;
    opacity: 1;
    background-image: url(../images/decore/mobile_1.svg),
      url(../images/decore/mobile_2.svg);
    background-repeat: no-repeat, no-repeat;
    background-position: 0 0, 100% 100%;
  }

  /* ÃÂ£ÃÂ»Ã‘Æ’Ã‘â€¡Ã‘Ë†ÃÂµÃÂ½ÃÂ¸Ã‘Â ÃÂ´ÃÂ»Ã‘Â Fancybox ÃÂ½ÃÂ° ÃÂ¼ÃÂ¾ÃÂ±ÃÂ¸ÃÂ»Ã‘Å’ÃÂ½Ã‘â€¹Ã‘â€¦ */
  .fancybox-container {
    z-index: 9999 !important;
  }

  .fancybox-content {
    border-radius: 10px;
    overflow: hidden;
  }

  .fancybox-toolbar {
    background: rgba(0, 0, 0, 0.8);
  }

  .fancybox-button {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
  }

  .fancybox-button:hover {
    background: rgba(255, 255, 255, 1);
  }

  a.header_phone {
    font-size: 0;
    width: 35px;
    height: 35px;
    background: url(../images/icons/phone_mobile.svg);
    background-repeat: no-repeat;
    background-position: 50%;
  }

  a.header_phone img {
    display: none;
  }

  section.top_block {
    padding-bottom: 45px;
  }

  .top_block_trigger {
    font-size: 11px;
    margin-bottom: 25px;
  }

  .top_block_triggers {
    max-width: 390px;
  }

  .top_block_trigger:before {
    width: 28px;
    height: 28px;
  }

  .top_block_trigger span {
    margin: 8px 15px;
  }

  .differents_top {
    margin: 0 0 8px;
  }

  .differents_top_item.active,
  .differents_top_item {
    padding: 0;
    background: transparent;
    font-size: 8px;
    width: 50px;
  }

  .differents_content_row:last-child .differents_content_title {
    padding-bottom: 15px;
  }

  .differents_content_row:first-child .differents_content_title {
    padding-top: 15px;
  }

  .differents_content_title {
    font-size: 11px;
  }

  .differents_content_point.differents_content_point_active {
    width: 50px;
  }

  .differents_content_point {
    width: 50px;
  }

  .differents_content_point img {
    height: 16px;
  }

  .differents_content_title {
    width: calc(100% - 100px);
    padding-right: 15px;
  }

  .differents_block {
    margin-bottom: 45px;
  }

  section.live_course {
    padding-bottom: 0px;
    padding-top: 40px;
  }

  .live_course_wrap {
    margin: 30px 0;
    position: relative;
    padding: 37px 20px;
  }

  a.live_course_video:before {
    display: none;
  }

  .live_course_wrap_decore {
    width: 85%;
  }

  .video_block_content .slick-slide {
    padding: 20px 8px;
  }

  .modal_thanks_title {
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 25px;
    max-width: 300px;
  }

  .modal_def.modal_thank {
    font-size: 20px;
    background-size: 520px auto;
  }

  .modal_thanks_text {
    margin-bottom: 30px;
  }

  .modal_form_item.modal_form_item--checked {
    text-align: left;
  }

  span.modal_form_item--checked_label {
    line-height: 1.3;
    max-width: 200px;
  }

  .modal_form_item.modal_form_item--checked label {
    justify-content: flex-start;
  }

  .modal_def {
    max-width: 380px;
    border-radius: 10px;
  }

  .modal_form_title {
    font-size: 17px;
    margin-bottom: 20px;
  }

  .modal_form {
    padding: 40px 40px 20px;
  }

  .modal_form_item input[type="text"],
  .modal_form_item input[type="tel"] {
    font-size: 14px;
    padding: 12px 20px;
  }

  .modal_form_item {
    margin-bottom: 15px;
  }

  .modal_form_item.modal_form_item-submit button {
    font-size: 15px;
    padding: 12px;
  }

  .modal_form_item.modal_form_item-submit button img {
    width: 8px;
    margin-left: 17px;
    margin-bottom: 0;
  }
}
@media screen and (max-width: 530px) {
  .gallery_block_content_item img {
    height: 320px;
  }
}

@media screen and (max-width: 520px) {
  h1.top_block_content_title_mobile {
    line-height: 1.15;
    margin-bottom: 35px;
  }

  .top_block_content_title_small_mobile {
    transform: translate(0px, -3px);
  }

  header.header_main {
    padding-top: 20px;
  }

  .header_info {
    margin-top: -7px;
  }

  a.header_logo {
    width: 160px;
  }

  img.banner_bg {
    height: 350px;
  }

  .top_block_bg {
    height: 405px;
  }

  .top_block_content {
    padding-top: 75px;
  }
}

@media screen and (max-width: 450px) {
  .step_learning_wrap__last__inner {
    max-width: 330px;
    font-size: 14px;
    padding: 19px 12px 16px;
  }
  .title_yellow_half_left:after {
    margin-top: 12px;
  }

  .child_yellow {
    bottom: 670px;
  }

  .remain_place_mans {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .remain_place_mans img {
    width: 16px;
    margin: 0 6px;
  }

  .btn_write {
    max-width: 335px;
    font-size: 17px;
    border-radius: 10px;
  }

  img.btn_def_arrow {
    width: 10px;
    margin-left: 20px;
  }

  .remain_place_title {
    font-size: 26px;
  }

  .cost_block_bottom {
    font-size: 24px;
    padding: 14px 10px 15px 30px;
  }

  .cost_block_content li {
    font-size: 11px;
    padding-left: 20px;
    margin-bottom: 18px;
  }

  .cost_block_content {
    padding: 25px 35px;
  }

  .cost_block_content:after {
    width: 40px;
    right: 10px;
    background-size: auto 80%;
  }

  .cost_block_top {
    padding: 15px 0 12px;
  }

  .title_ {
    font-size: 22px;
    margin-bottom: 30px;
    line-height: 1.4;
  }

  .title_with_line:before {
    margin-top: 12px;
  }

  .cost_block_ {
    margin-top: 0;
  }

  img.decore_big_triangle {
    display: none;
  }
}

@media screen and (max-width: 430px) {
  .gallery_block {
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 420px) {
  .btn_up {
    width: 40px;
    height: 40px;
    right: 15px;
    bottom: 15px;
    background-size: 9px;
  }

  .differents_block {
    margin-top: 30px;
  }

  section.differents {
    padding-bottom: 0;
  }

  .differents_content_title {
    font-size: 10px;
    padding-left: 30px;
  }

  .differents_content_title:before {
    left: 12px;
    width: 6px;
    height: 6px;
    top: 15px;
  }

  .differents_content_row:first-child .differents_content_title:before {
    top: 20px;
  }

  .differents_content_point.differents_content_point_active {
    border-color: #ccc;
  }

  .live_course_wrap {
    padding: 25px 10px;
  }

  .live_course_wrap_decore {
    border-radius: 0 10px 10px 0;
  }

  .review_list ul.slick-dots {
    margin-top: 0;
  }

  section.review {
    margin-bottom: 40px;
  }

  hr.review_item_line {
    width: 90px;
  }

  .review_item_title {
    font-size: 18px;
  }

  .review_item_text {
    font-size: 14px;
    line-height: 1.4;
  }

  .review_item_wrap {
    padding: 35px 25px 40px;
  }

  .main_footer_social img {
    height: 26px;
  }

  .footer_agree {
	flex-direction: column;
	width: 150px;
}

.btn_agree {
	width: 100%;
	font-size: 13px;
	padding: 10px;
}
  .main_footer_logo {
    width: 145px;
  }

  .btn_agree {
    padding: 10px 25px 8px;
  }

  .main_footer_social {
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 400px) {
  .step_learning_wrap__last {
    margin-bottom: 10px;
  }
  .step_learning_wrap__last__inner {
    border-radius: 0;
    max-width: initial;
  }
  .modal_text .modal_form_title {
    font-size: 17px;
  }

  .modal_text_ {
    font-size: 14px;
  }

  .title_yellow_half_left:after {
    display: none;
  }

  .modal_thanks_title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .modal_def.modal_thank {
    font-size: 18px;
    padding: 45px 20px;
    background-size: 450px auto;
    background-position: 42% 50%;
  }

  .modal_thanks_text {
    margin-bottom: 25px;
  }

  .modal_thanks_social_list a {
    width: 35px;
  }

  .modal_thanks_social_title {
    margin-bottom: 20px;
  }

  .modal_form_title {
    font-size: 15px;
  }

  .modal_def {
    max-width: 320px;
  }

  .modal_form {
    padding: 45px 25px 20px;
  }

  .modal_form_item input[type="text"],
  .modal_form_item input[type="tel"] {
    padding: 12px 15px;
  }

  a.video_block_content_item:before {
    width: 24px;
    height: 24px;
  }
}

@media screen and (max-width: 370px) {
  .top_block_trigger {
    font-size: 9px;
    line-height: 1.6;
  }

  img.banner_bg {
    height: 300px;
  }

  .top_block_bg {
    height: 340px;
  }

  .top_block_trigger span {
    margin: 10px 0 0 10px;
  }

  .review_item_text {
    font-size: 13px;
  }

  .review_item_wrap {
    padding: 30px 20px 35px;
  }

  .remain_place_mans img {
    width: 15px;
    margin: 0;
  }

  .remain_place_mans {
    justify-content: space-around;
  }

  .btn_write {
    font-size: 15px;
  }

  img.btn_def_arrow {
    width: 9px;
    margin-left: 15px;
  }

  .cost_block_bottom {
    font-size: 22px;
  }

  .cost_block_content {
    padding: 20px 35px 20px 20px;
  }

  .cost_block_content:after {
    width: 30px;
    background-size: 100% auto;
    right: 5px;
  }

  .cost_block_top {
    font-size: 18px;
    padding: 15px 0 12px;
    line-height: 1;
  }

  section.cost_block {
    margin-bottom: 25px;
  }

  .decore_line_text {
    font-size: 18px;
  }

  .btn_agree {
    padding: 9px 20px 7px;
  }

  .main_footer_logo {
    width: 125px;
  }
}

@media screen and (max-height: 420px) {
  .header_menu_mobile ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .header_menu_mobile li {
    width: 33%;
    margin-bottom: 30px;
  }

  .mobile_menu_wrap {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin: 0;
  }

  .header_menu_mobile li:last-child {
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 350px) {
  .gallery_block_content_item img {
    height: 265px;
  }
}
