@import './unique.css';


.card__round {
    border-radius: 15%;
    width: 200px;
}

.course__banner {
    background: var(--sky);
    border-radius: 16px;
    padding: 24px 0;
}

.course__course {
    padding: 0 42px;
    color: var(--grey);
    background: var(--light);
    border-radius: 16px;
    font-size: 16px;
    font-weight: 400;
}

.course__title {
    font-size: 52px;
    font-weight: 900;
}

.margin__bottom16 {
    margin-bottom: 16px;
}

.margin__bottom8 {
    margin-bottom: 8px;
}

.course__desc {
    width: 656px;
    font-size: 16px;
    font-weight: 500;
    color: var(--light);
}

.course__info {
    padding-top: 40px;
    padding-bottom: 50px;
}

.course__ul {
    margin-bottom: 24px;
}

.course__ul li {
    list-style-type: none;
    position: relative;
    padding-left: 20px;
    font-size: 24px;
    font-weight: 500;
    color: var(--grey);
}

.course__ul li::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    background-color: var(--grey);
    border-radius: 50%;
}

.course__how-learnig {
    width: 640px;
    font-size: 24px;
    font-weight: 500;
    color: var(--grey);
    margin-bottom: 24px;
}

.course__for-desc {
    width: 725px;
    font-size: 24px;
    font-weight: 500;
    color: var(--grey);
    margin-bottom: 40px;
}

.course__actions {
    width: 562px;
}

.course__round {
    padding: 18px;
    height: fit-content;
    width: 269px;
    border-radius: 16px;
    background: var(--light);
    margin-left: 15px;
}

.course__dicsount {
    position: relative;
    color: var(--error);
    font-size: 24px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    margin-bottom: 0px;
}

/*.course__dicsount::before {
    content: '-900 ₽';
    position: absolute;
    color: var(--grey);
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    right: 0;
    top: 18px;
}*/

.course__dicsount_show {
    margin-left: 70%;
    margin-bottom: 0px;
    color: var(--grey);
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    right: 0;
}

.course__count {
    color: var(--grey);
    font-size: 32px;
    font-weight: 700;
    line-height: 20px;
    margin: 16px 0 30px;
    margin-top: 0px;
}



h1 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 10px;
    color: #131313;
}

h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #131313;
}

p {
    font-size: 18px;
    font-weight: 500;
    color: #606060;
    margin-bottom: 20px;
}

.course__btn {
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-radius: 8px;
    background: #489EFD;
    color: var(--light);
    font-size: 16px;
    font-weight: 600;
    line-height: 114%;
    cursor: pointer;
    transition: .4s ease all;
}

.course__supcontent {
    height: 56px;
}

.course__btn:hover {
    background: var(--dark);
}

.course__round li {
    list-style-type: none;
    position: relative;
    padding-left: 20px;
    color: var(--grey);
    font-size: 16px;
    font-weight: 500;
    line-height: 20px
}

.course__round li::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 12px;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    background-color: var(--sky);
    border-radius: 50%;
}

.course__actions_mob {
    display: none;
}

/* MEADIA QUERY */

@media (max-width: 1367px) {
    .course__title {
        font-size: 42px;
    }

    .course__actions {
        width: 484px;
    }

    .course__round {
        width: 230px;
    }

    .course__ul {
        width: 540px;
    }

    .course__for-desc {
        width: 526px;
    }

    .course__how-learnig {
        width: 520px;
    }
}

@media (max-width: 1024px) {
    .card__round {
        border-radius: 15%;
        width: 100px;
    }
    .course__footer {
        display: none;
    }

    .course__actions {
        display: none;
    }

    .course__actions_mob {
        position: fixed;
        background: var(--light);
        padding: 10px 24px 12px;
        width: 100%;
        bottom: 0;
        left: 0;
        display: block;
    }

    .course__round {
        padding: 0;
        width: 100%;
        height: 112px;
        margin-left: 0px;
    }

    .course__how-learnig {
        width: 100%;
    }

    .course__count {
        margin-bottom: 0;
    }

    .course__dicsount::before {
        right: 0;
        left: 155px;
    }

    .course__for-desc {
        width: 100%;
        padding-bottom: 300px;
    }

    .course__banner {
        margin-top: 24px;
    }
}

@media (max-width: 800px) {
    .card__round {
        border-radius: 15%;
        width: 100px;
    }
    h1 {
        font-size: 17px;
        font-weight: 900;
        margin-bottom: 10px;
        color: #333;
    }
    
    h2 {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 10px;
        color: #333;
    }
    
    p {
        font-size: 15px;
        font-weight: 500;
        color: #606060;
        margin-bottom: 20px;
    }
    .course__title {
        font-size: 32px;
        margin-top: 8px;
    }

    .course__desc {
        font-size: 14px;
        width: 494px;
        margin-bottom: 36px;
    }

    .course__banner-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .course__ul li {
        font-size: 16px;
    }

    .course__how-learnig {
        font-size: 18px;
    }

    .course__svg {
        height: 100px;
        width: 100px;
    }

    .course__for-desc {
        font-size: 18px;
    }
}

@media (max-width: 560px) {
    .card__round {
        border-radius: 15%;
        width: 100px;
    }
    h1 {
        font-size: 16px;
        font-weight: 900;
        margin-bottom: 10px;
        color: #333;
    }
    
    h2 {
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 10px;
        color: #333;
    }
    
    p {
        font-size: 14px;
        font-weight: 500;
        color: #606060;
        margin-bottom: 20px;
    }
    .course__desc {
        width: 400px;
    }
    .course__title {
        font-size: 28px;
    }
    .course__how-learnig {
        width: 90%;
    }

    .course__ul {
        width: 400px;
    }
    .course__dicsount {
        font-size: 12px;
    }
    .course__btn {
        font-size: 16px;
    }
    .course__round {
        margin-left: 0px;
    }
    .course__round li {
        font-size: 14px;
    }
    .course__count {
        /*font-size: 20px;*/
        margin-top: 3px;
    }
    .course__dicsount::before {
        left: 97px;
        top: 10px;
    }
}

@media (max-width: 430px) {
    .card__round {
        border-radius: 15%;
        width: 100px;
    }
    h1 {
        font-size: 16px;
        font-weight: 900;
        margin-bottom: 10px;
        color: #333;
    }
    
    h2 {
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 10px;
        color: #333;
    }
    
    p {
        font-size: 14px;
        font-weight: 500;
        color: var(--grey);
        margin-bottom: 20px;
    }
    .course__round {
        margin-left: 0px;
    }
    .course__course {
        font-size: 12px;
    }
    .course__svg {
        width: 63px;
        height: 63px;
    }
    .course__ul {
        width: 100%;
    }
    .course__ul li {
        font-size: 14px;
    }
    .course__title {
        font-size: 24px;
    }
    .course__desc {
        width: 100%;
    }
    .course__how-learnig {
        font-size: 14px;
        width: 100%;
    }
    .margin__bottom16 {
        margin-bottom: 8px;
    }
    .course__for-desc {
        font-size: 14px;
    } 

}