I am having a problem with the last requirement for this project. That requirement is to use at least one media Query. I placed one at the end of my style sheet and cannot for the life of me, figure out why the editor is not accepting it. Any help would be greatly appreciated.
* {
scroll-behavior: smooth;
}
html {
font-size: 16px;
}
body {
width: 100%;
background-color: #faebeb;
box-sizing: border-box;
}
/* HEADER SECTION */
header {
font-size: 1.5rem;
text-align: center;
color: #a52a2a;
}
/* NAVIGATION SECTION */
#navbar {
width: 20%;
height: 100vh;
position: fixed;
box-sizing: border-box;
border-right: 6px double #a52a2a;
}
ul {
list-style-type: none;
}
#navbar
ul
li {
padding-bottom: 1rem;
text-align: center;
border-top: 3px double #a52a2a;
padding: 0.4rem;
}
ul
li
a {
text-decoration: none;
}
/* MAIN SECTION */
#main-doc {
width: 80%;
float: right;
clear: right;
box-sizing: border-box;
}
.main-section {
border-bottom: 3px double #a52a2a;
padding: 1.25rem;
box-sizing: border-box;
}
.main-section:last-child {
border-bottom: transparent;
}
@media only screen and (min-width: 1024px) {
html {
font-size: 1.5rem;
}
}