rewrite the hover function because Sass does not accept a loop