Responsive CSS Menu centered item

Css code for Responsive Menu




/* header5 */



.header5 {

  box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
  position: absolute;
  width: 100%;
  z-index: 999;
  margin-top:0px;
  font-family: 'Oswald', sans-serif;
  background-color: #eee;
 


}

.header5 ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background: #eee;
 border-bottom: 5px solid red;
  font-color: #fffff;
 background-image: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhF-60NPyGKc87lqsyHGa3fiNqO5gTKbpVWgl3hUrnnIf23x_-bFpZ98JwjGXRtqjIYDvdf0O19JjMrNZsvJbcL_bHy1_8TsIOe7Ww9lZUJNEZyY4wibZUTRquketut8y29taB69N_wOFU/s320/961+%25282%2529.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;

 
}

.header5 li a {

  display: block;
  padding: 10px 10px 5px 10px ;
  text-decoration: none;
  border:1px solid #E83535;
  margin-left:50px;
  margin-right:50px;
  height:40px;
text-transform: uppercase;
letter-spacing:1px;
text-align:left;
font-family: 'arvo', sans-serif;
color:#ffffff;
 

 

 
}

.header5 li a:hover,
.header .menu-btn:hover {
  background-color: #f4f4f4;
}

.header5 .logo {
  display: block;
  float: left;
  font-size: 2em;
  padding: 10px 20px;
  text-decoration: none;
  font-size:24px;
  text-transform: uppercase;
  letter-spacing:2px;

}

/* menu */

.header5 .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}

/* menu icon */

.header5 .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 28px 20px;
  position: relative;
  user-select: none;
}

.header5 .menu-icon .navicon {
  background: #333;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

.header5 .menu-icon .navicon:before,
.header5 .menu-icon .navicon:after {
  background: #333;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.header5 .menu-icon .navicon:before {
  top: 5px;
}

.header5 .menu-icon .navicon:after {
  top: -5px;
}


/* menu btn */

.header5 .menu-btn {
  display: none;
}

.header5 .menu-btn:checked ~ .menu {
  max-height: 640px;
}

.header5 .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header5 .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header5 .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header5 .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header5 .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}



@media only screen and (min-width: 768px){



.header5 {
 
  display:block;
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
  position: relative;
  width: 100%;
  z-index: 999;
  font-family: 'Oswald', sans-serif;
  background:#eeeeee;
  float:left;
  margin:0 auto;
   display:flex;
  justify-content: center;
  background:#eeeeee;
  margin:0px;

}

  .header5 li {

     float: left;
     height:60px;
  }

  .header5 .logo {
   
      display: block;
      text-align:center;
      font-size: 2em;
      padding: 20px 20px;
      text-decoration: none;
      margin-top: 0px;
      font-size:20px;
      text-transform: uppercase;
      background-color: #eeeeee;
      width:170px;
      margin-right:20px;

            
}
 
  .header5 ul {
     display: inline-block;
    margin: 0;
    padding:0;
    list-style: none;
    overflow: hidden;
    background-color: #eeeeee;
    border-bottom: none;
    font-color:#ffffff;
    display: inline-block;
    background-image: none;
    text-align:center;

  
}
 
   .header5 li a {
    padding: 10px 15px;
    border:none;
    text-align:center;
    border-right: 1px solid #f4f4f4;
    margin-top: 15px;
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    letter-spacing:1.3px;
    word-spacing:3px;
    margin-left:0px;
    margin-right:0px;
    height:none;
    color:#000000;

  }

  .header5 .menu {

    clear: none;
    float: right;
    max-height: none;
 
  }

  .header5 .menu-icon {
    display: none;
  }

}


html code for responsive menu




<header5 class="header5">
 
 
 <a href="" class="logo">CSS Nav</a>
 
 
  <input class="menu-btn" type="checkbox" id="menu-btn" />
 
  <label class="menu-icon" for="menu-btn"><span class="navicon"></span></label>
 
  <ul class="menu">
  
  
    <li><a href="#work">info</a></li>
    <li><a href="#about">company info</a></li>
    <li><a href="#careers">blog</a></li>
    <li><a href="#contact">payroll info </a></li>
     <li><a href="#careers">prices</a></li>
    <li><a href="#contact">faq</a></li>
    <li><a href="#contact"style="background:#c22727;color:#ffffff;">boooking</a></li>
  
  
  </ul>
 
 
</header5>