h1, h2, h3, h4, h5 {
    font-family: "Gilroy", sans-serif;
}

.about_me {
    line-height: 35px;
    font-size: 1.1em;
    padding: 30px 20px 20px 20px;
}

@media (max-width: 767px){
    .about_me {
        line-height: 26px;
        font-size: 1em;
    }
}

@media screen and (max-width: 576px) {
    .about_me {
        line-height: 25px;
        font-size: 0.9em;
    }
}

.about_me_foto {
    width: 100%;
}

@media (max-width: 767px){
    .about_me_foto {
        width: 50%;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.advantages__title {
    margin: 55px 0 60px 0;
    width: 100%;
    text-align: center;
}

.services_item {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    color: #000000;
} 

.services_item-img {
    display: block;
    width: 400px;
    height: 280px;
    object-fit: cover;
}

.entity_item-img {
    display: block;
    width: 400px;
    height: 280px;
    object-fit: cover;
}

@media (max-width: 767px){
    .services_list__img {
        display: none;
    }
}

.services_list__text {
    padding: 30px;
    color: #000000;
    background-color: #fff;
    max-height: 220px;
    position: relative;
}

.services_item-title {
    margin: 0 0 16px 0;
}

.services_list__text-anonce {
    line-height: 1.3em;
    max-height: 190px;
}

.services_list__text-info {
    overflow: hidden;
    position: relative;
}

.services_list__light::after {
    content: "";
	text-align: right;
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	height: 10em;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), white 100%);
	pointer-events: none;
}

