.container {
    margin: 80px 0px;
    font-family: "Public sans", sans-serif;
    color: #000;
}

.display {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
            rgba(45, 163, 151, 0.9),
            rgba(45, 163, 151, 0.9)
        ),
        url("/static/images/mecat/background.jpg") repeat;
    padding: 100px 0px 150px 0px;
    color: #fff;
}

.display p {
    font-size: 42px;
    font-weight: 700;
    width: 90%;
    text-align: center;
    max-width: 400px;
}

.display img {
    height: 50px;
    position: absolute;
    bottom: 0px;
    width: 100%;
}

.courses {
    width: 90%;
    max-width: 1100px;
    margin: 80px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.course {
    border-radius: 3px;
    overflow: hidden;
}

.course_img {
    position: relative;
    background: url("/static/images/mecat/course-1.jpg") no-repeat center
        center/cover;
    height: 230px;
}
.course_category {
    position: absolute;
    background: #7c4bc0;
    color: #fff;
    padding: 8px 15px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 10px;
    bottom: -18px;
    left: 20px;
}

.course_content {
    border-left: 1px solid #dfdfdf;
    border-right: 1px solid #dfdfdf;
    border-bottom: 1px solid #dfdfdf;
    padding: 40px 20px 10px 20px;
}

.author {
    display: flex;
    align-items: center;
}

.author_text {
    color: #333;
    font-weight: 500;
    margin-left: 10px;
    font-size: 14px;
}

.course_name {
    font-size: 22px;
    font-weight: 700;
    margin: 15px 0px;
    color: #012237;
}

.rating {
    display: flex;
    align-items: center;
}
.rating_number {
    margin: 0px 10px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}
.rating_users {
    background: #dfdfdf;
    color: #555;
    font-weight: 700;
    font-size: 10px;
    padding: 5px 8px;
}

.divider {
    height: 1px;
    width: 100%;
    background: #cfcfcf;
    margin: 20px 0px;
}

.other_detail {
    display: grid;
    grid-template-columns: 3fr 3fr 1fr;
}

.other_detail div {
    display: flex;
    align-items: center;
}

.other_detail div p {
    margin-left: 6px;
    font-weight: 700;
    font-size: 12px;
    color: #555;
}

.price {
    font-weight: 700;
    font-size: 14px;
}

.btn {
    font-family: "Public sans", sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #555;
    margin: 20px 0px;
    width: 100%;
    padding: 20px 0px;
    background: #dfdfdf;
    outline: none;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease-in;
}
.btn:hover {
    background: #f16101;
    color: #fff;
}

@media screen and (max-width: 950px) {
    .courses {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 550px) {
    .courses {
        grid-template-columns: 1fr;
    }
}
