how to make things center using css
// add to the parent element
.parent{
height:100vh;
display:flex;
justify-content: center;
align-items: center;
}
or you can use
// add to the parent element
.parent{
height:100vh;
display:gird;
place-item:center;
}