.tab-content {
    display: block;
    width: 100%;
    height: 300px;
    overflow: hidden;
    white-space: nowrap;
 }
 .tab-pane {
    width: 100%;
    overflow: hidden;
    overflow-x: auto
 }
 .card {
    display: inline-block;
    width: 250px;
    height: 300px;
    padding: 10px;
    border-color: #eee;
    margin-right: 10px;
    font-size: 18px;
    font-family: "Lato", sans-serif;
    font-weight: bold;
    text-align: center;
 }
 .card a {
    color: #000 !important;
 }
 .card img {
    display: block;
    width: 100%;
    height: 75%;
    margin-bottom: 20px;
    border-radius: 5px
 }
 .card sup {
    background: red;
    color: #fff;
    padding: 5px 10px;
    border-radius: 100px;
    font-size: 10px;
 }

 @media only screen and (min-width: 240px) and (max-width:320px)
 ,
 (min-width: 320px) and (max-width:480px)
 ,
 (min-width: 480px) and (max-width:768px)
{
    .tab-content {
        height: 200px;
    }
    .card {
        width: 160px;
        height: 200px;
        font-size: 14px;
    }
    .card img {
        height: 60%;
        margin-bottom: 10px;
    }
    .card sup {
        display: block;
        width: 60px;
        margin: auto;
        margin-top: 10px;
        height: 20px;
        padding: 9px;
    }
}