Cousinly Attraction

Okay so I'm 16, virgin, been heartbroken twice now by two different guys.... Went on a family holiday this summer to our hometown where we stayed a bit with our second cousins and my dads cousin.. My second cousin and I had a long chat about guy problems... I sort of fell for him... But now he's dating my friend, a long distant cousin now, and he lives a12 hour aeroplane ride away.... What do I do?? Its been killing me inside slowly... I though we had such a connection .. But I speak before I think and when we he laughed and jokingly suggested we should start texting I said 'gross'! What do I do??!!