Sticky Navigation and Progress Bar Help

Recently watched a YouTube video by Flux who discussed how to create a sticky navigation progress bar.

However, there are additions I am wondering about (see photo attached). First, in the original version the width of the section hyperlink aligns with the progress bar and I’m unsure how that can be done.

Second, there are boarders around section hyperlink and the boxes are also different sizes.

Any help is greatly appreciated!

Link to YouTube video: Sticky Navigation and Progress Bar with Webflow - YouTube

Link to my website: Webflow - Homeroom Podcast