As I was driving my 2018 Ford Focus, the check engine flashed on. Almost as soon as I noticed it flashed on, it went away. Several more miles down the interstate, it came on again. Almost as soon as it came on, a warning displayed stating Engine Temp Hot, Stop Safely. As I started to pull over onto the shoulder, the power steering went out and then the brakes became extremely hard to push in. As my car slowed down I noticed smoke and as soon as we stopped flames came out from under the hood of the car. I called 911 and the Indiana State Police came and Incident # 2023-00344031 was filed after Pike Township Fire department extinguished the flames. State Farm Insurance was contacted and my car was deemed a total loss. I have photos but the website wouldn't upload the photos.