Media Queries Not Working [RESPONSIVE DESIGN]

I need adapting my site to mobile devices, my media queries don’t seem to work, why? I really don’t know what I’m missing here.

here goes the code where i used “p” to test if the media query was working:

body{
    background-color: #EAE0D5;
    color: #0A0908;
    font-family: 'Lato', sans-serif;
    font-size: 10px;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* HEADER */

header{
    font-family: 'JetBrains Mono', monospace;
    width:100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #C6AC8F;
}

header h1{
    font-size: 3rem;
    margin-left: 1.5rem;
}

nav{
    font-size: 2rem;
    display: flex;
    align-items: center;
}

ul{
    list-style-type:none;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.menu-container ul a{
    text-decoration: none;
    color: #0A0908;
    margin-right: 1.5rem;
    padding-left: 0.5rem;
    border-left: 5px solid #22333B;
}

h2{
    font-family: 'JetBrains Mono', monospace;
    font-size:2rem;
}

.selected-lang{
    margin-top: 3.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lang-menu ul{
    margin: 0;
    padding: 0;
    background-color: #f3e9dd;
    border: 1px solid #C6AC8F;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    visibility: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lang-menu ul li a{
    width: 125px;
    display: block;
    padding: 5px 10px;
    text-decoration: none;
}

.lang-menu ul:hover{
    background-color: #C6AC8F;
}

.lang-menu:hover ul{
    visibility: visible;
}

#portuguese{
    font-size: 1.5rem;
}

/* ABOUT ME */

.aboutme-container{
    margin-top: 5rem;
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.aboutme-content{
    display:flex;
    justify-content: center;
    align-items: center;
}

.aboutme-text-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width:50%;
}

p{
    font-size: 1.5rem;
}
#aboutme img{
    height:20rem;
    width:15rem;
    border-radius: 1rem;
    margin-left: 2.5rem;
}
a{
    color:#0A0908;
}
#portuguese{
    font-size:1.5rem;
}

/* PROJECTS */

.projects-container{
    margin-top: 5rem;
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.projects-container img{
    height: 256px;
    width: 256px;
}

/* SKILLS */

.skills-container{
    margin-top: 5rem;
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.programming-container{
    margin-top: 1.5rem;
    display:flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.programming-container img{
    height: 5%;
    width: 5%;
    margin-right: 2rem;
}

/* CONTACT */

.contact-container{
    margin-top: 5rem;
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.contact-icon-container{
    display:flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}

.contact-icon-container img{
    height:48px;
    width: 48px;
}

.contact-icon-container p{
    margin-left: 1rem;
}

.email-container{
    display: flex;
    justify-content: center;
    align-items:center;
    flex-direction: row;
}

.linkedin-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}



/* FOOTER */

.footer-container{
    margin-top: 5rem;
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

@media only screen and (max-width:576px){
    p{
        color: red;
    }
}

Do you really have a class named ‘p’?

Oops, that was a typo, sorry. But still don’t working.

Ok, are you sure that you made the browser window small enough to test it? And do you have a simple p tag with plain text and without nesting a tags etc. in the first place? The media query is ok now.

Yes, I’m testing it on device emulation in browser inspect mode. but still not working.

Then post your html, too, please.
Just tested with a plain p tag, it works fine: