On my website, I have a logo that is hidden until the screen reaches a certain size. Despite using both "flex" and "hidden" classes for styling, I am encountering an error suggesting that they do the same thing. Removing either class disrupts the intended functionality of my code. The error does not impact the overall performance, but I'm curious to understand why it's happening and how it can be resolved. This setup utilizes Next.js and Tailwind CSS.
className="w-16 h-16 bg-dark text-light flex items-center justify-center rounded-full text-2xl font-bold border border-solid border-transparent dark:border-light hidden lg:flex"