It is a good code, however in my opinion it would have been better if you used "margin: auto" to center the content.
Marked as helpful
@nemnjaa
Posted
@Ela1650 that is what I tought about, but didn't want to use height:100vh; Just to use it later on flex container..hehe