Then in line 496 (inside a Media query with a min-width: 768px [Desktop-version]) I declare two display propertys to Input and label because I want to display the Togle Switch :
The first time you declare the styles to be applied to the input, you do it under .navbar nav so you’re basically selecting .navbar nav input[type=checkbox], but the second time (in the media query) you only select nav input[type=checkbox].
This means that the original style has a greater level of specificity and so it overrides the one in the media query.
Nest the input and label declarations in the media query inside .navbar nav and see what happens.
Well I think you have done mistake in applying css
because you are applying it under.navbar nav so you’re basically selecting .navbar nav input[type=checkbox] , but in the second time (in the media query) you have only selected nav input[type=checkbox] . which overrides the media query by original style.
so just nest the input and label declarations under .navbar nav and then it will work great and if you gets any issue again just reply on this topic and will get back to you soon