CSS Flex Center horizontal e verticalmente

display: flex;
align-items: center;
justify-content: center;
TheDutchScorpion