body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;

    margin: 0 !important;
    padding: 0 !important;

    background: url('/images/courses-test-images/bg-1.png') no-repeat;
    background-position: top 130px left 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 !important;
    padding: 0 !important;
}

p {
    margin: 0 !important;
    padding: 0 !important;
}

*, :after, :before {
    box-sizing: border-box;
}

.courses-main {
    background: url('/images/courses-test-images/bg-2.png') no-repeat;
    background-position: top 300px left 0;
}

.courses-container {
    width: 100%;
    max-width: 1360px;

    margin: 0 auto;
}

.mastering-courses {
    margin-bottom: 140px;
}

.mastering-courses__file-path a, .mastering-courses__file-path span {
    font-family: 'Open Sans';
    font-size: 11px;
    font-weight: 600;
    color: rgba(26, 32, 44, 0.4);

    text-decoration: none;
    margin-right: 5px;
}

.mastering-courses__file-path a:hover, .mastering-courses__file-path span:hover {
    text-decoration: none;
    color: #e63756;
}

.mastering-courses__header-inner {
    display: flex;

    margin-top: 25px;
}

.mastering-courses__main-header h1 {
    margin-bottom: 49.5px !important;

    font-family: 'Rubik';
    font-size: 44px;
    font-weight: 500;
    letter-spacing: normal;

    color: #1a202c;
}

.mastering-courses__header-descr {
    width: 427px;
}

.mastering-courses__file-path {
    margin-bottom: 92px;
}

.mastering-courses__description p {
    font-family: 'Open Sans';
    font-size: 21px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.71;
    letter-spacing: normal;
    text-align: left;
    color: #888f9c;
}

.header-picture {
    margin-top: 45px;
    margin-left: 205px;

}

.block-course {
    display: flex;

    position: relative;
}

.block-course__images {
    position: relative;
}

.video-course-main-img {
    margin-bottom: 238px;

    max-width: 455px;
    border-radius: 20px;
    border: solid 6px #ffffff;
    background-color: #d1d1d1;

    position: relative;
}

.play-button {
    border: none !important;
    border-radius: 0 !important;
    background: none !important;

    position: absolute;
    left: 194px;
    top: 94px;

    cursor: pointer;
}

.play-button:hover {
    transform: scale(1.1);
}

#rules-info--image-iframe2 {
    width: 467px !important;
    height: 465px !important;
    text-align: center !important;
    display: none;
    margin: 0 auto;
}

.video-course-2-img {
    max-width: 360.5px;

    position: absolute;
    top: 155px;
    left: 192px;

    border-radius: 20px;
    border: solid 6px #ffffff;

    box-shadow: 0px 12.5px 73.5px 0 rgba(4, 26, 53, 0.24);
}

.block-course__info {
    margin-left: 176px;

    position: relative;
}

.block-course__info h2 {
    font-family: 'Rubik';
    font-size: 32px;
    font-weight: 500;

    letter-spacing: -0.32px;
    color: #041a35;
}

