Amoxicillin is a penicillin-type antibiotic, and unlike a few specific antibiotics, it does not have a dangerous interaction with alcohol. Moderate drinking will not make amoxicillin ineffective. The common belief that all antibiotics cannot be mixed with any alcohol is largely a myth that applies mainly to certain drugs such as metronidazole.
That said, alcohol can worsen side effects like nausea, stomach upset, dizziness, and tiredness, and your body recovers better from infection when well rested and hydrated. Heavy drinking is best avoided while you are ill regardless of the antibiotic.
Finish the full course as prescribed even if you feel better. Contact a doctor if your symptoms worsen, you develop a rash, swelling of the face or throat, or difficulty breathing, which could signal an allergic reaction and needs urgent attention.