Atrani to Naples bus

Hello
We are in Atrani and have a flight from naples to croatia at 10 50 am
Is there sota bus ear3 on morning that would
get us to naples
There is an airport bus from here but gets to Naples airoo 9 10 am leaving ys only 1 hour 40 minutes before flight so not sure if en time to get through customs

Spend the night before in Naples. Not worth risking your flight.