Thank you for your reply. Unfortunately, there is no way anyone could tell you with certainty whether or not you have a case with the limited information that is available via this forum. Only an attorney who has thoroughly interviewed you could begin to guess whether or not you might have a legitimate gender discrimination case. That said, I can tell you what is necessary to support a "hostile work environment" claim based on gender discrimination.
There must be evidence that the harassing behavior was "severe and pervasive." There must also be evidence that it was motivated by gender, and there must be evidence that the employee attempted to resolve the issue through the employer, but the employer failed to resolve it. Even if you meet the first two factors, you may have an issue with the latter since you apparently, based on what you shared, did not give the employer an opportunity to investigate and resolve the issue before you quit. There are exceptions to that requirement if HR or senior management are part and parcel of the discriminatory activity.
You can also prove gender discrimination if there are adverse employment actions based on gender. But again, important to be able to show that you tried to resolve the issue up the chain of command.
In any event, you have the right to file a complaint of discrimination with the EEOC and see if they can resolve the issue and what their investigation shows. You can also, of course, speak to a local employment law attorney who can give you a good idea of whether or not you will have success with your case after their in depth interview with you.
Please feel free to ask for clarification if needed. If none is needed, then if you can reply to this answer and let me know that I answered your questions, and also take a moment to leave a positive rating in the ratings box above, I will receive credit from the Site for assisting you today. Thank you