/* Add these media queries to adjust the layout for small screens */
@media (max-width: 767px) {

    .left-wrapper,
    .right-wrapper {
        display: none;
    }

    .col-md-8.col-xl-6 {
        width: 100%;
    }
}

/* Media query for small screens */
@media (max-width: 767px) {
    .item-image {
        float: none;
        width: 100%;
        margin: 0 auto;
    }

    .item-description,
    .item-name {
        width: 100%;
        margin-left: 0;
    }
}

.card {
    /* position: relative; */
    display: flex;
    flex-direction: column;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid #f2f4f9;
    border-radius: 0.25rem;
}

.card-footer {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #f2f4f9;
    border-radius: 0.25rem;
}

/* not working correctly so its added inline */
/*
.hit-count {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #8A2BE2;
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    border-radius: 5px;
    font-size: 12px;
} */


.item-image {
    width: 40%;
    /* height: 65px; */
    border-radius: .50%;
    float: right;
    margin: 0;
    padding: 0;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    margin-bottom: 6px;
}

.item-image:hover {
    -webkit-transform: scale(1.06);
    transform: scale(1.06);
}

.item-description {
    width: 45%;
    border-radius: .25rem;
    margin: 0;
    position: relative;
    padding: 5px 12px 5px 12px;
    margin-left: 30px;
    margin-bottom: 15px;
    -webkit-box-shadow: 2px 5px 10px rgba(49, 58, 70, .15);
    -o-box-shadow: 2px 5px 10px rgba(49, 58, 70, .15);
    box-shadow: 2px 5px 10px rgba(49, 58, 70, .15);
}

.item-name {
    width: 45%;
    border-radius: .25rem;
    margin: 0;
    padding: 10;
    position: relative;
    padding: 5px 12px 5px 12px;
    margin-left: 30px;
    margin-bottom: 15px;
    -webkit-box-shadow: 2px 5px 10px rgba(49, 58, 70, .15);
    -o-box-shadow: 2px 5px 10px rgba(49, 58, 70, .15);
    box-shadow: 2px 5px 10px rgba(49, 58, 70, .15);
}

.item-grade_name {
    width: 100%;
    border-radius: .25rem;
    margin: 0;
    padding: 10;
    position: relative;
    padding: 5px 12px 5px 12px;
    margin-left: 30px;
    margin-bottom: 15px;
    -webkit-box-shadow: 2px 5px 10px rgba(49, 58, 70, .15);
    -o-box-shadow: 2px 5px 10px rgba(49, 58, 70, .15);
    box-shadow: 2px 5px 10px rgba(49, 58, 70, .15);
}

.item-subject_name {
    width: 45%;
    border-radius: .25rem;
    margin: 0;
    padding: 10;
    position: relative;
    padding: 5px 12px 5px 12px;
    margin-left: 30px;
    margin-bottom: 15px;
    -webkit-box-shadow: 2px 5px 10px rgba(49, 58, 70, .15);
    -o-box-shadow: 2px 5px 10px rgba(49, 58, 70, .15);
    box-shadow: 2px 5px 10px rgba(49, 58, 70, .15);
}

.quiz-image {
    width: 30%;
    border-radius: .25rem;
    float: left;
    margin: 0;
    padding: 0;
}

.like {
    width: 30%;
    border-radius: .25rem;
    float: right;
    margin: 0;
    padding: 0;
}

.comment {
    width: 30%;
    border-radius: .25rem;
    margin: 0;
    padding: 0;
}

.share {
    width: 30%;
    border-radius: .25rem;
    float: left;
    margin: 0;
    padding: 0;
}
