Which Motherboard can i fit in this case, That supports i5 8400?

Solution
Any ITX, uATX, or ATX motherboard will fit. Just don't buy one marked eATX. I would get this one for example:

https://www.asus.com/us/Motherboards/PRIME-Z370-A/