Based on the scenario, the best one that describes how she likely got it is : she touched the doorknob in her classroom
one of her friends in the classroom probably a carrier or an infected of the virus. when that friends touch the doorknob, the viruses resided in that place and transmitted to amalia when she touched the door knob
hope this helps