Questions about buying a house in Sweden

Hello everyone! I have some questions regarding buying a house in Sweden.

What difficulties would appear if one wants to buy a small house? (Outside of a big city) Could you buy one without big funds for a deposit? How would that work? Would there be a difference between buying as a Swedish citizen as opposed to someone from another European country?

I'd appreciate if someone could share some resources on that matter, ideally in english, since I myself barely speak any Swedish yet but of course everything is welcome.

Thank you in advance. I hope everyone has a great day!