.cardShell {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s ease-in-out;
    border-radius: 5px; /* 5px rounded corners */
    background-color: #98bf0e;
    position: relative;
    box-sizing: border-box;
}

.card img {
    border-radius: 5px 5px 0 0;
    z-index: 1;
    width: 100%;
    display: block;
}

/* On mouse-over, add a deeper shadow */
.cardShell:hover {
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    transform: scale(1.01);
}

/* Add some padding inside the card container */
.container {
    padding: 10px 16px;
    height: auto;
    line-height: 40px;
    color: #f1f1f1;
}

.container span {
    display: inline-block;
    vertical-align: middle;
    line-height: 18px;
}

.cardContainer {
    width: 100%;
    display: grid;
    position: relative;
    grid-template: auto / repeat(3, minmax(0, 1fr));
    grid-gap: 20px;
}

.cardShell .categories {
    z-index: 3;
    position: absolute;
    width: auto;
    right: 0;
}

.categories div {
    float: right;
    margin-right: 10px;
    width: 25px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    color: #f1f1f1;
    border-radius: 0 0 5px 5px;
    box-shadow: 4px 5px 5px rgba(0, 0, 0, 0.2);
}

.categories div:hover {
    box-shadow: 4px 5px 5px rgba(0, 0, 0, 0.4);
    color: #fff;
    font-weight: bold;
}

.cat-L {
    background-color: #FF5C4A;
}

.cat-A {
    background-color: #275863;
}

.cat-W {
    background-color: #D1B300;
}

.cat-S {
    background-color: #19c66c;
}

.cat-K {
    background-color: #9d81ba;
}

.cat-M {
    background-color: #4aedff;
}
