No connection to imac
Kids were playing on I mac last night. The magic keyboard lost connection and so did mouse. Wouldn't do anything so I shut it down manually and restarted it. Now I cant get into my computer at all as I need to put in password and it wont allow me to do that as I don't have a keyboard or mouse that is connected. When I try to connect a wired keyboard to computer, it wont work either. Seems the USB ports are not working either? Help. I am totally locked out of my computer. I tried to get on my ipad and see if I could get into it that way and it says its offline
iMac 21.5″, macOS 10.15