title: I can't convert a simple navbar to a responsive navbar
body: <p>Hi i have a problem with the navbar, i use html5 css3 and php 7.1, i think i've failed in the css but i don't know, so thanks a lot to all for your answer, i wait.
  I can't convert this navbar to a responsive navbar, can someone help me?</p>
  
  <p>This is the css:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>#wrap {
   margin: 0 auto;
   position: fixed;
      top: 0;
      width: 100%;
   border-bottom: 3px solid red;
   z-index: 98;
  }
  
  .inner {
   margin: 0 auto;
   max-width: 940px;
   padding: 0 40px;
  }
  
  .relative {
   position: relative;
  }
  
  .right {
   float: right;
  }
  
  .left {
   float: left;
  }
  
  /* HEADER */
  #wrap &gt; header {
   background: rgba(51,51,51,0.9);
   position: static;
   padding-bottom: 20px;
  }
  .logo {
   display: inline-block;
   font-size: 0;
   padding-top:15px;
  }
  #navigation {
   position: absolute;
   right: 40px;
   bottom: 0px;
  }
  
  #menu-toggle {
   display: none;
   float: right;
  }
  
  /* HEADER &gt; MENU */
  #main-menu {
   float: right;
   font-size: 0;
   margin: 20px -170px;
  }
  
  #main-menu &gt; li {
   display: inline-block;
   margin-left: 50px;
   padding: 2px 0;
  }
  
  #main-menu &gt; li.parent {
  }
  
  #main-menu &gt; li.parent &gt; a {
  }
  
  #main-menu &gt; li &gt; a {
   color: #eee;
   font-size: 14px;
   line-height: 0px;
   padding: 10px 0;
   transition: .5s;
   text-decoration:none;
  }
  
  #main-menu &gt; li:hover &gt; a,
  #main-menu &gt; li.current-menu-item &gt; a {
   color: #db2323;
  
  }
  
  /* HEADER &gt; MENU &gt; DROPDOWN */
  #main-menu li {
   position: relative;
  }
  
  ul.sub-menu { /* level 2 */
   display: none;
   left: 0px;
   top: 100%;
   list-style:none;
   position: absolute;
   padding-top: 10px;
   border-radius: 0 0 20px 20px;
   width: 150px;
   z-index: 99;
  }
  
  ul.sub-menu ul.sub-menu { /* level 3+ */
   margin-top: -1px;
   padding-top: 0;
   border: 1px solid white;
   left: 149px;
   top: 0px;
  }
  
  ul.sub-menu &gt; li &gt; a {
   background-color: #333;
   border-top: 1px solid #444;
   color: #bbb;
   display: block;
   font-size: 12px;
   line-height: 0px;
   padding: 10px 12px;
  }
  
  ul.sub-menu &gt; li &gt; a:hover {
   background-color: #2a2a2a; 
   color: #fff;
  }
  
  ul.sub-menu ul.sub-menu &gt; li:first-child {
   border-top: 1px solid #444;
  }
  
  ul.sub-menu &gt; li:last-child &gt; a {
   border-radius: 0 0 5px 5px;
  }
  
  ul.sub-menu &gt; li &gt; a.parent {
   background-image: url(../images/arrow.png);
   background-size: 5px 9px;
   background-repeat: no-repeat;
   background-position: 95% center;
  }
  
  #main-menu li:hover &gt; ul.sub-menu {
   display: block; /* show the submenu */
   height: 20px;
   opacity: 0.9;
  }
  
  @media all and (max-width: 700px) {
  
   #navigation {
    position: static;
    margin-top: 20px;
   }
  
   #menu-toggle {
    display: block;
   }
  
   #main-menu {
    display: none;
    float: none;
   }
  
   #main-menu li {
    display: block;
    margin: 0;
    padding: 0;
   }
  
   #main-menu &gt; li {
    margin-top: -1px;
   }
  
   #main-menu &gt; li:first-child {
    margin-top: 0;
   }
  
   #main-menu &gt; li &gt; a {
    background-color: #333;
    border: 1px solid #444;
    color: #bbb;
    display: block;
    font-size: 14px;
    padding: 12px !important;
    padding: 0;
   }
  
   #main-menu li &gt; a:hover {
    background-color: #444; 
   }
  
   #main-menu &gt; li.parent {
    background: none !important;
    padding: 0;
   }
  
   #main-menu &gt; li:hover &gt; a,
   #main-menu &gt; li.current-menu-item &gt; a {
    border: 1px solid #444 !important;
    color: #fff !important;
   }
  
   ul.sub-menu {
    display: block;
    margin-top: -1px;
    margin-left: 20px;
    height: auto;
    position: static;
    padding: 0;
    width: inherit;
   }
  
   ul.sub-menu &gt; li:first-child {
    border-top: 1px solid #444 !important;
   }
  
   ul.sub-menu &gt; li &gt; a.parent {
    background: #333 !important;
   }
  }
  
  .slideDown{
   animation-name: slideDown;
   -webkit-animation-name: slideDown; 
  
   animation-duration: 1s; 
   -webkit-animation-duration: 1s;
  
   animation-timing-function: ease; 
   -webkit-animation-timing-function: ease; 
  
   visibility: visible !important;      
  }
  
  @keyframes slideDown {
   0% {
    transform: translateY(-50%);
   }
   50%{
    transform: translateY(8%);
   }
   65%{
    transform: translateY(-4%);
   }
   80%{
    transform: translateY(4%);
   }
   95%{
    transform: translateY(-2%);
   }   
   100% {
    transform: translateY(0%);
   }  
  }
  
  @-webkit-keyframes slideDown {
   0% {
    -webkit-transform: translateY(200%);
   }
   50%{
    -webkit-transform: translateY(8%);
   }
   65%{
    -webkit-transform: translateY(-4%);
   }
   80%{
    -webkit-transform: translateY(4%);
   }
   95%{
    -webkit-transform: translateY(-2%);
   }   
   100% {
    -webkit-transform: translateY(0%);
   } 
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="wrap"&gt;
  &lt;header&gt;
      &lt;div class="inner relative"&gt;
       &lt;img src="images/svapo.png" width="35%" style="margin-top:20px;margin-left: -200px" alt="fresh design web"&gt;
        &lt;a id="menu-toggle" class="button dark" href="#"&gt;&lt;i class="icon-reorder"&gt;&lt;/i&gt;&lt;/a&gt;
        &lt;nav id="navigation"&gt;
          &lt;ul id="main-menu"&gt;
            &lt;li&gt;&lt;a href="/"&gt;&lt;i class="fa fa-home"&gt;&lt;/i&gt;&amp;nbsp;&amp;nbsp;Home&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="/forum/"&gt;&lt;i class="fa fa-comments-o"&gt;&lt;/i&gt;&amp;nbsp;&amp;nbsp;Forum&lt;/a&gt;&lt;/li&gt;
            &lt;li class="parent"&gt;
              &lt;a href=""&gt;&lt;i class="fa fa-language"&gt;&lt;/i&gt;&amp;nbsp;&amp;nbsp;Regolamento &lt;i class="fa fa-arrow-circle-o-down" style="font-size:12px;"&gt;&lt;/i&gt;&lt;/a&gt;
              &lt;ul class="sub-menu slideDown"&gt;
                &lt;li&gt;&lt;a href=""&gt;&lt;i class="fa fa-language"&gt;&lt;/i&gt;  Italiano&lt;/a&gt;&lt;/li&gt;
                &lt;li&gt;&lt;a href=""&gt;&lt;i class="fa fa-language"&gt;&lt;/i&gt;  Englese&lt;/a&gt;&lt;/li&gt;
                &lt;li&gt;&lt;a href=""&gt;&lt;i class="fa fa-language"&gt;&lt;/i&gt;  Automatico&lt;/a&gt;&lt;/li&gt;
                &lt;/li&gt;
              &lt;/ul&gt;
            &lt;/li&gt;
            &lt;li class="parent"&gt;
              &lt;a href=""&gt;&lt;i class="fa fa-language"&gt;&lt;/i&gt;&amp;nbsp;&amp;nbsp;Ban MC &lt;i class="fa fa-arrow-circle-o-down" style="font-size:12px;"&gt;&lt;/i&gt;&lt;/a&gt;
              &lt;ul class="sub-menu slideDown"&gt;
                &lt;li&gt;&lt;a href="/ban/bans.php"&gt;&lt;i class="fa fa-legal"&gt;&lt;/i&gt; Bans&lt;/a&gt;&lt;/li&gt;
                &lt;li&gt;&lt;a href="/ban/kicks.php"&gt;&lt;i class="fa fa-sign-out"&gt;&lt;/i&gt;  Kicks&lt;/a&gt;&lt;/li&gt;
                &lt;li&gt;&lt;a href="/ban/mutes.php"&gt;&lt;i class="fa fa-close"&gt;&lt;/i&gt; Mutes&lt;/a&gt;&lt;/li&gt;
                &lt;/li&gt;
              &lt;/ul&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;a href="http://csgo.svapomc.com/sb/"&gt;&lt;i class="fa fa-gavel"&gt;&lt;/i&gt;&amp;nbsp;&amp;nbsp;Ban CS:GO&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="/rank/stats/"&gt;&lt;i class="fa fa-line-chart"&gt;&lt;/i&gt;&amp;nbsp;&amp;nbsp;Stats ts3&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="/forum/index.php?/staff/"&gt;&lt;i class="fa fa-users"&gt;&lt;/i&gt;&amp;nbsp;&amp;nbsp;Staff&lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
        &lt;/nav&gt;
        &lt;div class="clear"&gt;&lt;/div&gt;
      &lt;/div&gt;
    &lt;/header&gt;  
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  
  and this is the html</p>
  
  <p>Thanks...</p>