Hello, Hela! I'm not sure for the first one; all I can say is that I would write "You still have some time before it leaves", but it doesn't mean your version is wrong. A native will come & tell you.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.