#toggle,[id^=drop]{
display:none;
}

#nav{
display:block;
width:965px;
margin-left:auto;
margin-right:auto;
}

#nav label{
cursor:pointer;
}

#menu{
font-size:16px;
padding:0;
margin:0;
list-style:none;
position:relative;
}

#menu li{
margin:0;
display:inline-block;
float:left;
}

#menu a{
display:block;
padding:0 15px;
line-height:45px;
vertical-align:middle;
}

#menu a,#menu a:link,#menu a:visited {
color:#ffffff;
text-decoration:none;
}

#menu a:hover{
background:rgba(255,255,255,0.5);
}

#toggle img{
padding-right:5px;
}

#nav img{
vertical-align:middle;
}

#nav ul li a img{
display:none;
margin-right:5px;
margin-bottom:5px;
opacity:.7;
color-scheme:light dark;
}

@media screen and (max-width:1000px){
#nav{
width:100%;
}
}

@media all and (max-width:600px){
#menu{
display:none;
}

#drop:checked + #menu{
display:block;
}

#toggle{
display:inline-block;
padding:0 10px;
margin:0;
line-height:45px;
text-decoration:none;
border:none;
}

#toggle:hover{
background:rgba(255,255,255,0.5);
}

#menu li{
display:block;
width:100%;
border-top:solid 1px #666666;
background-color:#292929;
background:radial-gradient(circle,rgba(56,68,75,1)0%,rgba(35,43,48,1)100%);
}

#nav ul li a img{
display:inline-block;
}
}