@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% { 
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    a > .translate-card {
        transition: none;
        transform: none;
        box-shadow: none;
    }
}

a > .translate-card {
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
    will-change: transform;
}

a:hover > .translate-card {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

a:hover .bigger-card{
    transform: scale(1.02);
}

@keyframes rotate {
    from {
        -webkit-transform: rotate(0deg);
    }
    to { 
        -webkit-transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    a > .translate-card {
        transition: none;
        transform: none;
        box-shadow: none;
    }
}

a > .translate-card {
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
    will-change: transform;
}

a:hover > .translate-card {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

a:hover .bigger-card{
    transform: scale(1.02);
}

a:hover > .rotate-card{
    animation-name: rotate;
    animation-duration: 0.2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}