.course_item {
    position: relative;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
    /* overflow: hidden; */
    cursor: pointer;
    transition: all 0.2s ease-out;
}

.course_item:hover {
    transform: scale(1.2);
    z-index: 10;
}
.course_item.no_hover:hover {
    transform: scale(1);
    z-index: 10;
}

.course_item_image {
    height: 100%;
    border-radius: 5px;
    width: 100%;
    transition: all 0.3s linear;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.course_item_detail {
    position: absolute;
    width: 100%;
    bottom: 20px;
    overflow: hidden;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.2s linear;
}
.course_item_heading {
    font-size: 22px;
    display: inline-block;
    width: calc(100% + 1px);
    line-height: 1.8rem;
    text-align: center;
    font-weight: 700;
    background: var(--gradient);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.category_name {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 20px;
}

@media screen and (max-width: 1050px) {
    .course_item:hover {
        transform: scale(1);
    }
}

@media screen and (max-width: 550px) {
    .course_item {
        height: 250px !important;
    }
}
