21 Cards - Card Trick

Can you figure out the math behind this trick?

What do you think?

Take a look and learn: https://drive.google.com/file/d/10oZ13gzclHXM01c3MM_FiTrloODJVoRX/view?usp=sharing