I am a little concerned about your giving your hamsters wine. Before we could do our experiment here at the University, we wrote up very detailed plans. We could not do anything that would knowingly harm our animals. We had to show our plans to a veterinarian and other people here who want all animals to get good care. We know that it does not take much wine or beer to harm humans, especially small humans.
Hamsters are very much smaller than the smallest humans are.
Giving them wine is probably too risky for a school science project. In most states you can do experiments with vertebrate animals only if you talk to a veterinarian about your plans. Some states do not even allow them. There are many human medicines that are very harmful to other mammals. Your veterinarian would know if wine is one of them.