

@media (min-width: 1200px) {
    .container {
        max-width: 1330px;
    }
}



@media (max-width: 1200px) {

    .header-button-wrapper {
        display: none;
    }

    .main-title {
        font-size: 75px;
    }

    .first-section .section-title {
        margin-bottom: 15px;
    }

    .first-section .carts-wrapper {
        margin-top: 40px;
    }

    .how-works-platform .section-title,
    .main-directions .section-title{
        margin-bottom: 15px;
    }

    .why-it-works .carts-wrapper__item {
        width: calc(50% - 20px);
    }

    .main-directions .carts-wrapper__item {
        width: calc(50% - 20px);
    }

    .main-ways .carts-wrapper__item {
        width: calc(33.33333333333333% - 20px);
    }

    .main_learning-page .carts-wrapper__item {
        width: 100%;
    }

    .black-block_learning-page .black-block-items {
        margin-top: 30px;
    }

    .black-block-item_horizontal {
        width: 100%;
        justify-content: flex-start;
    }

    .accordion {
        margin-top: 40px;
    }
}

@media (max-width: 992px) {

    .main,
    .section {
        padding: 70px 0;
    }

    .header-nav {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .main-title {
        font-size: 60px;
    }

    .carts-wrapper__item {
        width: 100%;
    }

    .white-cart .index-first-icon {
        display: none;
    }

    .white-cart .index-first-icon_mobile {
        display: block;
    }

    .white-cart .index-second-icon {
        display: none;
    }

    .white-cart .index-second-icon_mobile {
        display: block;
    }

    .business-first-icon,
    .business-second-icon {
        top: 100%;
        transform: translate(0, 20%) rotate(90deg);
        height: 12px;
        width: 54px;
    }

    .business-first-icon {
        right: -15px;
    }

    .business-second-icon {
        left: -15px;
    }

    .main-ways .carts-wrapper__item {
        width: calc(50% - 20px);
    }

    .main .white-cart .white-cart__title {
        margin-bottom: 40px;

    }

    .accordion-item .white-cart__title {
        font-size: 25px;
    }

    .for-who .carts-wrapper__item {
        width: 100%;
    }


    .footer-list__item:last-child {
        margin-bottom: 12px;

    }
    
}

@media (max-width: 769px) {

    .main-title {
        text-align: left;
    }

    .section-title {
        font-size: 42px;
    }

    .main .text_big br {
        display: none;
    }

    .main .text_big {
        text-align: left !important;
    }

    .white-cart__number {
        font-size: 42px;
    }
    
    .main-directions .carts-wrapper__item,
    .why-it-works .carts-wrapper__item,
    .main-ways .carts-wrapper__item,
    .first-section .carts-wrapper__item {
        width: 100%;
    }

    .main-directions .white-cart .white-cart__header {
        margin-bottom: 45px;
    }

    .for-who .section-title,
    .main-ways .section-title,
    .what-do-you-get .section-title,
    .faq .section-title,
    .why-it-works .section-title {
        text-align: left !important;
    }

    .gradient-block {
        padding: 60px 20px;
    }

    .main-ways .white-cart__header {
        margin-bottom: 80px;
    }

    .main-form_horizontal {
        flex-direction: column;
    }

    .main_learning-page .tag-wrapper {
        justify-content: flex-start;
    }

    .accordion-item .white-cart__title {
        font-size: 22px;
    }

    .black-block-item {
        width: 100%;
    }

    .black-block-items .white-cart__title_small {
        font-size: 20px;
    }

    .footer-bottom .text,
    .footer-bottom__link {
        margin-bottom: 15px !important;
    }

}

@media (max-width: 575px) {

    .accordion-item .white-cart__title {
        font-size: 20px;
    }

    .footer {
        padding: 40px 0;
    }

    .footer-top {
        padding-bottom: 28px;
    }

    .footer-top .text {
        margin-bottom: 45px !important;
    }
    

    .footer .logo {
        margin: 0 auto 15px;
    }

    .footer-list__item {
        display: flex;
        justify-content: center;
    }

    .footer-bottom {
        padding-top: 0;
        border-top: none;
    }

    .footer .text,
    .footer-bottom__link {
        text-align: center;
    }
}

@media (max-width: 500px) {

    .gradient-block {
        padding: 40px 20px;
    }

    .gradient-block__buttons {
        flex-wrap: wrap;
    }

    .gradient-block__buttons .main-button {
        min-width: 100%;
    }

    .accordion {
        margin-top: 30px;
    }

    .accordion-item {
        padding: 25px 20px;
    }

    .black-block .section-title {
        margin-bottom: 30px;
    }

    .black-block-item_horizontal {
        padding: 40px 20px;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .main,
    .section {
        padding: 50px 0;
    }

    .main-title {
        font-size: 50px;
        margin-bottom: 15px;
    }

    .section-title {
        font-size: 35px;
    } 

    .carts-wrapper {
        margin-top: 30px;
    }

    .white-cart {
        padding: 30px;
    }

    .white-cart__title {
        font-size: 24px;
    }

    .main .white-cart .white-cart__title {
        font-size: 24px;
    }

    .main .white-cart {
        padding: 20px;
    }

    .why-it-works .white-cart .white-cart__header {
        margin-bottom: 60px;
    }

    .black-block {
        padding: 50px 30px;
    }
}



@media (max-width: 450px) {
    .section-title {
        font-size: 30px;
    }
}

@media (max-width: 400px) {
    .main-title {
        font-size: 45px;
    }

    .accordion-item .white-cart__title {
        font-size: 18px;
    }

    .black-block-items .white-cart__title_small {
        font-size: 18px;
    } 
}

@media (max-width: 375px) {
    .main-title {
        font-size: 42px;
    }
}


