@media (min-width: 0) {
    .modal {
        position: fixed;
        top: 10px;
        width: 100vw;
        overflow-y: scroll;
        max-height: 100vh;
        font-size: 14px;
        line-height: 1.45;
        font-family: "GothamXLight";
        z-index: 50;
        overflow-x: hidden;
        display: none;
    }
    .modal-bg {
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.535);
        z-index: -1;
        position: fixed;
        top: 0;
    }
    .modal__header {
        display: flex;
        justify-content: flex-end;
        padding: 25px 10px;
        opacity: 0.9;
        position: fixed;
        top: 0;
        width: inherit;
        z-index: 2;
    }
    .modal__header-cross {
        max-width: 20px;
        height: fit-content;
        cursor: pointer;       
    }
    .modal__body {
        margin: 0 0 80px 0;
        padding: 40px 0;
        background-color: #fff;
    }
    .modal__title {
        font-size: 28px;
        width: 80%;
        margin: 0 auto;
    } 
    .modal-block__title {
        font-size: 26px;
        text-transform: uppercase;
        border-top: 1px solid rgb(195 195 195);
        border-bottom: 1px solid rgb(195 195 195);
        padding: 30px 0;
        margin: 50px 0;
        text-align: center;
    }
    .modal-block {
        width: 80%;
        margin: 0 auto;
    }
    .modal-block__course-title {
        font-size: 23px;
    }

    .modal-block__course-result {
        font-size: 19px;
        margin: 20px 0 0 0;
    }
    .modal-block__list-title {
        font-size: 19px;
        padding: 20px 0 0 0;
    }
    .modal-list {
        padding: 0 0 0 20px;
    }
    .modal-list__item {
        list-style-type: disc;
    }
    .modal-block__course-subtitle {
        font-size: 22px;
        margin: 20px 0 0 0;

    }
    .modal-block__line {
        border-top: 1px solid rgb(195 195 195);
        margin: 40px 0;
    }
    .modal-block__course-image {
        max-width: 100%;
        padding: 20px 0 0 0;
    }
    .modal-block__course-video {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }
    .modal-block__image-block {
        width: 100%;
        margin: 20px 0 0 0;
        position: relative;
    }
    .modal-block__image-block video {
        width: 100%;
    }
    .modal-block__course-paragraph {
        padding: 15px 0 0 0;
    }
    .modal-block__list-description {
        padding: 15px 0 0 0;
    }
    .pop-up-modal {
        position: fixed;
        bottom: 0;
        color: #1f1c1a;
        background-color: #fff;
        width: 100%;
        padding: 15px 10px;
        border-radius: 10px 10px 0 0;
        z-index: 70;
        transform: translate(0, 100%);
        transition: all ease .4s;
    }
    .pop-up-modal__title {
        font-size: 20px;
        font-family: 'GothamBook';
    }
    .pop-up-modal__subtitle {
        font-size: 16px;
        color: #bc4f54;
        padding: 10px 0 0 0;
    }
    .pop-up-modal__button {
        width: 100%;
        padding: 15px 20px;
        border-radius: 10px;
        margin: 15px 0 0 0;
        background-color: #3c2bf5;
        color: #fff;
        font-family: 'GothamBook';
    }
    .pop-up-modal-show {
        transform: translate(0);
    }
}

@media (min-width: 480px) {
    .modal__header {
        padding: 25px 20px;
    }
    .pop-up-modal {
        width: 80%;
        left: 10%;
    }
}

@media (min-width: 640px) {
    .modal__header-cross {
        min-width: 30px;
    }
    .pop-up-modal {
        width: 60%;
        left: 20%;
        padding: 25px 20px;
    }
}

@media (min-width: 958px) {
    .modal__header {
        width: 70%;
        right: 15%;
    }
    .modal__body {
        width: 70%;
        margin: 0 auto 80px auto;
    }
    .pop-up-modal {
        width: 500px;
        left: 50%;
        padding: 25px 20px;
        margin: 0 0 0 -250px;
    }
}

@media (min-width: 1700px) {
    .modal {
        font-size: 22px;
    }
    .modal__header-cross {
        max-width: 50px;
    }
    .modal__title {
        font-size: 42px;
    }
    .modal-block__title {
        font-size: 40px;
    }
    .modal-block__course-title {
        font-size: 35px;
    }
    .modal-block__course-description {
        font-size: 25px;
    }
    .modal-block__course-result {
        font-size: 25px;
    }
    .modal-block__course-image {
        width: 100%;
    }
    .modal-block__list-title {
        font-size: 25px;
    }
    .modal-block__technics-title {
        font-size: 25px;
    }
}