@EriveltonArruda
Posted
Fala maninho, eu consegui centralizar meu card com esse código, espero que ajude:
body { margin-top: 15rem; background-color: hsl(212, 45%, 89%); }
.card { background-color: hsl(0, 0%, 100%); margin: auto; width: 32rem; height: 49.9rem; border-radius: 2rem; display: flex; flex-direction: column; gap: 4rem; padding: 1.6rem; }