The shadow will get smaller as the distance increases and will get bigger as the distance decreases. This is because of the narrower angular projection of the shadow when the object is farther vs the wider angle of projection when the object is closer.