@media(max-width: 1250px) {
    .block.modules .container .module .progress {
        transform: translateX(100px);
        position: absolute;
        bottom: 0;
        z-index: 1;
    }

    .block.modules .container ._themes ._theme {
        flex: 1 0 calc(100% / 3 - 50px);
    }

    .block.modules .container .module .text .module_name {
        margin-top: 20px;
        line-height: 70px;
    }

    .block.modules .container:nth-child(1) .module .module_img {
        margin-left: 20px;
    }

    .main-page-top-container .categories .categories_list {
        height: 242px;
    }

    .main-page-top-container .slides .slides-cell, .main-page-top-container .slides {
        height: 287px;
    }

    .products_list .product_card {
        width: calc(100% / 3 - 20px);
        height: 265px;
    }

    .products_list .product_card .product_img {
        height: 180px;
    }

    .products_list {
        gap: 30px;
        row-gap: 27.5px;
    }

    .main-page-usage-instruction .kassym_img {
        min-width: 220px;
        height: 275px;
    }

    .main-page-usage-instruction .text h1 {
        font-size: 35px;
    }

    .main-page-usage-instruction .text p {
        font-size: 18px;
        width: 90%;
    }

    .main-page-usage-instruction .text button {
        font-size: 15px;
        width: 230px;
        height: 35px;
        margin-top: 3px;
    }

	.main_page_info .sub-header br {
        display: none;
	}

	.main_page_info .sub-header {
        width: 99%;
	}

    .main_page_info {
        margin-top: 60px;
    }

    .main_page_leave_request_container .grace_logo_with_pen {
        width: 270px;
    }

    .main_page_leave_request_container form input {
        width: 200px;
    }

    .main_page_leave_request_container form button {
        width: 221px;
    }

    .main_page_leave_request_container {
        padding: 10px 0px;
    }

    .main_page_leave_request_container form {
        margin-left: 40px;
    }

    .services_list .service_card .text {
        padding: 0 25px 0 20px;
        height: calc(100% - 35px);
        min-width: 400px;
        max-width: 400px;
    }

    .services_list .service_card .text .service_name {
        font-size: 20px;
        margin-bottom: 13px;
    }

    .services_list .service_card .text .service_description {
        font-size: 16px;
    }

    .container.video .content .files {
        max-height: 266px;
    }

    .container.video .content .files .empty {
        height: 81.68%;
    }
}

@media(max-width: 1000px) {
    .block.modules .container .module .progress {
        transform: translateX(250px);
    }

    .block.modules .container .module .bottom_opacity {
        display: block;
    }

    #product_template .product_info .actions .product_action .price_and_wishlist_btn .product_prices {
        gap: 8px;
    }

    .block.modules .container .module .module_img {
        margin-top: 55px;
    }

    .block.modules .container:nth-child(1) .module .module_img {
        margin-left: 0px;
        height: auto;
        width: 100%;
    }

    .main-page-top-container .categories {
        display: none;
    }

    .main-page-top-container .slides .slides-cell, .main-page-top-container .slides {
        height: 277px;
    }

    .products_list .product_card {
        width: 138.7px;
        height: 325px;
    }

    .products_list .product_card .absolute_product_card:hover {
        box-shadow: none;
        border-radius: 0;

        padding: 0;
        background: white;

        top: 0;
        left: 0;
    }

    .products_list .product_card .absolute_product_card:hover .product_img {
        box-shadow: 0px 0px 3px 0px #e4e4e4;

    }

    .products_list .product_card .absolute_product_card:hover .text .product_name_block {
        -webkit-line-clamp: 1;
        line-break: anywhere;
    }

    .products_list .product_card .absolute_product_card .text .add_to_cart_btn {
        display: block;

    }

    .products_list .product_card .absolute_product_card .add_wishlist_btn, .products_list .product_card .absolute_product_card:hover .add_wishlist_btn {
        display: block;
        top: 9px;
        right: 10px;
    }

    .products_list .product_card .product_img {
        height: 184.68px;
    }

    .products_list .product_card .text .availability .product_is_available, .products_list .product_card .text .availability .product_is_not_available {
        font-size: 11px;
    }

    .products_list .product_card .text .availability .product_count {
        font-size: 12px;
    }

    .see_more_products_btn_block button {
        font-size: 13px;
        width: 135px;
        height: 30px;
    }

    .main-page-usage-instruction .kassym_img {
        min-width: 180px;
        height: 225px;
    }

    .main-page-usage-instruction .text h1 {
        font-size: 25px;
    }

    .main-page-usage-instruction .text p {
        font-size: 14px;
        width: 100%;
        margin-bottom: 0;
    }

    .main-page-usage-instruction .text button {
        font-size: 13px;
        width: 205px;
        height: 30px;
        margin-top: 13px;
    }

    .main-page-search-form-block {
        display: block;
    }

    .main_page_info .info {
        width: 350px;
    }

    .main_page_info .custom_header {
        font-size: 42px;
        width: 400px;
        line-height: 40px;
    }

    .main_page_info {
        margin-top: 50px;
    }

    .main_page_leave_request_container {
        /*flex-direction: row-reverse;*/
    }

    .main_page_leave_request_container form .inputs {
        gap: 5px;
        flex-direction: column;
    }

    .main_page_leave_request_container form button {
        margin-top: 5px;
        margin-bottom: 15px;
    }

    .main_page_leave_request_container form {
        margin-left: 30px;
        margin-top: 10px;
        width: 300px;
    }

    .main_page_leave_request_container .grace_logo_with_pen {
        /*transform: translateX(25px);*/
        margin-left: 0;
        margin-top: 10px;
    }

    .main_page_leave_request_container .leave_request_background {
        display: block;
        position: absolute;
        bottom: 0;
        z-index: -1;
        width: 250px;
        left: 0;
    }

    .main_page_leave_request_container {
        /*transform: translateY(60%);*/
    }

    .main_page_leave_request_container form {
        margin-left: 18px;
    }

    .products_list {
        gap: 22px;
        row-gap: 20.5px;
    }

    .products_list .product_card {
        width: calc(100% / 3 - 14.7px);
        height: 195px;
    }

    .products_list .product_card .product_img {
        height: 124.68px;
    }

    .products_list .product_card .text .product_name_block .product_name {
        font-size: 14.5px;
    }

    .products_list .product_card .text .product_category_block .product_category {
        font-size: 11px;
    }

    .products_list .product_card .product_img p {
        padding: 3px 6px;
    }

    .products_list .product_card .text {
        padding: 10px 15px;
    }

    .services_list .service_card {
        height: 215px;
    }

    .services_list .service_card .border {
        display: none;
    }

    .services_list .service_card .text {
        padding: 0 20px;
        height: calc(100% - 35px);
        min-width: 300px;
        max-width: 300px;
    }

    .services_list .service_card .text .service_name {
        font-size: 15px;
        margin-bottom: 7px;
    }

    .services_list .service_card .text .service_description {
        font-size: 13px;
    }

    .services_list .service_card .text .authentication button {
        background-color: #F96E00;
        border-color: #F96E00;
        font-size: 13px;
        height: 25px;
        padding: 0 12px;
    }

    .block.modules .container .module {
        flex-direction: column-reverse;
    }

    .block.modules .container .module .module_img, .block.modules .container:nth-child(2) .module .module_img {
        height: 500px;
        width: 500px;
        margin-bottom: 0;
        margin-left: auto;
        margin-right: auto;
    }

    .container.video .content .files {
        max-height: 175px;
    }

    .container.video .content .files .empty {
        height: 55.68%;
    }
}

