Adjectives placed before a noun must take an ending that matches the noun's gender, case and whether a definite or indefinite article precedes it.
Adjectives used after sein, werden and bleiben do not take any ending — they never change form.