When did Venice gain power over Slavic-majority nations