I have the following code on line 69 of my css
.container {width:1000px;margin:0 auto;padding:0 10px;}
And the following on line 119
main {margin:20px auto;}
However the element in my html which is <main class="container"></main>, the margin on .container is overriding the margin on main, even though main is loaded after it in the css. Can anyone tell me why this is???