Resets the pages default margin and padding for the entire html file , not only body . This will allow you to have more control when you are styling specific elements.
So you need to add margin and padding in
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
The...