.info-hr {
    margin: 19.5px 0 27px 0;

    width: 98px;
    height: 4px;
    display: inline-block;
    background-image: linear-gradient(to right, #ffe082, #ff8fa3);
    border: none;
}

.block-course__info-inner {
    display: flex;
}

.block-course__info-image {
    margin-right: 30px;
    margin-top: 9px;
    padding: 12.5px;

    height: 100%;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 6.7px 6.7px 46px 0 rgba(36, 42, 55, 0.14);

    display: flex;
    align-items: center;
}

.block-course__info-descr p {
    font-family: 'Open Sans';
    font-size: 16px;
    line-height: 1.75;
    
    text-align: left;
    color: #4a5568;
}

.block-course__info-inner {
    margin-bottom: 26px;
}

.block-course__info-button {
    width: 255px;
    height: 50px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background-color: #e63756;

    text-decoration: none;

    font-family: 'Open Sans';
    font-size: 16px;
    font-weight: 600;
    color: #fffefe;

    transition: all .5s ease;
}

.head-slider-text--buttons---mail {
    display: inline-flex !important;
}

.block-course__info-button-small {
    margin-right: 33px;
    
    width: 213px;
    height: 50px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background-color: #e63756;

    text-decoration: none;

    font-family: 'Open Sans';
    font-size: 16px;
    font-weight: 600;
    color: #fffefe;

    transition: all .5s ease;
}

.block-course__info-button-small:hover {
    text-decoration: none;
    color: #fffefe;
    background: #F03052;
    box-shadow: 0px 14.8458px 24.3895px rgb(255 136 157 / 40%);
}

.block-course__info-button:hover {
    text-decoration: none;
    color: #fffefe;
    background: #F03052;
    box-shadow: 0px 14.8458px 24.3895px rgb(255 136 157 / 40%);
}

.block-course__more-details {
    margin-right: 13.5px;

    display: inline-flex;

    font-family: 'Open Sans';
    font-size: 16px;
    font-weight: 600;
    color: #e63756;

    text-decoration: none;
}

.block-course__more-details:hover {
    text-decoration: none;
    color: #e63756;
}

.block-course__more-details span img {
    width: 11px;
    height: 19px;

    margin-left: 13.5px;
}

.video-course-1-img {
    max-width: 455px;

    position: absolute;
    left: 100px;
    top: 107px;

    border-radius: 20px;
    border: solid 6px #ffffff;
}

.video-course-main2-img {
    margin-bottom: 293px;

    box-shadow: 0px 12.5px 73.5px 0 rgba(4, 26, 53, 0.24);

    max-width: 360.5px;
}

.block-course__info-2 {
    margin-left: 270px;
}

.spot-1 {
    background: url('/images/courses-test-images/spot-1.png') no-repeat;

    width: 100%;
    height: 100%;
    position: absolute;
    left: -128px;
    top: 190px;
}

.spot-2 {
    background: url('/images/courses-test-images/spot-2.png') no-repeat;

    width: 100%;
    height: 100%;
    position: absolute;
    left: -20px;
    top: 20px;
    z-index: -1;
}

.light-hr {
    width: 100%;
    height: 1px;

    border-radius: 0.3px;
    background-color: #e7ecf4;
    border: none;
}

.header-picture_hidden {
    display: none;
}

.block-course__info-hidden {
    display: none;
}

.block-course__info-buttons--hidden {
    display: none;
}

.spot-1--hidden {
    display: none;

    background: url('/images/courses-test-images/spot-1.png') no-repeat;

    width: 100%;
    height: 100%;
    position: absolute;
    left: -128px;
    top: 190px;
}

@media screen and (max-width: 1400px) {
    .courses-container {
        max-width: 1140px;
    }

    .video-course-main-img {
        margin-bottom: 195px;
    }

    .block-course__images-configurator > .video-course-main-img {
        margin-bottom: 270px;
    }

    .video-course-main2-img {
        margin-bottom: 385px;
    }

    .block-course__images-manager > .video-course-main2-img {
        margin-bottom: 265px !important;
    }
    
}

@media screen and (max-width: 1200px) {
    .courses-container {
        max-width: 95%;
    }

    .header-picture img {
        transform: scale(0.8);
    }

    .video-course-main-img {
        transform: scale(0.9);
    }

    .video-course-2-img {
        transform: scale(0.9);
    }

    .header-picture {
        margin-left: 150px;
    }

    .mastering-courses__description p {
        font-size: 20px;
    }

    .block-course__info-descr p {
        font-size: 14px;
    }

    .block-course__info-button-small {
        margin-right: 20px;
    }

    .block-course__info {
        margin-left: 150px;
    }

    .block-course__info-2 {
        margin-left: 258px;
    }

    .block-course__info-boss {
        margin-left: 164px;
    }

    .block-course__images-configurator > .video-course-main-img {
        margin-bottom: 300px;
    }

    .video-course-main2-img {
        margin-bottom: 415px;
    }

    .head-slider-text--buttons---mail {
        margin-bottom: 20px;
    }

    .header-picture {
        width: 445px;
    }

    body {
        background-size: 100%;
    }

    .courses-main {
        background-size: 100%;
    }

    .header-picture img {
        transform: none;
        width: 400px;
    }

    .header-picture {
        margin-top: 90px;
    }
}

@media screen and (max-width: 1040px) {
    body {
        background-size: 1200px auto;
    }

    .courses-main {
        background-size: 1200px auto;
    }
    
    .courses-container {
        max-width: 95%;
    }

    .mastering-courses__main-header h1 {
        font-size: 32px !important;
    }

    .mastering-courses__description p {
        font-size: 18px !important;
        text-align: center;

        color: #4a5568;
    }

    .mastering-courses__header-inner {
        display: inline-block;
    }

    .courses-container {
        text-align: center;
    }

    .mastering-courses__header-descr {
        display: inline-block;
        width: 100%;
        max-width: 440px;
    }

    .header-picture {
        display: none;
    }

    .header-picture_hidden {
        display: block;
        margin-bottom: 45px;
    }

    .header-picture_hidden img {
        width: 350px;
    }

    .mastering-courses__file-path {
        margin-bottom: 40px;
    }

    .mastering-courses {
        margin-bottom: 90px;
    }

    .block-course__info {
        display: none;
    }

    .block-course__info-hidden {
        display: inline-block;
    }

    .block-course {
        display: inline-block;

        width: 100%;
        max-width: 500px;
    }

    .block-course__info {
        margin-left: 0;
    }

    .block-course__info-2 {
        margin-left: 0;
    }

    .block-course__info-boss {
        margin-left: 0;
    }

    .block-course__info-buttons--hidden {
        display: inline-block;
        width: 100%;
        max-width: 335px;
    }

    

    .video-course-main-img {
        margin-bottom: 140px;

        max-width: 420px;
    } 

    .block-course__images-configurator > .video-course-main-img {
        margin-bottom: 140px;
    }

    .video-course-1-img {
        max-width: 378px;
    }

    .video-course-main2-img {
        margin-bottom: 200px;
        max-width: 320px;
        
    }

    .video-course-2-img {
        left: 155px;
        max-width: 320px;
    }

    .play-button {
        left: 155px;
    }

    .block-course__images-manager > .video-course-main2-img {
        margin-bottom: 170px !important;
    }

    .block-course__images {
        text-align: left;
    }

    .block-course__info-button-small {
        display: flex;
        margin-right: 0;
        margin-bottom: 18px;

        width: 100%;
    }

    .block-course__more-details {
        margin-right: 0;
        margin-bottom: 80px;
    }

    .block-course__info-inner {
        display: inline-block;

        margin-bottom: 35px;
    }

    .block-course__info-image {
        width: fit-content;
        margin-right: 0;
        margin: auto;
        margin-bottom: 20.5px;
    }

    .block-course__info-descr p {
        text-align: center;
        font-size: 16px;
    }

    .head-slider-text--buttons---mail {
        width: 100% !important;
    }

    .block-course__info-button {
        width: 100%;

        margin-bottom: 100px;
    }

    .spot-1 {
        display: none;
    }

    .spot-1--hidden {
        display: block;

        width: 609px;
        left: -60px;
        top: 290px;
        z-index: -1;
    }

    .spot-2 {
        width: 609px;
        left: -75px;
        top: 135px;
    }

    .mastering-courses__header-inner {
        margin-top: 0;
    }

    .block-course__info h2 {
        font-size: 28px;
    }
}

@media screen and (max-width: 990px) {
    .courses-container {
        max-width: 95%;
    }
}

@media screen and (max-width: 640px) {
    .courses-container {
        max-width: 90%;
    }

    .header-menu {
        width: 90% !important;
    }

    #rules-info--image-iframe2 {
        margin: 0;

        width: 500px !important;
        height: 320px !important;
    }

    #rules-info--image-iframe2 iframe {
        width: 400px;
        height: 225px;
    }
}

