Technical Documentation Page - Build a Technical Documentation Page

Tell us what’s happening:

i’m creating technical documentation page
i have used 2 media queries and they saying that Your Technical Documentation project should use at least one media query.
actually its a test and it fails when i run tests, what should i do now

Your code so far

/* file: styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
}

body {
    display: flex;
}

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100dvh;
    background-color: #333;
    color: white;
    padding: 1em 1.2em;
}

header {
    line-height: 1.3;
    font-size: 2rem;
    margin-bottom: 1em;
}

header:not(.nav-header) {
    font-weight: 600;
    margin-bottom: 0.8em;
}

#navbar>ul {
    list-style-type: none;
    padding-left: 0.5em;
}

#navbar>ul>li {
    margin-bottom: 1.5em;
}

#navbar>ul>li>.nav-link {
    text-decoration: none;
    font-size: 1.2rem;
    color: white;
    padding: 0.5em;
    border-radius: 0.5rem;
    transition: 0.2s ease-out;
}

#navbar>ul>li>.nav-link:hover {
    color: #333;
    background-color: white;
}

main {
    margin-left: 290px;
    margin-right: 20px;
}

.main-section {
    margin-bottom: 2.25em;
    padding-top: 1em;
}

.main-section>p {
    color: #333;
    margin-left: 1em;
    margin-bottom: 1em;
}

.main-section>code {
    display: block;
    background-color: hsl(0, 1%, 90%);
    padding: 10px;
    margin: 10px 30px;
    border-radius: 5px;
    font-family: "Jetbrains Mono", monospace;
}

.main-section>ul {
    margin-left: 3.5em;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Media Query for Smaller Screens */
@media (max-width: 660px) {
    body {
        flex-direction: column;
    }

    #navbar {
        position: relative;
        width: 100%;
        height: auto;
    }

    #main-doc {
        margin-left: 20px;
    }
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36

Challenge Information:

Technical Documentation Page - Build a Technical Documentation Page

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Get Help > Ask for Help button located on the challenge.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

Welcome to the forum @AbdurRehman

Make sure you linked the styles.css file to the html

Happy coding

it is linked already,
i have figured it out what is the problem and i solved it, Thanks