Change project card styles for viewport size.