adds styling to cards and input box