FORT MYERS, Fla. — Gunfire erupted at a nightclub hosting a swimsuit-themed party for teens in Florida, leaving two teens dead and at least 17 other people wounded, officials said Monday.

It was not immediately clear what triggered the violence, but Fort Myers police Capt. Jim Mulligan said the shooting was not an act of terror. Police detained three people and said the area around Club Blu had been deemed safe, Mulligan said.

The two teens killed were 14-year-old Sean Archilles and 18-year-old Ste’Fan Strawder, police said. Archilles lived about a mile from the nightclub, said his father, Jean Archilles. Archilles said his son loved to play football and basketball.

“When he lays down in his bed, how is he feeling about what he did? A 14-year-old kid!” Archilles said. “Is he thinking about his family, his friends? Because everybody has family and friends. Does he feel good about himself?”

Three people remained hospitalized Monday morning, Cherly Garn, a spokeswoman for Lee Memorial Health System, said in an e-mail. All others were treated and released. Two people brought to two other area hospitals were also treated and released, Garn said.

Ages of the patients ranged from 12 to 27, Garn said.

The club is in a strip mall that includes a daycare centre and is across the street from a large apartment complex. Officers had the area taped off as crime scene technicians scoured the strip mall parking lot for clues.

The shooting comes more than a month after a nightclub shooting in Orlando that was the deadliest shooting in modern U.S. history. The shooting at the Pulse nightclub on June 12 left 49 victims dead and 53 others wounded.

Kinfay Moroti / The News-Press via AP

The violence at Club Blu erupted about 12:30 a.m. Monday, Mulligan said. There were two active crime scenes, police said. Several hours later a street in the area remained closed as police investigated.

In a statement, authorities said the Fort Myers police and the Lee County Sheriff’s Office were “actively canvassing the area looking for other persons who may be involved in this incident.”

The names of the victims were not immediately available.

Syreeta Gary told WFTX-TV her daughter ran and dodged between shots to avoid being shot. Her daughter was OK, but her daughter’s friend “got hit in the leg and luckily it’s just her leg,” she said.

Kinfay Moroti / The News-Press via AP

“Her dodging bullets and running, dropping in between cars, it’s ridiculous that these kids have to go through this,” Gary said. “They can’t enjoy themselves because you have other people that have criminalistic minds and they just want to terrorize things.”

A post on Club Blu’s Facebook page Monday morning said the shooting happened as the club was closing and parents were picking up their children. The post also said there was armed security at the event.

“We are deeply sorry for all involved,” the post read. “We tried to give teens what we thought was a safe place to have a good time.”