In a large pan add the extra virgin olive oil, the onion and the garlic. Add red pepper flakes as desired.
Saute the onion and garlic for a few minutes and add the shrimp. Let the shrimp saute until fully cooked. About 7-8 minutes. Remove the shrimp from the pan and set aside.
Add the rice to the pan and toast it for abour 3-4 minutes. Add the wine and stir until the alcohol has evaporated, about 5 minutes.
Begin to add the fish stock one cup at the time and continue stirring adding more stock as it is absorbed m. Cook until the rice is al dente, about 20 minutes. Add the shrimp, lemon juice, half of the lemon zest and half of the rosemary.
Stir for 1-2 minutes, plate and garnish with the remainder of the lemon zest and rosemary.