Iphone 5 - hard reset not working

My phone all of a sudden went to the all black screen with the apple logo tonight and stayed like that for about 20 minutes. At that point it shut off and I couldnt do anything to get the screen to come back up until I did the hard reset, which just made the black screen pop up with the apple logo and fade a couple times. What can I do??
Do you have a recent iCloud or iTunes back up? I would connect to iTunes and see if you could wipe it and restore- Sounds software related
I would definitely try and reset as new first and then if that does not work I would make an appt with the Genius Bar at your Apple store and let them have a look at it.

Original thread: https://forums.imore.com/threads/iphone-5-hard-reset-not-working.281643/