I have been coding for only four months, so I don't know how to use methodologies and frameworks, correctly. I've searched for answers for my question for a long time, but I haven't been able to find any. I've watched many videos of professional coders explaining BEM and using BEM, but none of them have explained BEM more than the BEM website explains it. If I am using the BEM methodology should everything in my media queries be modifiers?
html {
font-size: 16px;
box-sizing: border-box;
}
/************************
HEADER
************************/
/********
BLOCKS
*********/
.main-header {
text-align: center;
padding: 0.1rem;
width: 100%;
}
/********
ELEMENTS
*********/
.main-header__name {
margin: 0.15rem 0;
text-shadow: 0 1px 0 #ccc,
0 2px 0 #c9c9c9,
0 3px 0 #bbb,
0 4px 0 #b9b9b9,
0 5px 0 #aaa,
0 6px 1px rgba(0,0,0,.1),
0 0 5px rgba(0,0,0,.1),
0 1px 3px rgba(0,0,0,.3),
0 3px 5px rgba(0,0,0,.2),
0 5px 10px rgba(0,0,0,.25),
0 10px 10px rgba(0,0,0,.2),
0 20px 20px rgba(0,0,0,.15);
}
.main-header__main-nav {
padding-left: 0;
list-style-type: none;
margin-top: 0;
}
.main-header__main-nav__a-remove-decoration {
text-decoration: none;
color: black;
text-transform: uppercase;
display: block;
}
.main-header__main-nav__li-padding-top{
padding-top: 0.50rem;
}
/********
MODIFIERS
*********/
/************************
MEDIA QUERIES
************************/
@media (min-width: 48rem) {
/************************
HEADER
************************/
/********
BLOCKS
*********/
.main-header {
display: flex;
flex-direction: column;
}
/********
ELEMENTS
*********/
.main-header__main-nav {
display: flex;
width: 100%;
flex-grow: 1;
justify-content: center;
}
.main-header__main-nav__li-flexgrow {
flex-grow: 1;
}
/********
MODIFIERS
*********/
}
<header class="main-header">
<h1 class="main-header__name">Best City Guide</h1>
<ul class="main-header__main-nav">
<li class="main-header__main-nav__li-padding-top main-header__main-nav__li-flexgrow "><a class="main-header__main-nav__a-remove-decoration" href="icecream.html">ice cream</a></li>
<li class="main-header__main-nav__li-padding-top main-header__main-nav__li-flexgrow"><a class="main-header__main-nav__a-remove-decoration" href="#">donuts</a></li>
<li class="main-header__main-nav__li-padding-top main-header__main-nav__li-flexgrow"><a class="main-header__main-nav__a-remove-decoration" href="#">tea</a></li>
<li class="main-header__main-nav__li-padding-top main-header__main-nav__li-flexgrow"><a class="main-header__main-nav__a-remove-decoration" href="#">coffee</a></li>
</ul>
</header><!--/.main-header-->