Why am I always second best?

My best friend, lets call her Julie, is beautiful. She has lots of friends, average grades and a boyfriend. We've literally known each other since birth. We've always been about equal on everything and we were both glad at that, until this school year. She's made more friends than me, and is in a really happy relationship with one of my close friends. Julie can sometimes be selfish, or rude but only I see it because she's extremely comfortable with me. When we hang out, she is constantly on her iPhone. I mean constantly. She's usually texting her boyfriend and other friends, or going on social media. Thus, when I talk, I feel like she's not listening sometimes. I'm in all advanced classes, so I don't see my friends when she usually does. I feel like she bonds more with them, and when I do see them all to together I'm a bit left out. I have a friend, called Tina. Many people dislike her because of misconceptions about her. She's one of my closest friends. Julie's other best best friend- Carly, has started to hate Tina and even was planning to fight her. Carly is popular, so she got many people to turn on Tina. They're both my friends, but since I know Tina is right in this situation, I try to say nothing and stay out of it. Tina is also Julie's friend, but Julie is closer with Carly. When Carly and Julie are together, they typically leave me out. They like to take *** on Tina, so I don't include myself. But now that it's summer break, Tina has been texting Julie more than me. Only a few people text me, when tons text Julie. She gets more likes on her photos, and comments with people calling her "perfect, gorgeous, beautiful." Julie and her boyfriend are so happy. Julie is slimmer than I'm. I'm really trying to lose weight. All I have is a Instagram, since Facebook really got on my nerves so I don't really chat with many people. All my friends say I'm *** hilarious, ambitious and cute. But, I don't believe it. I don't want to be jealous of Julie. We get along so well, and I haven't said anything.Am I really second best? How do I fix this?

Added (1). I'm not trying to be cocky, but I know that I'm more considerate than her. I help my friends out a lot with the most trivial things when needed, while she just says "i don't know." Sorry for this being so long.

There's no easy was to fix this. A slightly similar thing happened to my friend and me when we were in high school. Consider me as a much
less popular person than my friend and you. So my friend lost weight and became more noticed for speaking up more (I was always the shy one) but unlike your case, I had 0 friends other than her. Senior yr was horrible. I would distract myself by walking around campus alone to not look as bad as sitting on my own. After graduation, she apologized for how she treated me. All I can say is that you sound like a caring friend, and if you have been nothing less than it to her, she will eventually realize what an idiot she is being/was to you. Side note, don't associate yourself with ANYONE picking fights. Be on the right track kid.