37.6% of the <section>'s height between the <img> and the top of the <section>20% of the <section>'s height between the <img> and the progress bar <div>14.7% of the <section>'s height between the progress bar <div> and the bottom of the <section>flex-shrink: 0;.object-fit: contain;. Problem with this solution, is that I need the progress bar's width to match that of the svg. object-fit: contain; makes it so that the width of the <img> element doesn't necessarily match that of the svg inside of it. So I really don't know how to even extract the width of the svg 10px. The widths of both the logo and the progress bar are currently set to width: min(1080px, 74.5%);