.card {
    width: 90%;
    width: 200px;
    height: 300px;
    background-color: #fff;
    border-radius: 0px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    margin: 5px;
}
.card:hover {
    transform: scale(1.05);
}
.card img {
    width: 200px;
    height: 200px;
}
.card-content {
    padding: 0px;
}
.card-content h2{
    padding: 0px;
    margin: 0px;
    font-size: 13px;
    text-align: center;
}
.card-content p {
    padding: 0px;
    margin:0px;
    text-align: center;
    font-size: 12px;
}
.card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}
.card-description {
    font-size: 1em;
    color: #555;
    line-height: 1.5;
}
.card-footer {
    margin-top: 0px;
    text-align: center;
}
.card-footer a i {
    font-size: 25px;
    color: #ff0000; /* Blood red */
    transition: transform 0.1s ease-in-out, color 0.1s ease-in-out;
    cursor: pointer;
}

/* When clicked */
.card-footer a i:active {
    transform: scale(4) rotate(10deg); /* Slight rotation */
    color: #8b0000; /* Dark blood red */
}

/* Keyframes for a violent shake */
@keyframes violentShake {
    0% { transform: translateX(0) rotate(0); }
    10% { transform: translateX(-5px) rotate(-5deg); }
    20% { transform: translateX(5px) rotate(5deg); }
    30% { transform: translateX(-5px) rotate(-5deg); }
    40% { transform: translateX(5px) rotate(5deg); }
    50% { transform: translateX(-3px) rotate(-3deg); }
    60% { transform: translateX(3px) rotate(3deg); }
    70% { transform: translateX(-2px) rotate(-2deg); }
    80% { transform: translateX(2px) rotate(2deg); }
    90% { transform: translateX(-1px) rotate(-1deg); }
    100% { transform: translateX(0) rotate(0); }
}

/* Keyframes for explosion effect */
@keyframes explode {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(2); opacity: 0.5; filter: blur(2px); }
    100% { transform: scale(0); opacity: 0; filter: blur(10px); }
}

/* Apply animation when clicked */
.card-footer a i.clicked {
    animation: violentShake 0.3s ease-in-out, explode 0.2s ease-in-out 0.3s;
}
@media (max-width: 800px) {
    .card img {
        width: 138px;
        height: 138px;
    }
    .card {
        width: 138px;
        height: 230px;
        background-color: #fff;
        border-radius: 2px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        transition: transform 0.3s ease;
        margin: 1px;
    }
    .card:hover {
        transform: scale(1.05);
        background-color: whitesmoke;
    }
}