.services_link {
    background: linear-gradient(102.63deg, #370A62 28.35%, #6D0A5E 80.78%);
    box-shadow: 0px 2px 20px rgba(253, 239, 169, 0.3);
    border-radius: 50px;
    display: block;
    color: #ffffff;
    position: absolute;
    right: 20px;
    bottom: 10px;
    padding: 20px 45px;
}

@media screen and (max-width: 576px) {
    .services_link{
        padding: 20px 35px;
    } 
}

.school__price {
    border-top: 1px solid #6D0A5E;
    padding-top: 15px;
    color: #370A62;
    width: 50%;
    font-weight: 900;
    font-size: 1.5em;
    letter-spacing: 1px;
}

.school__buy_title {
    color: #370A62;
    width: 50%;
    font-weight: 900;
    font-size: 1.2em;
    letter-spacing: 1px;
    margin: 15px 0;
}

.tg_link {
    background: linear-gradient(102.63deg, #370A62 28.35%, #6D0A5E 80.78%);
    border-radius: 15px;
    padding: 30px 13px;
    display: block;
    width: 35px;
    position: relative;
    margin-right: 10px;
}

.tg_link::after {
    content: '';
    background: url(/assets/site/images/tgLink_logo.png) no-repeat 50%/contain;
    width: 30px;
    height: 45px;
    position: absolute;
    top: 6px;
    left: 13px;
}

.wa_link {
    background: linear-gradient(102.63deg, #370A62 28.35%, #6D0A5E 80.78%);
    border-radius: 15px;
    padding: 30px 13px;
    display: block;
    width: 35px;
    position: relative;
}

.wa_link::after {
    content: '';
    background: url(/assets/site/images/waLink_logo.png) no-repeat 50%/contain;
    width: 33px;
    height: 45px;
    position: absolute;
    top: 6px;
    left: 15px;
}

.practice_link {
    display: flex;
    flex-direction: row;
}

.school_link_online {
    color: #370A62;
    font-weight: 900;
    font-size: 1.3em;
    letter-spacing: 1px;
    margin: 15px 0;
    border-radius: 50px;
    padding: 17px 17px;
    display: block;
    max-width: 233px;
    border: 2px solid #6D0A5E;
}

@media screen and (max-width: 576px) {
    .school_link_online{
        padding: 10px 10px;
        font-size: 1em;
    } 
}

.product_list__text {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items:start;
}

.product_link, .product_price {
    display: block;
}

.product_price {
    font-size: 1.1em;
    font-weight: 300;
    margin-bottom: 15px;
    color: #f3ca53;
}

.product_link {
    padding: 15px 35px;
    font-size: 1em;
    border: 1px solid #fdefa96b;
    border-radius: 10px;
    text-align: center;
}

.product_link_view {
    border: 2px solid #6D0A5E;
    color: #6D0A5E;
    margin-top: 15px;
    font-weight: 900;
}

.product_item {
    margin-bottom: 25px;
}

.product_list__link {
    position: relative;
    display: flex;
    flex-direction: column;
}

.product_list__link:hover .product_link {
    color: #FDEFA9;
    border-color: #fff;
    transition: all .85s ease;
}

.product_item-img {
    width: 100%;
} 

.categories__background {
    background: linear-gradient(101.91deg, rgb(174 116 89) -8.02%, rgba(48, 14, 99, 0.99) 76.4%, rgba(84, 39, 152, 0.8712) 95.96%);
}

.categories_block {
    font-size: 1em;
}

.categories_item:hover {
    color: #FDEFA9;
    border-color: #fff;
    transition: all .85s ease;
}

.categories_item:hover .categories_item_link{
    color: #FDEFA9;
    transition: all .85s ease;
}

.categories_block > ul {
    padding: 0;
} 

.categories_item {
    list-style-type: none;
    border: 1px solid #fdefa96b;
    border-radius: 10px;
}

.categories_item_link {
    padding: 10px 50px;
    display: block; 
}

.categories_title {
    border-bottom: 1px solid #FFAB24;
    color: #fff;
    text-align: center;
    padding: 10px 0 10px 0;
    width: 60%;
    margin: 10px auto;
}

.product-img {
    width: 100%;
}

@media screen and (max-width: 768px){
    .product-img{
        width: 60%;
    }
}

@media screen and (max-width: 1200px) and (max-width: 768px){
    .entity_list__title{
        width: 25%;
    }
}

.school__text_product {
    padding-left: 30px;
}

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

@media screen and (max-width: 768px)and (min-width: 576px){
    .catalog_box_wrapper{
        padding: 15px 80px;
    }
}

@media screen and (max-width: 576px) and (min-width: 400px) {
    .catalog_box_wrapper{
        padding: 15px 50px;
    }
}

.pagination__link,
.pagination__text {
    display: flex;
}

.pagination__text {
    padding: 10px 18px;
    color: #370A62;
}

.pagination__item--active {
    border-bottom: 1px solid #f3ca53;
}


.pagination_dots {
    color: #370A62;
}

.catalog_pagination .pagination__text,
.catalog_pagination .pagination__link,
.catalog_pagination .pagination__dots{
    color: #fff;
}

.pagination {
    padding: 50px 0;
    margin: 0;
}

.social_link {
    display: flex;
    margin-right: 15px;
    z-index: 20;
    position: relative;
}

.header .social_link {
    flex-direction: row-reverse;
}

.header_main .social_link {
    flex-direction: row-reverse;
}

@media screen and (max-width: 768px){
    .header .social_link,
    .header_main .social_link{
        flex-direction: row;
    }
}

.social_tg_link,
.social_vk_link{
    background: linear-gradient(102.63deg, #370A62 28.35%, #6D0A5E 80.78%);
    border-radius: 10px;
    padding: 20px 3px;
    display: block;
    width: 35px;
    position: relative;
    margin: 10px 10px 0 0;
    box-shadow: 2px 4px 15px rgb(204 135 146 / 35%);
}


.social_tg_link::after {
    content: '';
    background: url(/assets/site/images/tgLink_logo.png) no-repeat 50%/contain;
    width: 22px;
    height: 33px;
    position: absolute;
    top: 2px;
    left: 8px;
}

.social_vk_link::after {
    content: '';
    background: url(/assets/site/images/free-icon-vk-social-network-logo-25684.png) no-repeat 50%/contain;
    width: 25px;
    height: 38px;
    position: absolute;
    top: 0px;
    left: 8px;
}
.header__burger {
    position: fixed;
    background: #8b7a7a;
    opacity: 0.85;
    height: 50px;
    width: 50px;
    box-shadow: 0px 5px 10px 0px #aaa;
    right: 32px;
    margin: 0 -15px;
}
.burger-menu {
    right: 14px;
    top: 15px;
}

.menu__list-link-icon::before {
    right: 20px;
}
