The history regarding the french colonization of morocco

The french colonization of morocco,
why did the french want to colonize morocco
how did french colonization blend moroccan algerian and tunisian culture
what resources did france attain
how did they rule during their colonization
were there any wars fought and why
the effects that this has on moroccan culture