Changed selector

Changed :first-of-type to :first-child in the first media query.