@media screen and (max-width: 510px) {
    
}


@media screen and (max-width: 500px) {
    .header-picture_hidden img {
        width: 287px;
    }

    .mastering-courses__main-header h1 {
        margin-bottom: 33px !important;
    }

    .mastering-courses__description p {
        font-size: 16px;
    }

    .play-button {
        width: 157px;
        left: 130px;
        top: 57px;
    }

    .video-course-main-img {
        max-width: 330px;
        margin-bottom: 140px;
    }

    .block-course__images-configurator > .video-course-main-img {
        max-width: 330px;
        margin-bottom: 100px;
    }

    .video-course-main-img--boss {
        margin-bottom: 100px !important;
    }

    .video-course-2-img {
        max-width: 260px;
        left: 130px;
        top: 105px;
    }

    .video-course-main2-img {
        max-width: 260px;
    }

    .video-course-1-img {
        max-width: 298px;
        left: 66px;
        top: 82px;
    }

    .block-course__images-manager > .video-course-main2-img {
        margin-bottom: 140px !important;
    }

    #rules-info--image-iframe2 {
        width: 437px !important;
        height: 250px !important;
    }

    #rules-info--image-iframe2 iframe {
        width: 350px;
        height: 195px;
    }

    
}

@media screen and (max-width: 440px) {
    .video-course-main-img {
        max-width: 310px;
        margin-bottom: 140px;
    }

    .block-course__images-configurator > .video-course-main-img {
        max-width: 310px;
        margin-bottom: 100px;
    }

    .video-course-2-img {
        max-width: 240px;
        left: 130px;
        top: 105px;
    }

    .video-course-main2-img {
        max-width: 240px;
    }

    .video-course-1-img {
        max-width: 278px;
        left: 66px;
        top: 82px;
    }

    #rules-info--image-iframe2 {
        width: 395px !important;
    }
}

