Language Switcher overflow from navbar in mobile site


I’m working on my own theme based on the Grav One Page Theme.

My problem:
How can I hide the language selection from the ‘LanguageSwitcher’ plugin in the mobile view of my web site because there is an overflow (see picture). Is there any way to work with conditions (for html classes?) to check if the web site is in ‘desktop’ or ‘mobile’ view?
With the ‘mobile’ site at the top showing the avaiable language is no problem because it is in the headerimage. But after scrolling down the language selection disrupts the site view. Maybe it is possible to deactivate the language selection after scrolling down?