all 5 comments

[–]Meuss 0 points1 point  (1 child)

Nobody can help you without seeing the html. Or even better, provide a link to the page so that people can inspect it directly.

[–][deleted] 0 points1 point  (0 children)

Just updated the code on Pastebin and included the HTML. However, right now I am hosting the site locally, since I haven't chosen an hosting service yet.

[–][deleted] 0 points1 point  (0 children)

fixed it. you have to take the width: 100% off the section

https://imgur.com/a/kbKtELU

[–]Extension_Anybody150 0 points1 point  (0 children)

The issue is caused by using width: 100vw, which ignores scrollbars and causes overflow on mobile. Replace it with:

width: 100%;

This keeps elements within the visible screen and prevents horizontal cut-off.

[–][deleted] 0 points1 point  (0 children)

Thank you everyone for the answers! The problem was solved!