The solution really differs from the original design, the component is not centered, there is no shadow or border.
You can use grid to center the component both vertically and horizontally this way
body {
display: grid;
min-height: 100vh;
}
.card {
place-self: center;
}
It's not really recommended to use heading tags just for different text sizes since screen readers can get confused.
Marked as helpful
1