Preheat oven to 350°F and spray three 6-inch (or two 8-inch) cake pans with nonstick spray.
Whisk together flour, cocoa powder, baking soda, baking powder, and salt. Set aside.
Combine sugar, eggs, oil, and villa in a large bowl. Mix on medium speed with an electric mixer until just combined.
Add half of flour mixture and half of the beer. Mix until just combined. Repeat with remaining flour mixture and beer. Mix until completely combined.
Divide batter evenly among cake pans and bake for 25-28 minutes (23-25 min if using 8-inch pans), or until a toothpick inserted into the center of each cake layer comes out clean.
Let cakes cool in pans for 5-10 minutes. Then transfer to a wire rack to cool completely.