Media query challange - can this be done?

Hello,

I would like to have the browser scroll bar interaction, to only affect the right side of the site. The left side remains fixed.

solution that I thought? Give the left side a fixed position.

Is there a better one?

Because of this choice, I DO have some issues to deal with.
If the viewport gets narrow than this fixed element, I’m unable to see it’s contents. And that’s terrible.

Is there a way to build a media query that says: if the viewport height is less then the height of my fixed element, OR if the viewport width is wider then my fixed element, THEN, use “position:absolute” instead. ?

if this is not possible, what alternatives may we have on this case?

Thanks a lot,
Márcio