replaced scss logic with html classes