Why you put that second bracket before the code?
Just remove the second bracket from before the code and use the CSS below instead of previous given one.
#banner div.banner--bg-animate {
background-size: contain;
}
Best Regards,
ThemeLooks Support Team