Hey @ryan_labar thank you so much!
For the spacing, instead of using flex's gap, should I use padding or margin so that it is calculated in the offsetWidth and so, if the designer want to change the spacing from 64px to something else, I don't have to play around in the JS? I updated the Pen but I don't seem to get the math working, on desktop view it looks good, but smaller, the last item is not fully visible.
https://codepen.io/theintegrateur/pen/ExMJjeG