.show-modal-for-module{
    overflow: hidden;
}
.section-front_course .section-front-content{
    padding: 280px 0 100px;
}

.section-front_course{
    flex-direction: column;
    min-height: auto;
}

.front-course-background{
    position: relative;
    display: block;
    z-index: 1;
    width: auto;
}

.section-front-course-content{
    position: relative;
}

.front-course-elem{
    position: absolute;
}

.front-course-elem-1{
    width: auto;
    left: -100px;
    top: 180px;
}

.front-course-elem-2{
    right: -100px;
    top: 180px;
}

.front-course-elem-3{
    right: -50px;
    bottom: 180px;
}

.front-course-elem-4{
    left: -50px;
    bottom: 180px;
}

.course-info-1{
    display: flex;
    position: absolute;
    bottom: 0;
    left: -250px;
    flex-direction: column;
    align-items: center;
    border-radius: 28px;
    background: #596EF3;
    max-width: max-content;
    padding: 37px 52px;
}

.course-info-1__title{
    font-size: 220px;
    font-weight: 800;
    line-height: 100%;
    letter-spacing: -5px;
    margin: 0 0 -20px 0;
    color: #FFF;
}

.course-info-1__subtitle{
    color: #FFF;
    font-size: 60px;
    font-weight: 800;
    line-height: 62px;
    letter-spacing: -1.2px;
}

.course-info-2{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 125px;
    left: 50px;
    border-radius: 38px;
    background: #F0C733;
    padding: 20px;
    transform: rotate(-25deg);
}

.course-info-2__title{
    font-size: 90px;
    font-weight: 800;
    line-height: 100%;
    letter-spacing: -1.8px;
    margin: 0 0 -10px 0;
    color: #FFF;
}

.course-info-2__subtitle{
    font-size: 30px;
    font-style: normal;
    font-weight: 800;
    line-height: 46px; /* 154.626% */
    letter-spacing: -0.6px;
    color: #FFF;
}

.course-info-3{
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 295px;
    right: -265px;
    border-radius: 20px;
    background: #ADD753;
    min-width: 374px;
    /*max-width: 425px;*/
    transform: rotate(-20deg);
}

.course-info-3__title{
    font-size: 34px;
    font-style: normal;
    font-weight: 800;
    line-height: 42px; /* 123.562% */
    letter-spacing: -0.68px;
    color: #FFF;
    padding: 16px 52px;
}

.course-info-4{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    bottom: 0;
    right: -110px;
    border-radius: 38px;
    background: #1B1B1B;
    padding: 18px 42px;
}

.course-info-4__title{
    font-size: 120px;
    font-style: normal;
    font-weight: 800;
    line-height: 150px;
    letter-spacing: -2.4px;
    margin: 0 0 -20px 0;
    color: #FFF;
}

.course-info-4__subtitle{
    font-size: 45px;
    font-weight: 800;
    line-height: 62px;
    letter-spacing: -0.9px;
    color: #FFF;
}

.course-info-5{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 80px;
    right: -430px;
    border-radius: 26px;
    background: #9C6FE2;
    padding: 18px 32px 0 32px;
    transform: rotate(45deg);
}

.course-info-5__title{
    color: #FFF;
    font-size: 90px;
    font-weight: 800;
    line-height: 148px;
    letter-spacing: -1.8px;
}

.course-info-5__subtitle{
    color: #FFF;
    font-size: 34px;
    font-weight: 800;
    line-height: 34px;
    letter-spacing: -0.68px;
    max-width: 190px;
    margin: 0 0 20px 20px;
}

.section-about-courses{
    position: relative;
    padding: 200px 0;
    background: #707EFF;
    z-index: 0;
}

.section-about-courses:after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 100px 100px 0 0;
    overflow: hidden;
    background-image: url(/wp-content/themes/1IT/img/home/info-background.png);
    pointer-events: none;
    z-index: -1;
}

.about-course-content{
    max-width: 760px;
    margin: 0 0 0 80px;
}

.about-course-content p strong{
    font-size: 32px;
    font-weight: 700;
    line-height: 130%;
    color: #2C2C2C;
}

.about-course-wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-course-content p{
    color: #2C2C2C;
    font-size: 22px;
    font-weight: 600;
    line-height: 29px; /* 132.428% */
    letter-spacing: -0.44px
}

.about-course-content p{
    margin: 0 0 30px;
}

