.courses {
    margin-top: 20px;
    margin-bottom: 50px;
}

.title-h2 h1 {
    font-family: "extra_bold";
    font-size: 24px;
}


.filter {
    display: flex;
    justify-content: space-between;
    padding: 20px 100px;
    align-items: stretch;
}

.filter select {
    border: 1px #E5E7EB solid;
    border-radius: 10px;
    padding: 5px 10px;
    background-color: transparent;
    margin-left: 15px;
    color: #00000080;
}

.filter input[type="text"] {
    border: none;
    width: 100%;
}

.filter form {
    border: 1px #E5E7EB solid;
    border-radius: 10px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.course-box {
    border: 1px #E5E7EB solid;
    border-radius: 20px;
    width: 24%;
}

.course-box img {
    width: 100%;
    border-radius: 20px 20px 0 0;
}

.course-box div {
    padding: 5px 15px;
}

.course-box h2 {
    font-family: "bold";
    font-size: 14px;
}

.course-box p {
    font-family: "regular";
    font-size: 12px;
    margin: 10px 0;
    color: #6B7280;
}

.course-box ul li {
    list-style: none;
    display: flex;
    justify-content: start;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    font-family: "regular";
    color: #111827;
    margin-top: 5px;
}

.course-box ul li span span {
    color: #9CA3AF;
    margin-right: 5px;
    font-size: 12px;
}

.course-box b {
    color: #B69A08;
    font-family: "bold";
    font-size: 16px;
    display: block;
    text-align: left;
    margin-top: 10px;
}

.course-box a {
    text-decoration: none;
    border: 1px #E5E7EB solid;
    padding: 5px;
    display: block;
    border-radius: 15px;
    text-align: center;
    margin-top: 10px;
    color: #111827;
    margin-bottom: 10px;
}

@media screen and (max-width:768px) {
    .courses {
        padding: 20px;
        margin-top: 0;
    }

    .filter {
        flex-wrap: wrap;
        padding: 0;
        margin-top: 20px;
    }

    .filter>div {
        width: 100%;
    }

    .filter>:first-child {
        display: flex;
        align-items: center;
        justify-content: space-between;

    }

    .filter select {
        width: 48%;
        margin: 0;
    }

    .filter>:last-child {
        margin-top: 10px;
    }

    .course-box {
        width: 100%;
    }
}



/* ------------------------------- show ----------------------------------- */


.landing-show {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
    background-color: #F0F3FF;
    padding: 20px 50px;
    margin-top: 40px;
}

.landing-show h1 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.landing-show h1 span {
    font-family: "bold";
    font-size: 24px;
}

.landing-show>div>p {
    font-family: "regular";
    font-size: 13px;
    color: #6B7280;
    line-height: 30px;
    padding-right: 58px;
}

.landing-show h1 img {
    width: 48px;
}

.landing-show>:first-child {
    width: 60%;
    padding: 20px;
}

.landing-show>:last-child {
    width: 30%;
}

.landing-show>:last-child img {
    width: 100%;
    border-radius: 25px;
}

.rate {
    padding-right: 58px;
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.rate>:nth-child(2) {
    font-family: bold;
}

.rate>:last-child {
    font-size: 12px;
    color: #9CA3AF;
}

.teacher-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 58px;
    margin-top: 20px;
}

.teacher-profile img {
    width: 48px;
    height: 48px;
}

.teacher-profile h3 {
    font-family: "bold";
    font-size: 14px;
}

.teacher-profile span span {
    font-size: 14px;
    color: #9CA3AF;
}

.descriptions {
    display: flex;
    align-items: start;
    justify-content: space-evenly;
    padding: 50px;
    gap: 5%;
}

.descriptions>:first-child {
    width: 70%;
}

.descriptions>:last-child {
    width: 20%;
}

.title-descriptions {
    display: flex;
    justify-content: start;
    gap: 30px;
    border-bottom: 1px #E5E7EB solid;
}

.title-descriptions button {
    background-color: transparent;
    border: none;
    color: #9CA3AF;
    padding: 10px;
}

.title-descriptions button.active {
    color: #111827;
    font-family: "bold";
    border-bottom: 3px #EECA14 solid;
}

.description-about {
    margin-top: 30px;
}

.about-course h2 {
    font-family: "bold";
    font-size: 20px;
    margin-top: 20px;
}

.description-about>span>p {
    font-size: "13px";
    color: #6B7280;
    margin-top: 10px;
}

.description-about ul li {
    list-style: none;
    margin-top: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 13px;
}

.req-span {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.req-span span {
    padding: 5px 10px;
    background-color: #F3F4F6;
    border-radius: 15px;
    font-size: 13px;
    color: #4B5563;
}

.teacher-about>div {
    background-color: #FFFCEB;
    padding: 20px;
    border-radius: 20px;
}

.teacher-about>div>div {
    display: flex;
    gap: 10px;
    align-items: center;
}

.teacher-about>div>div img {
    width: 48px;
    height: 48px;
}

.teacher-about>div>div h3 {
    font-family: "bold";
    font-size: 14px;
    color: #111827;
}

.teacher-about>div>div span span {
    font-size: 14px;
    color: #9CA3AF;
}

.teacher-about div p {
    font-size: 13px;
    margin-top: 10px;
    color: #4B5563;
}

.more-course {
    padding: 20px 58px 20px 0;
}

.more-course h2 {
    font-family: "bold";
    font-size: 20px;
    margin-top: 20px;
}

.more-course>div {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.card-course-object {
    width: 32%;
    display: flex;
    justify-content: center;
    align-items: start;
    border: 1px #E5E7EB solid;
    border-radius: 15px;
    padding: 20px;
    gap: 15px;
    overflow-x: auto;
}

.card-course-object>img {
    width: 100px;
    height: 70px;
    border-radius: 20px;
}

.card-course-object h3 {
    font-family: "bold";
    font-size: 12px;
    color: #111827;
}

.card-course-object p {
    color: #9CA3AF;
    font-size: 11px;
    margin-top: 5px;
}

.card-course-object b {
    font-family: "bold";
    font-size: 12px;
    color: #B69A08;
    display: block;
    text-align: left;
}

.card-course-object a {
    display: block;
    text-decoration: none;
    border: 1px #E5E7EB solid;
    border-radius: 10px;
    text-align: center;
    color: #111827;
    font-size: 11px;
    padding: 5px;
    margin-top: 15px;
}

.topic {
    padding: 10px;
}

.titels-topic {
    display: flex;
    align-items: center;
    gap: 10px;
}

.titels-topic span {
    color: #6B7280;
    font-size: 13px;
}

.description-topic {
    margin-top: 20px;
}

.description-topic h3 {
    margin-right: 10px;
    font-family: "bold";
    font-size: 16px;
}

.description-topic h4 {
    margin-right: 20px;
    font-family: "bold";
    font-size: 14px;
    margin-top: 10px;
}

.description-topic p {
    font-family: "medium";
    font-size: 13px;
    color: #4B5563;
    margin-right: 30px;
    margin-top: 5px;
}

.description-topic div {
    text-align: left;
    margin-top: 10px;
}

.description-topic a {
    background-color: #EECA14;
    text-decoration: none;

    color: #fff;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 10px;
}

.rate-segtions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 20px;
}

.segtions-user {
    padding: 5px 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background-color: #F3F4F6;

}

.segtions-user a {
    display: flex;
    align-items: center;
}

.segtions-user h3 {
    font-family: "bold";
    font-size: 13px;
}

.segtions-user p {
    opacity: 0.7;
    font-size: 12px;
}

.comments-parent {
    background-color: #F0F3FF;
    padding: 10px 30px;
    border-radius: 10px;
}

.comments-parent>:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comments-parent>:first-child button {
    color: #1438EE;
    display: flex;
    gap: 10px;
    align-items: center;
    background-color: transparent;
    border: none;
    outline: none;
    font-size: 14px;
    text-decoration: underline;
}

.comments-parent>:last-child {
    margin-top: 20px;
}

.comments-parent>:last-child>div {
    justify-content: space-between;
    display: flex;
    background-color: #fff;
    align-items: center;
    padding: 10px;
    border-radius: 15px;
    margin-top: 20px;
}

.comments-parent h4 {
    font-family: "bold";
    font-size: 13px;
}

.comments-parent p {
    font-size: 12px;
    color: #111827;
}

.topic,
.comments-section,
.description-about {
    display: none;
}

.topic.active,
.comments-section.active,
.description-about.active {
    display: block;
}

.new-comment {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    display: none;
    justify-content: center;
    align-items: center;
    top: 0;
}

.new-comment.active {
    display: flex;
}

.new-comment>div {
    background-color: #fff;
    padding: 20px;
    border-radius: 20px;
}

.new-comment>div>:first-child {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.new-comment h3 {
    font-family: "bold";
    font-size: 16px;

}

.new-comment p {
    font-size: 14px;
    color: #9CA3AF;
    margin-top: 5px;
}

.new-comment>div>:nth-child(2) {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.new-comment form textarea {
    width: 100%;
    margin-top: 20px;
    border: 1px #E5E7EB solid;
    border-radius: 10px;
    resize: none;
}

.new-comment button[type="submit"] {
    border: none;
    font-family: "bold";
    color: #111827;
    font-size: 13px;
    float: left;
    margin-top: 10px;
    background-color: #EECA14;
    padding: 5px 20px;
    border-radius: 10px;

}

@media screen and (max-width:768px) {
    .landing-show {
        padding: 20px;
        flex-wrap: wrap-reverse;
        margin-top: 10px;
    }

    .landing-show>:first-child {
        width: 100%;
    }

    .landing-show>:last-child {
        width: 100%;
    }

    .landing-show h1 span {
        font-size: 18px;
    }

    .landing-show>div>p,
    .rate,
    .teacher-profile {
        padding-right: 15px;
        margin-top: 10px;
    }

    .descriptions {
        flex-wrap: wrap-reverse;
        padding: 20px;
    }

    .descriptions>:first-child {
        width: 100%;
        margin-top: 50px;
    }

    .descriptions>:last-child {
        width: 100%;
        margin-top: 20px;
    }

    .description-topic h3 {
        margin-right: 0;
    }

    .description-topic h4 {
        margin-right: 10px;
    }

    .description-topic p {
        margin-right: 15px;
    }

    .rate-segtions {
        flex-wrap: wrap;
        text-align: center;
        padding: 20px;
    }

    .rate-segtions>* {
        margin-top: 10px;
        justify-content: center;
        width: 100%;
    }

    .comments-parent>:first-child {
        flex-wrap: wrap;
    }

    .comments-parent {
        padding: 15px;
    }

    .more-course>div {
        flex-wrap: wrap;
    }

    .card-course-object {
        width: 100%;
    }
    .more-course{
        padding: 20px;
    }
}