How long does it take to fly Miami Florida to Panama City?

Miami Florida to panama city Florida by driving is 14 hours and Miami Florida to panama city by fliying is 1 hour