@developer-ruben
Posted
Hi!
Great component! Here's the solution to align the component to the center, at this to the main element:
display: flex; justify-content: center; align-items: center; min-height: 100vh;
. This creates a flexbox container and aligns the component center horizontally and vertically. Further I recommend to look at the BEM methodology to better organize your CSS classes.
Best! Ruben