Cuba has been under a U.S. trade embargo for more than four decades , but a law passed by the U.S. Congress in 2000 allows American food to be sold directly to Cuba on a cash basis .