A chef is preparing a special dish that requires both spices and herbs. The ratio of spices to herbs in the dish is 7:5. The chef decides to scale the recipe up so that the total weight of the spices and herbs used is 300 grams.
How many grams of spices will the chef use to maintain the same ratio?