@media only screen and (max-width: 1200px) {
    .header-main__content h1 {
        font-size: 40px;
    }

    .header-main__content .register-btn {
        margin-top: 50px;
    }

    .our-courses__list_item .our-courses__price {
        width: 110px;
    }

    .our-courses__list_item .our-courses__title h4 {
        font-size: 12px;
    }

    .our-courses__list_item {
        min-height: 162px;
    }

    .our-courses__list_item .circle img:nth-of-type(2) {
        top: -41px;
        object-fit: contain;
    }

    .our-courses__list_item .circle img {
        width: 75%;
    }

    .reviews-block__list .nav.nav-pills .reviews-massage__text {
        padding: 15px;
        font-size: 18px;
    }

    .reviews-block__list .nav.nav-pills .reviews-massage__text.active strong {
        font-size: 18px;
    }

    .reviews-block__list .reviews-massage__image img {
        width: 340px;
    }

    .reviews-wrapper .circle-figure {
        width: 700px;
    }
}

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

    .about-us__wrapper h2,
    .our-courses h2,
    .after-courses__wrapper h2,
    .reviews-wrapper h2,
    .blog-wrapper h2,
    .moments-wrapper h2,
    .contact-wrapper h2 {
        font-size: 26px;
    }

    .header-main__content {
        margin-top: 100px;
    }

    .header-main__content img {
        margin-top: 0;
    }

    .header-logo.desktop {
        padding: 0 40px;
    }

    .our-courses__list_item {
        overflow: hidden;
    }

    .our-courses__list_item .circle {
        background: rgb(182, 31, 49);
        background: linear-gradient(345deg, rgba(182, 31, 49, 1) 0%, rgba(43, 57, 143, 1) 100%);
        -webkit-box-shadow: 0px 0px 60px rgba(0, 0, 0, .3);
        box-shadow: 0px 0px 60px rgba(0, 0, 0, .3);
        text-align: right;
        overflow: hidden;
        width: 230px;
        height: 230px;
        position: relative;
        margin-left: 0;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -10%);
        border-radius: 50%;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .our-courses__list_item .circle img:nth-of-type(2) {
        display: none;
    }

    .our-courses__list_item .circle img:nth-of-type(1) {
        display: block;
        width: 100%;
        object-fit: cover;
        object-position: top;
    }

    .our-courses__list_item .our-courses__price {
        width: 100%;
        position: relative;
    }

    .our-courses__list_item .our-courses__title {
        margin-bottom: 15px;
    }

    .our-courses__list_item .our-courses__title h4 {
        text-align: center;
    }

    .after-courses__image img {
        width: 550px;
    }

    .reviews-block__list .nav.nav-pills .reviews-massage__text {
        padding: 10px;
        font-size: 15px;
    }

    .reviews-block__list .nav.nav-pills .reviews-massage__text.active strong {
        font-size: 15px;
    }

    .moments-slick__slider div .moments-slick__slider_img img {
        height: 200px;
    }

    .blog-block__content .blog-card__item .blog-card__content {
        margin: -45px 10px 0;
    }

    .blog-block__content .blog-card__item .blog-card__content p {
        font-size: 12px;
    }

    .moments-slick__slider.slick-slider .slick-prev {
        left: 35px;
        width: 50px;
        height: 50px;
    }

    .moments-slick__slider.slick-slider .slick-next {
        right: 35px;
        width: 50px;
        height: 50px;
    }

    .blog-modal__close {
        font-size: 35px;
    }

    .blog-card__hiding {
        bottom: 80px;
    }
}

