Complete levels 17 to 30 of the CSS Diner activity.  It will help you understand how selectors are used in CSS.