margin: 0 auto;
display: block;
max-width: 302px;
*in responsive case, when width and height are unknow
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: flex;
align-items: center; // vertical middle
justify-content: center; // align center