/*MOBILE FIRST VIEW */ h2 { display: none; } .responsive { max-width: 100%; height: auto; } aside { background: white; font-family: Arial, Helvetica, sans-serif; font-size: 120%; padding: 5px 0px 5px 0px; width: 100%; } aside a:link { color: black; display: block; padding: 5px 0px 5px 0px; text-decoration: none; vertical-align: middle; } /*Style the links visited in the aside section */ aside a:visited { color: black; text-decoration: none; } /*Change the color of aside links on hover */ aside a:hover { background-color: black; color: white; } /*Change the color of aside links on focus */ aside a:focus { background-color: black; color: white; outline: none; } article { background-color: black; color: #f2f2f2; font-family:Arial, Helvetica, sans-serif; font-size:120%; padding:10px 10px 10px 10px; } article a { color: #f2f2f2; } /* Change the color article links on the hover using tab button */ article a:hover { background-color: white; color: black; outline: none; } /* Change the color article links on the focus using tab button */ article a:focus { background-color: white; color: black; outline: none; } #main_image { width: 100%; } /*FOR TABLETS */ @media only screen and (min-width: 900px) { } /*FOR DESKTOP */ @media only screen and (min-width: 1000px) { div { display: flex; } aside { align-items: center; display: flex; flex-direction: column; float: left; justify-content: center; width: 30%; } aside a { width: 100%; } section { display: inline; float: right; width: 70%; } } @media only screen and (min-width: 1200px) { }