shifting overlay to basecss