@media screen and (max-width: 420px) {
    .video-course-main-img {
        max-width: 280px;
        margin-bottom: 140px;
    }

    .block-course__images-configurator > .video-course-main-img {
        max-width: 280px;
        margin-bottom: 100px;
    }

    .video-course-2-img {
        max-width: 210px;
        left: 120px;
        top: 90px;
    }

    .video-course-main2-img {
        max-width: 210px;
    }

    .video-course-1-img {
        max-width: 248px;
        left: 58px;
        top: 65px;
    }

    .play-button {
        width: 125px;
        left: 111px;
        top: 57px;
    }

    #rules-info--image-iframe2 {
        width: 350px !important;
    }
}

@media screen and (max-width: 390px) {
    #rules-info--image-iframe2 {
        width: 325px !important;
    }

    #rules-info--image-iframe2 iframe {
        width: 300px;
        height: 170px;
    } 
}

@media screen and (max-width: 360px) {
    .video-course-main-img {
        max-width: 260px;
        margin-bottom: 120px;
    }

    .block-course__images-configurator > .video-course-main-img {
        max-width: 260px;
        margin-bottom: 100px;
    }

    .video-course-2-img {
        max-width: 190px;
        left: 105px;
        top: 85px;
    }

    .video-course-main2-img {
        max-width: 190px;
    }

    .video-course-1-img {
        max-width: 228px;
        left: 58px;
        top: 65px;
    }

    .play-button {
        width: 110px;
        left: 100px;
        top: 57px;
    }

    .block-course__images-configurator > .video-course-main-img {
        margin-bottom: 80px;
    }

    .video-course-main-img--boss {
        margin-bottom: 80px !important;
    }

    .block-course__images-manager > .video-course-main2-img {
        margin-bottom: 120px !important;
    }

    #rules-info--image-iframe2 {
        width: 290px !important;
    }

    #rules-info--image-iframe2 iframe {
        width: 270px;
        height: 154px;
    } 
}

@media screen and (max-width: 320px) {
    .header-picture_hidden img {
        width: 250px;
    }

    .video-course-main-img {
        max-width: 240px;
        margin-bottom: 120px;
    }

    .block-course__images-configurator > .video-course-main-img {
        max-width: 240px;
        margin-bottom: 100px;
    }

    .video-course-2-img {
        max-width: 170px;
        left: 97px;
        top: 80px;
    }

    .video-course-main2-img {
        max-width: 170px;
    }

    .video-course-1-img {
        max-width: 208px;
        left: 44px;
        top: 53px;
    }

    .play-button {
        left: 92px;
    }

    #rules-info--image-iframe2 {
        width: 263px !important;
    }

    #rules-info--image-iframe2 iframe {
        width: 250px;
        height: 143px;
    } 
}

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

}

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

}