Made it for my MTB and my iPhone 8 Plus incl. a cover.
I wanted it safe, but also something where I could take the phone out quickly.
As a flexible connection I used a self-closing spring. But an elastic band should do the same.
Update: V2 has less material to print. and I added a slot for a hook-and-loop band to fix whatever, maybe a flashlight....