@media(max-width: 730px) {
    .block.title .container h1 {
        margin: 13px 0 12px 0;
        font-size: 46px;
        line-height: 48px;
    }

    .block.modules .container .module .progress {
        transform: translateX(200px);
    }

    .main-page-top-container .slides .slides-cell, .main-page-top-container .slides {
        height: 222px;
    }

    .products_list .product_card {
        width: calc(100% / 2 - 11px);
    }

    .products_list .product_card:last-child {
        display: none;
    }

    .main-page-usage-instruction .kassym_img {
        min-width: 189px;
        height: 235px;
    }

    .main-page-usage-instruction .text h1 {
        line-height: 25px;
    }

    .main-page-usage-instruction {
        gap: 20px;
    }

    .main-page-usage-instruction .text p {
        line-height: 16px;
        margin-bottom: 10px;
    }

    .main-page-usage-instruction .text button {
        margin-top: 3px;
    }

    .main_page_info .info {
        width: 286px;
    }

    .main_page_info .custom_header {
        font-size: 30px;
        width: 286px;
        line-height: 30px;
    }

    .main_page_info .values .value {
        font-size: 12px;
    }

    .main_page_info .values {
        margin-top: 25px;
        margin-bottom: 27px;
    }

    .main_page_info {
        margin-top: 40px;
    }

    .main_page_info .sub-header br {
        display: initial;
    }

    .main_page_leave_request_container form h1 {
        font-size: 25px;
    }

    .main_page_leave_request_container form p {
        font-size: 14px;
    }

    .main_page_leave_request_container form {
        width: 210px;
        margin-left: 25px;
        margin-top: 7px;
        height: fit-content;
    }

    .main_page_leave_request_container form button {
        width: inherit;
        font-size: 17px;
        height: 35px;
        margin-bottom: 12px;
    }

    .main_page_leave_request_container form input {
        width: inherit;
    }

    .main_page_leave_request_container .grace_logo_with_pen {
        height: inherit;
        margin-top: 0;
        /*transform: translateX(35px);*/
    }

    .main_page_leave_request_container {
        /*transform: translateY(50%);*/
    }

    .main_page_leave_request_container .grace_logo_with_pen {
        width: 226px;
    }

    .services_list .service_card {
        flex-direction: column-reverse;
        height: fit-content;
    }

    .services_list .service_card .text {
        max-width: 100%;
        min-width: 300px;
        margin-bottom: 25px;
        height: 190px;
    }

    .services_list .service_card .text .service_name {
        font-size: 18px;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    .services_list .service_card .text .service_description {
        font-size: 14px;
    }

    .services_list .service_card .service_img {
        min-height: 320px;
        border-top-left-radius: 20px;
        border-bottom-right-radius: 0px;
    }

    .block.modules .container .module .module_img, .block.modules .container:nth-child(2) .module .module_img {
        height: 400px;
        width: 400px;
        margin-bottom: 0;
    }

    .modules .container.video {
        margin-top: 28px;
    }

    .container.video .content {
        flex-direction: column;
        row-gap: 28px;
    }

    .container.video .content .files {
        width: calc(100% - 54px);
    }

    .container.video .navigation {
        margin-top: 28px;
        flex-direction: column;
        row-gap: 15px;
    }

    .container.video .content .files .empty {
        height: 123px;
    }
}

@media(max-width: 600px) {
    .block.modules .container .module .progress {
        transform: translateX(150px);
        scale: 0.7;
    }

    .block.modules .container ._themes ._theme {
        max-width: 45%;
    }

    .block.modules .container ._themes ._theme p {
        font-size: 17px;
    }

    .main-page-top-container .slides .slides-cell, .main-page-top-container .slides {
        height: 162px;
    }

    .products_list .product_card {
        width: 167.5px;
        height: 380px;
    }

    .products_list .product_card .product_img {
        height: 223.03px;
    }

    .main-page-usage-instruction {
        flex-direction: column;
        gap: 0;
        align-items: center;
        margin-top: 80px;
    }

    .main-page-usage-instruction .kassym_img {
        width: 245px;
        height: 300px;
    }

    .main-page-usage-instruction .text h1 {
        font-size: 23px;
        margin-top: 7px;
    }

    .main_page_info .info {
        width: 239px;
    }

    .main_page_info .custom_header {
        font-size: 25px;
        line-height: 25px;
        width: 239px;
    }

    .main_page_info .values {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .main_page_info .values .value:nth-child(3) {
        width: 120px;
    }

    .main_page_info .sub-header {
        font-size: 13px;
    }

    .modules .authentication .signup_btn {
        font-size: 17px;
    }

    .main_page_info .banner {
        width: 300px;
        height: 215px;
        transform: translateX(-35px);
    }

    .main_page_leave_request_container {
        flex-direction: column;
    }

    .main_page_leave_request_container .grace_logo_with_pen {
        height: 275px;
        width: 97%;
        /*transform: translateX(50px);*/
    }

    .main_page_leave_request_container form {
        width: initial;
        margin: 7px 25px 0px 25px;
    }

    .main_page_leave_request_container form button {
        width: 100%;
        margin-bottom: 15px;
    }

    .main_page_leave_request_container {
        /*transform: translateY(40%);*/
    }

    .products_list {
        gap: 16px;
        row-gap: 15.5px;
    }

    .products_list .product_card {
        width: calc(100% / 2 - 8px);
        height: 170px;
        border-radius: 12px;
    }

    .products_list .product_card .product_img {
        height: 105px;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }

    .products_list .product_card .text {
        padding: 7px 12px;
    }

    .products_list .product_card .text .product_name_block .product_name {
        font-size: 12.5px;
    }

    .products_list .product_card .text .product_category_block .product_category {
        font-size: 10px;
    }

    .products_list .product_card .product_img p {
        padding: 2px 5px;
        font-size: 8px;
    }

    .crb_header {
        font-size: 25px;
    }

    .crb_sub_header {
        font-size: 15px;
    }

    .main_page .our_works .see_more {
        font-size: 15px;
    }

    .services_list .service_card .service_img {
        min-height: 265px;
    }

    .services_list .service_card .text {
        height: 240px;
    }

    .block.modules .container .module .module_img, .block.modules .container:nth-child(2) .module .module_img {
        height: 230px;
        width: 230px;
    }

    .block.modules .container:nth-child(3) .module .module_img {
        height: 215px;
    }

    .block.modules .container .module .text .module_id {
        font-size: 17px;
    }

    .block.modules .container .module .text .module_name {
        font-size: 34px;
        line-height: 40px;
    }

    .block.modules .container .module .module_img {
        margin-top: 30px;
    }

    .block.modules .container .module .text .themes_count {
        font-size: 16px;
    }

    .block.modules .container .module .text .theme_name {
        font-size: 13px;
    }

    .container.themes h1 {
        font-size: 17px;
    }

    .container.themes_title span {
        font-size: 25px;
    }

    .block.title .container h1 {
        margin: 13px 0 12px 0;
        font-size: 36px;
        line-height: 41px;
    }

    .block.title .container h2 {
        font-size: 20px;
    }

    .block.modules .container ._themes {
        margin-top: 0;
    }

    .block.title .container {
        margin-bottom: 50px;
    }

    .block.poster {
        top: 75px;
    }

    .block:first-child .container {
        border-bottom: 1px solid black;
    }
}