.about-course-content p:last-child{
    margin: 0;
}

.section-program-the-course{
    padding: 180px 0;
    background: #707EFF;
    overflow: hidden;
}

.modules-slider .swiper-navigation-wrap{
    display: none;
}

.modules-wrap{
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 27px;
    grid-row-gap: 44px;
    margin: 112px 0 0;
    max-width: 100%;
}

.module-item{
    display: flex;
    flex-direction: column;
    padding: 52px 40px;
    background: #fff;
    border-radius: 26px;
}

.module-item__title{
    margin: 0 0 12px;
}

.module-item__text,
.module-item p{
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 29px;
    letter-spacing: -0.36px;
    color: #2C2C2C;
}

.module-item-button-wrap{
    margin: auto 0 0;
}

.module-labels,
.module-item ul{
    margin: 30px 0;
    max-width: 465px;
    width: calc(100% + 18px);
    margin-left: -18px;
}

.module-label,
.module-item li{
    display: inline-block;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 29px; /* 182.089% */
    letter-spacing: -0.32px;
    color: #54770A;
    padding: 12px 24px;
    border-radius: 38px;
    background: rgba(173, 215, 83, 0.50);
    margin: 0 0 18px 18px;
    white-space: nowrap;
}

.module-item--pink-label.module-item li{
    background: #F9D4FF;
    color: rgba(142, 24, 161, 1);
}

.module-item--purple-label.module-item li{
    background: #E7DCF8;
    color: #6C3AB9;
}

.module-item.module-item--blue-label li{
    color: #594BF4;
    background: #EAECFC;
}

.module-item.module-item--yellow-label li{
    color: rgba(175, 137, 0, 1);
    background: #FEF9E5;
}

.banner-content-course{
    max-width: 830px;
}

.banner-content-course p{
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 139%;
    color: #2C2C2C;
    margin: 0 0 20px;
}

.banner-content-course p strong{
    font-weight: 800;
}

.banner-content-course li{
    position: relative;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 139%;
    color: #2C2C2C;
    padding: 0 0 0 20px;
}

.banner-content-course li:after{
    content: '';
    position: absolute;
    left: 4px;
    top: 13px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #2C2C2C;
}

.banner-course-img{
    position: absolute;
    bottom: 0;
    right: 70px;
    z-index: 1;
}

.positions-list-item{
    display: flex;
    align-items: center;
    position: absolute;
    border-radius: 14px;
    border: 1px solid rgba(89, 75, 244, 0.37);
    padding: 14px 23px;
}

.positions-list-item:nth-child(1){
    right: 50px;
    top: 70px;
    transform: rotate(10deg);
}

.positions-list-item:nth-child(2){
    right: 220px;
    top: 200px;
    transform: rotate(-5deg);
}

.positions-list-item:nth-child(3){
    right: 50px;
    bottom: 220px;
    transform: rotate(10deg);
}

.positions-list-item:nth-child(4){
    right: 290px;
    bottom: 70px;
    transform: rotate(10deg);
}

.positions-list-item__name{
    font-size: 23px;
    font-weight: 700;
    line-height: normal;
    color: #707EFF;
}

.positions-list-item__company{
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    color: #707EFF;
}

.positions-list-item-info{
    display: flex;
    flex-direction: column;
    margin: 0 20px 0 0;
}

.positions-list-item__img{
    margin: 0 12px 0 0;
}

.positions-list-item__salary{
    font-size: 23px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    color: #54770A;
    border-radius: 10px;
    background: rgba(173, 215, 83, 0.50);
    padding: 6px 10px;
}

.course-author-wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 80px 0 0;
}

.course-author-info{
    width: 100%;
    max-width: 900px;
}

.course-author-position{
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 23px;
    letter-spacing: -0.48px;
    color: #2C2C2C;
    margin: 20px 0 0;
}

.course-author-button-wrap{
    margin: 40px 0 0;
}

.course-author-items{
    display: grid;
    grid-template-columns: 1fr;
    grid-row-gap: 50px;
    grid-column-gap: 40px;
    margin: 70px 0 62px;
}

.course-author-item__img{
    margin: 0 0 22px;
}

.course-author-item__text{
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    color: #2C2C2C;
}

.author-costs-wrap{
    padding-bottom: 0;
}

