.container {   display: flex;   justify-content: center;   align-items: center; }

Read more of this post