div#card_tap_animation #card {
    animation: card_tilt 6.32s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: 0% 50%;
}

div#card_tap_animation #tap_1 {
    animation: tap_1 6.32s linear infinite;
}

div#card_tap_animation #tap_m_2 {
    animation: tap_m_2 6.32s linear infinite;
}

div#card_tap_animation #success_m_txt {
    animation: success_txt 6.32s linear infinite;
}

@keyframes card_tilt {
    0%, 22.78%{
        transform: perspective(800px) translateX(0) rotateY(0deg);
        opacity: 1;
    }
    31.33%{
        /* pehle thoda right side move */
        transform: perspective(800px) translateX(100px) rotateY(0deg);
        opacity: 1;
    }
    39.87%{
        /* left edge stick, right side andar ki taraf (depth me) jayegi */
        transform: perspective(800px) translateX(100px) rotateY(10deg);
        opacity: 1;
    }
    45.57%{
        /* left edge stick, right side andar ki taraf (depth me) jayegi */
        transform: perspective(800px) translateX(100px) rotateY(0deg);
        opacity: 1;
    }
    51.27%, 100%{
        /* wapas apni jagah pe */
        transform: perspective(800px) translateX(0) rotateY(0deg);
        opacity: 1;
    }
}

@keyframes tap_1 {
    0%, 51.27%{
        opacity: 0;
    }
    56.96%, 100%{
        opacity: 1;
    }
}

@keyframes tap_m_2 {
    0%, 34.18%{
        opacity: 0;
    }
    39.87%, 56.96%{
        opacity: 1;
    }
    62.66%, 100%{
        opacity: 0;
    }
}

@keyframes success_m_txt {
    0%, 62.66%{
        opacity: 0;
    }
    68.35%, 100%{
        opacity: 1;
    }
}
