Hi, and thanks for your question
HIV is not spread through air or through nail scratches. It is spread through blood and body fluids (semen, vaginal fluid and breastmilk). Therefore with what you have told me about your encounter, you are not at risk of HIV.
Our Know Your Chances charts can be really helpful in seeing how infections are spread and the chances for each partner
Let us know if this does not answer your question or if you have any more questions or concerns.