Media queries must be written correctly - changing styles at 768px, mobile-first, only using the min-width property. code example
Example: media query
@media only screen and (max-width: 600px) {
body {
background-color: lightblue;
}
}
@media only screen and (max-width: 600px) {
body {
background-color: lightblue;
}
}