I have two menu blocks. One is in the <main>
and the second block just below the first one in the <footer>
section. Both have exactly the same CSS font size, let's say 1rem. They are identical in size when I inspect the size using DevTools in responsive view (all good). But when I open the site on my actual phone, the footer block has smaller font size than the block above. The viewport is
<meta name="viewport" content="width=device-width,initial-scale=1">
This is how it looks like on my phone:
This is the first time I enounter such an issue, I just don't know how to approach it. I've tried using all 3 units: PX, REM, and EM. All of them produce this issue. These are the rules I'm tweaking, and they are not getting overwritten by anything. They work, but produce different result on DevTools 390*1180 and my phone which is (1080 x 2160 pixels), 401ppi
#bottommenublock a {
font-size: 1em!important;
}
.flist a {
font-size: 1em!important;
}
When I make, let's say the footer block 1rem, and the one above it 0.9rem; they start looking identical on my phone, but now different on the devtools. It's a mystery!
UPD 2:
Here is the edited HTML page that reproduces my issue exactly as it is. Sorry for the large CSS, didn't want to remove anything that could affect the whole picture
UPD 3:
It must be something with my phone I guess. Just asked my partner to check the same page with her iPhone 13 and it is all fine on her phone.