You can’t use the same class for each one. Make the one in the left image have a class of expertise and then give the one on the right a class of vehicle and in each style tag reassign to the correct class name. The way you have it now with both using ‘tag’ as the class name, whichever element is being processed second is overwriting the first because they have the same class names.