A wildfire that burned hundreds of acres and shut down Interstate 84 Sunday was started by lightning, officials with the Bureau of Land Management say.

The highway was closed for several hours.

Firefighters contained the fire at about 2 a.m. According to the BLM, it was fully contained Monday afternoon. The blaze left hillsides scorched black, with some small patches still burning in brush and grass.

The fire, which was first reported at 8 p.m. Sunday, burned an estimated 600 acres.

I-84 was shut down in both directions near Glenns Ferry, due to thick smoke and flames burning on both sides of the road.

No homes were threatened, but some outbuildings were in danger of burning, according to the BLM.

BLM Fire Information Officer Jared Jablonski said windy conditions pushed the flames, presenting a challenge for firefighters.

"The wind always plays a huge role in wildland fire and range fires in particular because of the flashy fuel types, the grass and brush," he said.

Crews worked throughout the day to mop up remaining hotspots, Jablonki said.

He urged Idahoans to take steps to avoid accidentally sparking a fire, including completely drowning campfires, securing chains on vehicles, and shooting safely on BLM lands as temperatures rise.

"The 2017 fire season is definitely here," he said.