@media only screen and (max-width: 768px) {
    .header-top__menu .header-logo {
        display: none;
    }

    .header-top__menu .header-logo.mobile {
        display: block;
    }

    .header-top__menu .header-logo img {
        width: 80px;
    }

    .header-nav__menu.second,
    .header-nav__menu.first {
        display: none;
    }

    .header-nav__menu.mobile {
        display: flex !important;
        flex-direction: column;
    }

    .header-nav__menu ul li {
        margin-right: 15px;
    }

    .header-nav__menu ul li a {
        font-size: 14px;
    }

    .header-main__content {
        margin-top: 70px;
    }

    .our-courses__list_item .circle {
        width: 240px;
    }

    .reviews-block__list .tab-content {
        display: flex;
        height: 100%;
        align-items: center;
    }

    .blog-card__item {
        margin-bottom: 30px;
    }

    .blog-block__content .show-more {
        margin: 30px auto 0;
    }

    .moments-slick__slider div .moments-slick__slider_img img {
        height: 250px;
    }

    .contact-block__content {
        flex-direction: column-reverse;
    }

    .contact-block__content iframe {
        width: 100%;
        height: 350px;
        flex: none;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-top-right-radius: 30px;
        border-top-left-radius: 30px;
    }

    .contact-block__content .contact-block__content_card {
        width: 100%;
    }

    .contact-block__content .contact-block__content_card .contact-title {
        padding: 15px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .contact-block__content .contact-block__content_card .contact-phone__btn {
        padding: 15px;
    }

    .moments-slick__slider.slick-slider .slick-prev {
        left: 25px;
    }

    .moments-slick__slider.slick-slider .slick-next {
        right: 25px;
    }

    .blog-modal__close {
        font-size: 45px;
    }

    .blog-card__hiding {
        bottom: 51px;
    }
}

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

    .about-us__wrapper h2,
    .our-courses h2,
    .after-courses__wrapper h2,
    .reviews-wrapper h2,
    .blog-wrapper h2,
    .moments-wrapper h2,
    .contact-wrapper h2 {
        font-size: 21px;
    }

    .header-wrapper {
        padding: 30px 0;
        padding-bottom: 80px;
    }

    .header-top__menu .header-logo.mobile {
        margin-bottom: 20px;
    }

    .header-main__content h1 {
        font-size: 31px;
    }

    .header-top__menu {
        flex-direction: column;
    }

    .after-courses__image img {
        width: 100%;
    }

    .reviews-wrapper .circle-figure {
        width: 500px;
    }

    .reviews-wrapper {
        margin-bottom: 70px;
    }

    .reviews-wrapper h2 {
        margin-bottom: 40px;
    }

    .reviews-block__list .accordion {
        display: none;
    }

    .reviews-block__list .tab-content {
        justify-content: center;
    }

    .reviews-wrapper .circle-figure {
        width: 380px;
        top: -15%;
    }

    /* .reviews-block__list .tab-content,
    .reviews-block__list .nav.nav-pills {
        display: none;
    } */

    .blog-wrapper {
        margin-bottom: 70px;
    }

    .blog-wrapper h2 {
        margin-bottom: 40px;
    }

    .blog-block__content .blog-card__item .blog-card__content h4 {
        text-align: left;
    }

    .moments-wrapper h2 {
        margin-bottom: 40px;
    }

    .contact-wrapper h2 {
        margin-bottom: 40px;
    }

    #courses-modal .form-send__wrapper {
        padding: 0 30px;
    }

    .blog-modal__close {
        font-size: 45px;
    }

    .footer-block {
        padding: 0 2px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-block__mobile {
        display: block;
    }

    .footer-block__desktop {
        display: none;
    }
}

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

    .header-top__menu {
        flex-direction: row;
        justify-content: space-between;
    }

    .header-nav__menu.mobile {
        display: none !important;
    }

    .header-top__menu .header-logo.mobile {
        margin-bottom: 0;
    }

    .header_buttons_mobile_group {
        display: flex;
        align-items: center;
    }

    /* Hamburger menu */
    .header-top__menu .button_container {
        display: block;
        position: relative;
        top: 5%;
        right: 2%;
        height: 27px;
        width: 35px;
        cursor: pointer;
        z-index: 100;
        transition: opacity .25s ease;
    }

    .button_container:hover {
        opacity: .7;
    }

    .button_container.active .top {
        transform: translateY(11px) translateX(0) rotate(45deg);
        background: #FFF;
    }

    .button_container.active .middle {
        opacity: 0;
        background: #FFF;
    }

    .button_container.active .bottom {
        transform: translateY(-11px) translateX(0) rotate(-45deg);
        background: #FFF;
    }

    .button_container span {
        background: #313e92;
        border: none;
        height: 5px;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        transition: all .35s ease;
        cursor: pointer;
    }

    .button_container span:nth-of-type(2) {
        top: 11px;
    }

    .button_container span:nth-of-type(3) {
        top: 22px;
    }

    .overlay {
        position: fixed;
        background: #2e3b91;
        top: 0;
        left: 0;
        width: 100%;
        height: 0%;
        opacity: 0;
        visibility: hidden;
        transition: opacity .35s, visibility .35s, height .35s;
        overflow: hidden;
        z-index: 5;
        display: block;
    }

    .overlay.open {
        opacity: .9;
        visibility: visible;
        height: 100%;
    }

    .overlay.open li {
        animation: fadeInRight .5s ease forwards;
        animation-delay: .35s;
    }

    .overlay.open li:nth-of-type(2) {
        animation-delay: .4s;
    }

    .overlay.open li:nth-of-type(3) {
        animation-delay: .45s;
    }

    .overlay.open li:nth-of-type(4) {
        animation-delay: .50s;
    }

    .overlay nav {
        position: relative;
        height: 70%;
        top: 50%;
        transform: translateY(-50%);
        font-size: 50px;
        font-weight: 400;
        text-align: center;
    }

    .overlay ul {
        list-style: none;
        padding: 0;
        margin: 0 auto;
        display: flex;
        position: relative;
        height: 100%;
        flex-direction: column;
        justify-content: center;
    }

    .overlay ul li {
        display: block;
        margin-bottom: 50px;
        height: 25%;
        height: auto;
        position: relative;
        opacity: 0;
    }

    .overlay ul li:last-child {
        margin-bottom: 0;
    }

    .overlay ul li a {
        display: block;
        position: relative;
        color: #FFF;
        text-decoration: none;
        overflow: hidden;
        font-size: 30px;
    }

    @keyframes fadeInRight {
        0% {
            opacity: 0;
            left: 20%;
        }

        100% {
            opacity: 1;
            left: 0;
        }
    }

    .reviews-wrapper .circle-figure {
        width: 380px;
        top: -15%;
    }

    .blog-modal__close {
        font-size: 45px;
    }
}

@media only screen and (max-width: 375px) {
    .header-main__content h1 {
        font-size: 26px;
    }

    .about-us__wrapper p {
        font-size: 14px;
    }

    .moments-slick__slider.slick-slider .slick-prev {
        width: 40px;
        height: 40px;
        left: 25px;
    }

    .moments-slick__slider.slick-slider .slick-next {
        width: 40px;
        height: 40px;
        right: 25px;
    }

    .moments-slick__slider.slick-slider .slick-prev:before, .moments-slick__slider.slick-slider .slick-next:before {
        font-size: 15px;
    }

    .blog-modal__close {
        font-size: 45px;
    }
}

@media only screen and (max-width: 320px) {
    .header-main__content h1 {
        font-size: 24px;
    }

    .header-main__content p {
        font-size: 13px;
    }

    .overlay ul li {
        margin-bottom: 25px;
    }

    .overlay ul li a {
        font-size: 26px;
    }

    .blog-modal__close {
        font-size: 45px;
    }
}
