.home {
    position: relative;
}

.home .backgroundImage {
    width: 100%;
    height: 350px;
    z-index: -1;
}

.home .backgroundImage::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background: linear-gradient(45deg, rgba(17, 17, 27, 1) 0%, rgba(17, 17, 27, 0.3) 100%);
}

.home .content {
    position: absolute;
    top: 100px;
    color: white;
    width: 830px;
}

.home .content .Title {
    font-size: 70px;
    line-height: 100px;
    font-weight: 700;
    height: 200px;
    overflow: hidden;
}
body :where([dir="rtl"], [dir="rtl"] *) {
    .home .content .Title {
        font-size: 68px;
    }
}

.home .content .Title span {
    color: var(--Secondary-color);
}

.home .content .des {
    font-weight: 300;
    font-size: 28px;
    line-height: 50px;
    margin: 20px 0px 30px;
    height: 100px;
    overflow: hidden;
}
body :where([dir="rtl"], [dir="rtl"] *) {
    .home .content .des {
        font-size: 26px;
    }
}

.home .btnMore {
    margin: 0px;
}

@media (max-width: 1000px) {
    .home .content {
        width: 100%;
        left: 0px;
        padding: 0px 40px;
    }
}

@media (min-width: 500px) and (max-width: 800px) {
    .home .content {
        top: 125px;
    }

    .home .content .Title {
        font-size: 50px;
        height: 258px;
    }
    body :where([dir="rtl"], [dir="rtl"] *) {
        .home .content .Title {
            font-size: 48px;
        }
    }

    .home .content .des {
        height: 150px;
    }
}

@media (max-width: 500px) {
    .home .backgroundImage {
        width: 100%;
        height: 250px;
    }

    .home .content {
        padding: 0px 12px;
        top: 44px;
    }

    .home .content .Title {
        font-size: 27px;
        line-height: 40px;
        height: 150px;
        overflow: hidden;
    }
    body :where([dir="rtl"], [dir="rtl"] *) {
        .home .content .Title {
            font-size: 25px;
        }
    }

    .home .content .des {
        font-size: 18px;
        line-height: 40px;
        height: 128px;
        margin: 10px 0px 20px;
        overflow: hidden;
    }
    body :where([dir="rtl"], [dir="rtl"] *) {
        .home .content .des {
            font-size: 16px;
        }
    }
}

/*ourPopular*/
.ourPopular {
    background-color: var(--Section-color);
}

.ourPopular .content .imageCourse {
    height: 300px;
}

.ourPopular .content {
    border: 1px solid #dfe4ed;
    border-radius: 20px;
    overflow: hidden;
}

.ourPopular .content .body {
    background-color: white;
    padding: 25px;
}

.ourPopular .content .body .tag {
    background-color: #f8f5f0;
    font-size: 16px;
    font-weight: 500;
    padding: 10px;
    width: fit-content;
    border-radius: 10px;
    color: var(--Secondary-color);
    height: 42px;
}
body :where([dir="rtl"], [dir="rtl"] *) {
    .ourPopular .content .body .tag {
        font-size: 14px;
    }
}

.ourPopular .content .body .name {
    font-size: 24px;
    font-weight: 700;
    line-height: 35px;
    height: 35px;
    margin: 20px 0px;
    overflow: hidden;
}
body :where([dir="rtl"], [dir="rtl"] *) {
    .ourPopular .content .body .name {
        font-size: 22px;
    }
}

.ourPopular .content .body .detail i {
    color: var(--Primary-color);
    font-size: 20px;
}
body :where([dir="rtl"], [dir="rtl"] *) {
    .ourPopular .content .body .detail i {
        font-size: 18px;
    }
}

.ourPopular .content .body .detail span {
    font-size: 18px;
    font-weight: 500;
    margin: 0px 12px 0px 6px;
}
body :where([dir="rtl"], [dir="rtl"] *) {
    .ourPopular .content .body .detail span {
        font-size: 16px;
    }
}

.ourPopular .content .body .des {
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
    margin: 20px 0px;
    color: #3f3f43;
    height: 85px;
    overflow: hidden;
}
body :where([dir="rtl"], [dir="rtl"] *) {
    .ourPopular .content .body .des {
        font-size: 16px;
    }
}

@media (max-width: 500px) {
    .ourPopular .content .body {
        padding: 12px;
    }

    .ourPopular .content .body .name,
    .ourPopular .content .body .des {
        margin: 10px 0px;
    }
}