.section-course-costs{
    padding: 200px 0 60px;
    background: linear-gradient(to bottom, transparent, transparent 80%, #707EFF 80%, #707EFF 100%);
}

.package-item{
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px 40px 48px 40px;
    border-radius: 34px;
    background: #FFF;
}

.package-item__header{
    display: flex;
    align-items: center;
}

.package-item__separator{
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent 50%, #ADD753 50%);
    background-size: 16px 1px !important;
}

.packages-wrap{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 60px;
    margin: 80px 0 0;
}

.package-item__logo{
    position: relative;
    top: -16px;
}

.package-item__info-number{
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: 115%;
    text-transform: uppercase;
    color: #2C2C2C;
}

.package-item__info-name{
    font-size: 56px;
    font-style: normal;
    font-weight: 900;
    line-height: 115%; /* 64.12px */
    text-transform: uppercase;
    color: #2C2C2C;
}

.package-item__benefits{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 32px 0;
    grid-column-gap: 30px;
}

.package-item__benefits-column-header,
.package-item__benefits-column p{
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    color: #9DA2C3;
    margin: 0 0 14px;
}

.package-item__benefits-column ul{
    display: grid;
    grid-template-columns: 1fr;
    grid-row-gap: 14px;
    padding-left: 20px;
}

.package-item__benefits-column li{
    position: relative;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 122%;
    color: #2C2C2C;
}

.package-item__benefits-column li strong{
    display: block;
}

.package-item__benefits-column li:after{
    content: '';
    position: absolute;
    left: -13px;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2C2C2C;
}

.package-item__benefits-column li small{
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    line-height: 126%;
}

.package-item__salary{
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 131%;
    color: #2C2C2C;
}

.package-item__time{
    position: relative;
    font-size: 22px;
    font-weight: 500;
    line-height: 121%;
    color: #2C2C2C;
    padding: 28px 72px;
    border-radius: 15px;
    background: rgba(173, 215, 83, 0.18);
    margin: 35px 0;
}

.package-item__time:after{
    content: '';
    position: absolute;
    left: 24px;
    width: 30px;
    height: 30px;
    top: 0;
    bottom: 4px;
    margin: auto;
    background: center / contain no-repeat url("/wp-content/themes/1IT/img/clock.svg");
}

.package-item__time strong{
    font-size: 22px;
    font-weight: 700;
    line-height: 121%;
    color: #2C2C2C;
}

.package-item__costs{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    font-weight: 500;
    line-height: 100%;
    text-decoration-line: strikethrough;
    color: #9DA2C3;
    text-align: center;
    margin: 0 0 30px;
}

.package-item__costs-discount{
    font-size: 56px;
    font-style: normal;
    font-weight: 900;
    line-height: 100%;
    color: #2C2C2C;
}

.package-item__button-wrap{
    display: flex;
    justify-content: center;
}

.package-item__button-wrap .button-for-action{
    width: 100%;
    max-width: 512px;
    margin: auto;
}

.package-item__costs-wrap{
    margin: auto 0 0;
}

.package-item__the-best{
    position: absolute;
    right: -70px;
    top: -70px;
}

.section-modal-for-module .modal-wrap{
    max-width: 1048px;
    padding: 50px 50px 70px 50px;
    background: #F3F7FC;
    background-image: none;
}

.section-modal-for-module .modal-content{
    max-width: 100%;
    margin: 0;
}

.section-modal-for-module .close{
    top: 30px;
    right: 36px;
    width: 46px;
    height: 46px;
}

.section-modal-for-module .close-modal__icon{
    max-width: 100%;
}

/* editor text style */

.editor-module-styles h2{
    font-size: 64px;
    font-style: normal;
    font-weight: 900;
    line-height: 114%;
    text-transform: uppercase;
    color: #2C2C2C;
    margin: 0 0 34px;
}

.editor-module-styles h3{
    font-size: 36px;
    font-style: normal;
    font-weight: 900;
    line-height: 114%; /* 41.04px */
    text-transform: uppercase;
    color: #6B7FFF;
    margin: 0 0 32px;
}

.section-modal-for-module--pink h3{
    color: #8E18A1;
}

.section-modal-for-module--purple h3{
    color: #6C3AB9;
}

.section-modal-for-module--green h3{
    color: #54770A;
}

.section-modal-for-module--yellow h3{
    color: #AF8900;
}

.editor-module-styles h4{
    color: #2C2C2C;
    font-size: 22px;
    font-style: normal;
    font-weight: 800;
    line-height: 114%;
    text-transform: uppercase;
    margin: 17px 0;
}

.editor-module-styles p{
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 114%;
    color: #2C2C2C;
    margin: 0 0 10px;
}

.section-modal-for-module .modal-content{
    max-height: calc(80vh - 200px);
    overflow: auto;
    padding: 0 20px;
    margin: 40px 0 0;
    scrollbar-color: #594BF4 rgba(157, 162, 195, 0.27);
    scrollbar-width: thin;
}

.section-modal-for-module::-moz-scrollbar-thumb {
    height: 30px;
    background-color: #594BF4;
}

.section-modal-for-module .modal-content::-webkit-scrollbar{
    width: 6px;
}
.section-modal-for-module .modal-content::-webkit-scrollbar-track{
    background: rgba(157, 162, 195, 0.27);
}

.section-modal-for-module .modal-content::-webkit-scrollbar-thumb{
    background: #594BF4;
}

.modal-content-button-wrap{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0 0;
}

@media (max-width: 1719px) {
    .title-for-course{
        font-size: 88px;
    }
    .about-course__img{
        width: 590px;
        height: auto;
    }

    .about-course-content p strong{
        font-size: 22px;
    }

    .about-course-content p{
        font-size: 16px;
    }

    .module-item__title{
        font-size: 60px;
    }

    .module-item p{
        font-size: 14px;
    }

    .module-item{
        padding: 42px 32px;
    }

    .module-label,
    .module-item li{
        font-size: 14px;
        margin: 0 0 14px 14px;
        padding: 8px 19px;
    }

    .modules-wrap{
        margin: 65px 0 0;
    }

    .banner-course-img{
        max-width: 600px;
        height: auto;
    }

    .positions-list-item__name{
        font-size: 15px;
    }

    .positions-list-item__company{
        font-size: 9px;
    }

    .positions-list-item{
        padding: 9px 15px;
    }

    .positions-list-item__salary{
        font-size: 15px;
    }

    .positions-list-item__img{
        width: 35px;
        height: 35px;
    }

    .single-courses .banner-wrap{
        padding: 24px 50px;
    }

    .course-author-img{
        max-width: 450px;
        height: auto;
    }

    .course-author-info{
        max-width: 750px;
    }

    .package-item{
        padding: 20px 26px 48px 26px;
    }

}

@media (max-width: 1399px) {
    .title-for-course{
        font-size: 73px;
    }

    .subtitle-for-course{
        font-size: 16px;
    }

    .section-about-courses{
        padding: 120px 0;
    }

    .section-about-courses:after{
        border-radius: 40px 40px 0 0;
    }

    .author-costs-wrap{
        border-radius: 40px 40px 0 0;
    }

    .course-info-1{
        left: -175px;
    }

    .course-info-1__title{
        font-size: 160px;
    }

    .course-info-1__subtitle{
        font-size: 43px;
    }

    .course-info-2{
        top: 145px;
    }

    .course-info-2__title{
        font-size: 64px;
    }

    .course-info-2__subtitle{
        font-size: 22px;
    }

    .course-info-3{
        min-width: 350px;
        bottom: 265px;
        right: -240px;
    }

    .course-info-3__title{
        font-size: 24px;
        line-height: 28px;
    }

    .course-info-4{
        right: -100px;
    }

    .course-info-4__title{
        font-size: 90px;
        line-height: 110px;
    }

    .course-info-4__subtitle{
        font-size: 32px;
    }

    .course-info-5{
        right: -370px;
    }

    .course-info-5__title{
        font-size: 64px;
        line-height: 105px;
    }

    .course-info-5__subtitle{
        font-size: 24px;
        line-height: 28px;
    }

    .modules-wrap{
        grid-template-columns: repeat(2, 1fr);
    }

    .section-program-the-course{
        padding: 100px 0;
    }

    .banner-course-img{
        max-width: 500px;
    }

    .banner-content-course p,
    .banner-content-course li{
        font-size: 18px;
        max-width: 584px;
    }

    .positions-list-item:nth-child(1){
        top: 125px;
    }

    .positions-list-item:nth-child(3){
        bottom: 180px;
    }

    .positions-list-item:nth-child(4){
        right: 265px;
        bottom: 45px;
    }

    .author-costs-wrap{
        padding: 120px 0 0;
    }

    .course-author-img{
        width: 374px;
    }

    .course-author-info {
        max-width: 695px;
    }

    .course-author-wrap{
        margin: 64px 0 0;
    }

    .course-author-position{
        font-size: 20px;
    }

    .section-course-costs{
        padding: 160px 0 60px;
    }

    .packages-wrap{
        grid-column-gap: 50px;
    }

    .package-item__info-number{
        font-size: 18px;
    }

    .package-item__info-name{
        font-size: 34px;
    }

    .package-item__logo{
        width: 124px;
        height: auto;
    }

    .package-item__benefits-column p{
        font-size: 12px;
    }

    .package-item__benefits-column li{
        font-size: 14px;
    }

    .package-item__salary{
        font-size: 16px;
    }

    .package-item__time{
        font-size: 16px;
        margin: 24px 0;
        padding: 15px 67px;
    }

    .package-item__costs{
        font-size: 22px;
    }

    .package-item__costs-discount{
        font-size: 36px;
    }

    .package-item__button-wrap .button-for-action{
        height: 50px;
        max-width: 400px;
    }

    .package-item__the-best{
        width: 120px;
        height: 120px;
        right: -50px;
        top: -50px;
    }

    .editor-module-styles h2{
        font-size: 42px;
        margin: 0 0 24px;
    }

    .editor-module-styles h3{
        font-size: 28px;
        margin: 0 0 24px;
    }

    .editor-module-styles h4{
        margin: 24px 0 17px;
    }
}

@media (max-width: 1199px) {
    .title-for-course{
        max-width: 800px;
        margin: auto;
    }

    .front-course-elem-1{
        left: 0;
    }

    .front-course-elem-2{
        right: 0;
    }

    .front-course-elem-3{
        right: 0;
        bottom: 0;
    }

    .front-course-elem-4{
        left: 0;
        bottom: 0;
    }

    .front-course-background{
        max-width: 400px;
        height: auto;
    }

    .about-course-content{
        margin: 0 0 0 64px;
    }

    .course-info-1{
        left: -120px;
        padding: 25px 35px;
    }

    .course-info-1__title{
        font-size: 108px;
        line-height: 120px;
    }

    .course-info-1__subtitle{
        font-size: 29px;
        line-height: 36px;
    }

    .course-info-2{
        border-radius: 20px;
        top: 135px;
        left: 35px;
    }

    .course-info-2__title{
        font-size: 44px;
        line-height: 54px;
    }

    .course-info-2__subtitle{
        font-size: 15px;
        line-height: 20px;
    }

    .course-info-3{
        bottom: 210px;
        min-width: 265px;
        right: -175px;
    }

    .course-info-3__title{
        font-size: 19px;
        line-height: 25px;
    }

    .course-info-4{
        right: -70px;
        border-radius: 20px;
    }

    .course-info-4__title{
        font-size: 59px;
        line-height: 90px;
    }

    .course-info-4__subtitle{
        font-size: 22px;
        line-height: 28px;
    }

    .course-info-5{
        right: -265px;
        bottom: 70px;
    }

    .course-info-5__title{
        font-size: 44px;
        line-height: 56px;
    }

    .course-info-5__subtitle{
        font-size: 17px;
        line-height: 22px;
        max-width: 140px;
    }

    .about-course__img{
        max-width: 400px;
    }

    .banner-content-course p,
    .banner-content-course li{
        max-width: 100%;
    }

    .banner-course-img{
        right: 20px;
    }

    .positions-list-item:nth-child(1) {
        top: 200px;
        right: 20px;
    }

    .positions-list-item:nth-child(2) {
        right: 136px;
        top: 277px;
        transform: rotate(-5deg);
    }

    .positions-list-item:nth-child(3) {
        bottom: 55px;
        right: 16px;
    }

    .positions-list-item:nth-child(4) {
        right: 242px;
        bottom: 19px;
    }

    .course-author-info {
        max-width: 515px;
    }

    .course-author-item__text{
        font-size: 16px;
    }

    .course-author-items{
        grid-column-gap: 26px;
    }

    .course-author-info .h3{
        font-size: 42px;
    }

    .packages-wrap{
        grid-column-gap: 32px;
        margin: 68px 0 0;
    }

    .package-item__the-best{
        right: -40px;
        top: -40px;
    }
}

@media (max-width: 991px) {
    .front-course-background{
        max-width: 330px;
    }

    .front-course-elem{
        transform: scale(0.8);
    }
    .modules-wrap{
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 65px auto 0;
    }

    .subtitle-for-course{
        max-width: 540px;
    }

    .front-course-elem-2,
    .front-course-elem-3{
        right: 30px;
    }

    .front-course-elem-1,
    .front-course-elem-4{
        left: 30px;
    }

    .course-info-2{
        top: 88px;
        left: 25px;
    }

    .course-info-3{
        min-width: 250px;
        right: -160px;
        bottom: 180px;
    }

    .course-info-3__title{
        padding: 16px 38px;
    }

    .course-info-4{
        padding: 12px 33px;
    }

    .course-info-5{
        max-width: 200px;
        right: -233px;
        bottom: 65px;
    }

    .about-course-wrap{
        align-items: flex-start;
    }

    .about-course-content{
        max-width: 400px;
        margin: 0 0 0 32px;
    }

    .about-course__img{
        width: 100%;
        max-width: 290;
        object-fit: cover;
        object-position: top;
        border-radius: 20px;
    }

    .section-about-courses{
        padding: 100px 0;
    }

    .packages-wrap{
        grid-template-columns: 1fr;
        grid-row-gap: 36px;
    }

    .package-item__the-best {
        right: -30px;
        top: -30px;
    }

    .author-costs-wrap {
        padding: 90px 0 0;
    }

    .course-author-wrap{
        flex-wrap: wrap;
        margin: 34px 0 0;
    }

    .course-author-info{
        max-width: 100%;
        margin: 34px 0 0;
    }

    .course-author-img{
        width: 100%;
        max-width: 100%;
        height: 324px;
        object-fit: cover;
        object-position: top;
        border-radius: 28px;
    }

    .course-author-wrap picture{
        width: 100%;
    }

    .course-author-items{
        grid-template-columns: repeat(2, 1fr);
        grid-row-gap: 40px;
    }

    .course-author-button-wrap{
        display: flex;
        justify-content: flex-end;
        margin: -110px 0 0;
    }


    .banner-course-img{
        position: relative;
        display: block;
        margin: 40px 0 0 auto;
        right: 0;
        bottom: -24px;
    }

    .positions-list-item:nth-child(1) {
        top: auto;
        bottom: 340px;
        right: 20px;
    }

    .positions-list-item:nth-child(2){
        top: auto;
        bottom: 275px;
        right: 300px;
    }

    .positions-list-item:nth-child(3){
        bottom: 135px;
    }

    .positions-list-item:nth-child(4){
        right: 337px;
        bottom: 47px;
    }

}

@media (max-width: 767px) {
    .title-for-course{
        max-width: 500px;
        font-size: 50px;
    }
    .about-course__img{
        max-width: max-content;
        height: auto;
    }

    .about-course-wrap{
        flex-wrap: wrap;
    }

    .about-course-content{
        max-width: 100%;
        margin: 50px 0 0 0;
    }

    .course-author-items{
        grid-template-columns: 1fr;
    }

    .course-author-img{
        border-radius: 18px;
    }

    .course-author-button-wrap{
        justify-content: flex-start;
        margin: 40px 0 0;
    }

    .course-info-1{
        padding: 14px 32px;
        left: -70px;
    }

    .course-info-1__title{
        font-size: 96px;
    }

    .course-info-1__subtitle{
        font-size: 26px;
    }

    .course-info-2{
        padding: 10px;
        top: 58px;
        left: 35px;
    }

    .course-info-2__title{
        font-size: 40px;
    }

    .course-info-2__subtitle{
        font-size: 14px;
    }

    .course-info-3{
        min-width: 170px;
        right: -100px;
        bottom: 135px;
        border-radius: 12px;
    }

    .course-info-3__title{
        font-size: 14px;
        line-height: 20px;
        padding: 8px 23px;
    }

    .course-info-4{
        padding: 15px 24px;
        right: -45px;
    }

    .course-info-4__title{
        font-size: 52px;
        line-height: 60px;
    }

    .course-info-4__subtitle{
        font-size: 20px;
        margin: 10px 0 0;
    }

    .course-info-5{
        right: -38px;
        bottom: 230px;
        transform: rotate(20deg);
        border-radius: 12px;
    }

    .course-info-5__title{
        padding: 0 0 5px;
    }

    .course-info-5__subtitle{
        line-height: 19px;
    }

    .banner-course-img{
        max-width: 400px;
        margin: 40px auto auto;
    }

    .section-program-the-course{
        overflow: hidden;
    }

    .single-courses .banner-wrap{
        padding: 24px 20px;
    }

    .positions-list-item{
        padding: 6px 10px;
        border-radius: 6px;
    }

    .positions-list-item__name{
        font-size: 10px;
    }

    .positions-list-item__company{
        font-size: 6px;
    }

    .positions-list-item__salary{
        font-size: 10px;
    }

    .positions-list-item__img{
        width: 30px;
        height: 30px;
    }

    .positions-list-item:nth-child(1){
        bottom: 230px;
    }

    .positions-list-item:nth-child(2){
        bottom: 214px;
        right: 272px;
    }

    .positions-list-item:nth-child(3){
        bottom: 100px;
    }

    .positions-list-item:nth-child(4){
        right: 240px;
    }
}

@media (max-width: 575px) {
    .section-front_course .section-front-content {
        padding: 190px 0 100px;
    }

    .title-for-course{
        font-size: 41px;
    }

    .subtitle-for-course{
        max-width: 360px;
    }

    .front-course-elem-1,
    .front-course-elem-2{
        top: 90px;
    }

    .front-course-elem-1,
    .front-course-elem-4{
        left: 12px;
    }

    .front-course-elem-2,
    .front-course-elem-3 {
        right: 12px;
    }

    .section-about-courses{
        padding: 80px 0;
    }

    .modules-wrap{
        margin: 40px auto 0;
    }

    .module-item{
        max-width: calc(100vw - 24px);
        padding: 20px 16px;
        border-radius: 12px;
    }

    .module-item__title {
        font-size: 40px;
    }

    .course-author-img{
        height: calc(100vw / 2);
    }

    .banner-course-img{
        max-width: 300px;
        margin: 120px auto auto;
    }

    .course-author-info .h3 {
        font-size: 36px;
    }

    .course-author-position {
        font-size: 16px;
    }

    .course-author-items{
        margin: 30px 0;
        grid-row-gap: 30px;
    }

    .section-course-costs {
        padding: 100px 0 60px;
    }

    .module-label, .module-item li{
        font-size: 12px;
    }

    .positions-list-item{
        left: 0;
        right: 0;
        margin: auto;
        max-width: max-content;
    }

    .positions-list-item:nth-child(1){
        right: -130px;
        bottom: 240px;
        transform: rotate(5deg);
    }

    .positions-list-item:nth-child(2){
        right: 130px;
        bottom: 175px;
        transform: rotate(-5deg);
    }

    .positions-list-item:nth-child(3){
        right: -130px;
    }

    .positions-list-item:nth-child(4){
        right: 130px;
    }

    .banner-content-course p,
    .banner-content-course li{
        font-size: 16px;
        margin: 0 0 16px;
    }

    .banner-content-course li:after{
        top: 9px;
    }

    .packages-wrap{
        margin: 40px 0 0;
    }

    .package-item {
        padding: 10px 16px 38px 16px;
        border-radius: 14px;
    }

    .package-item__info-number{
        font-size: 14px;
        margin: 0 0 7px;
    }

    .package-item__info-name{
        font-size: 30px;
    }

    .package-item__logo{
        width: 80px;
        height: 80px;
        top: -7px;
    }

    .package-item__the-best{
        width: 80px;
        height: 80px;
        right: -20px;
        top: -20px;
    }

    .package-item__benefits{
        grid-template-columns: 1fr;
        grid-row-gap: 14px;
    }

    .section-course-costs{
        padding: 100px 0 20px;
    }

    .author-costs-wrap {
        border-radius: 30px 30px 0 0;
    }

    .section-modal-for-module .modal-wrap{
        padding: 40px 24px 45px 22px;
        border-radius: 30px;
    }

    .modal-wrap:after {
        border-radius: 22px;
    }

    .editor-module-styles h2{
        font-size: 36px;
        margin: 0 0 20px;
    }

    .editor-module-styles h3{
        font-size: 22px;
        margin: 0 0 20px;
    }

    .editor-module-styles h4{
        font-size: 18px;
        margin: 20px 0 14px;
    }

    .editor-module-styles p{
        font-size: 14px;
    }

    .section-modal-for-module .close{
        right: 16px;
    }

    .section-modal-for-module .modal-content{
        padding: 0 10px;
    }

    .section-modal-for-module .button-for-action{
        font-size: 12px;
    }

    .modules-slider{
        max-width: 480px;
        margin: auto;
    }

    .modules-wrap{
        display: flex;
        grid-column-gap: 0;
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .modules-slider .swiper-navigation-wrap{
        display: flex;
        color: #fff;
    }

}

@media (max-width: 375px) {
    .section-front_course .section-front-content {
        margin: 0 0 50px;
    }
    .subtitle-for-course {
        max-width: 300px;
    }
    .front-course-elem {
        transform: scale(0.6);
    }

    .front-course-background{
        max-width: 220px;
    }

    .course-info-1__title{
        font-size: 72px;
        line-height: 80px;
    }

    .course-info-1__subtitle{
        font-size: 20px;
    }

    .course-info-2{
        border-radius: 10px;
    }

    .course-info-2__title{
        font-size: 30px;
        line-height: 40px;
    }

    .course-info-2__subtitle{
        font-size: 10px;
    }

    .course-info-3{
        right: -78px;
        min-width: 140px;
        bottom: 111px;
    }

    .course-info-3__title{
        font-size: 11px;
        line-height: 16px;
    }

    .course-info-4__title{
        font-size: 40px;
        line-height: 50px;
    }

    .course-info-4__subtitle{
        font-size: 14px;
    }

    .course-info-5{
        max-width: 125px;
        padding: 7px 11px 0 19px;
        right: 5px;
        bottom: 190px;
    }

    .course-info-5__title{
        font-size: 30px;
        line-height: 40px;
    }

    .course-info-5__subtitle{
        font-size: 12px;
        line-height: 14px;
        margin: 0 0 10px 11px;
    }

    .section-about-courses {
        padding: 40px 0;
    }

    .section-about-courses:after {
        border-radius: 22px 22px 0 0;
    }

    .about-course-content p strong {
        font-size: 18px;
    }

    .about-course-content p{
        font-size: 14px;
        margin: 0 0 22px;
    }

    .about-course-content{
        margin: 30px 0 0;
    }

    .section-program-the-course {
        padding: 60px 0;
    }

    .module-item__title {
        font-size: 32px;
    }

    .module-item p {
        font-size: 12px;
        line-height: 16px;
    }

    .module-label, .module-item li {
        font-size: 10px;
        padding: 4px 14px;
    }

    .banner__title{
        font-size: 24px;
    }

    .single-courses .banner-wrap{
        overflow: hidden;
    }

    .banner-wrap{
        border-radius: 12px;
    }

    .banner-content-course p, .banner-content-course li {
        font-size: 14px;
        margin: 0 0 14px;
    }

    .author-costs-wrap {
        padding: 60px 0 0;
    }

    .section-course-author .h1{
        font-size: 42px;
    }

    .course-author-info .h3 {
        font-size: 30px;
    }

    .course-author-position {
        font-size: 14px;
    }

    .course-author-item__text {
        font-size: 14px;
    }

    .course-author-item__img{
        width: 36px;
        height: 36px;
    }

    .package-item__info-number{
        font-size: 12px;
    }

    .package-item__info-name{
        font-size: 26px;
    }

    .package-item__benefits-column p {
        font-size: 10px;
    }

    .package-item__benefits-column li:after{
        top: 4px;
        width: 5px;
        height: 5px;
    }

    .package-item__benefits-column li{
        font-size: 12px;
    }

    .package-item__salary {
        font-size: 14px;
    }

    .package-item__time{
        padding-right: 20px;
    }

    .package-item__time,
    .package-item__time strong{
        font-size: 14px;
    }

    .package-item__costs{
        font-size: 16px;
    }

    .package-item__costs-discount{
        font-size: 28px;
    }

    .single-courses .section-banner .button-for-action{
        width: 100%;
        max-width: 100%;
    }

    .editor-module-styles h2{
        font-size: 28px;
        margin: 0 0 12px;
    }

    .editor-module-styles h3 {
        font-size: 18px;
        margin: 0 0 12px;
    }

    .editor-module-styles h4{
        font-size: 16px;
    }

    .modal-content-button-wrap{
        margin: 20px 0 0;
    }
}

