<style>


<link href='https://fonts.googleapis.com/css?family=Lato:400,900' rel='stylesheet' type='text/css'>

</style>

.navmenu{
  list-style: none;
  margin: 0;
  padding: 0;
  font: bold 10px 'Lato', sans-serif; /* use google custom font "Lato" */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.navmenu li{
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 100px;
  margin-right: 5px;
  margin-left: 5px;
  margin-bottom: 5px;
}

.navmenu li a{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 61px; /* height of links */
  padding: 0 10px;
  position: relative;
  overflow: hidden;
  color: black;
  outline: none;
  border: 1px solid rgba(0,0,0,.1);
  border-bottom: 8px solid rgba(0,0,0,.1);
  opacity: 1;
  text-transform: uppercase;
  font-size: 1.8em;
  /* 18 * 0.0555 = 1px */
  letter-spacing: 0.0555em;
  background: #ffc952; /* default background color */
  text-decoration: none;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; /* center text horizontally */
  text-align: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; /* center text vertically */
  -webkit-transition: all .3s;
  transition: all .3s;
}

/* Create shimmering effect */
.navmenu li a:after{
  content: '';
  position: absolute;
  width: 35%;
  height: 100%;
  background: white;
  opacity: .5;
  top: 0;
  left: -50%;
  -webkit-transform: skew(-20deg);
          transform: skew(-20deg);
  -webkit-transition: all .2s;
  transition: all .2s;
}


.navmenu li:nth-of-type(2) a{
    color: white;
  background: #800080;
}

.navmenu li:nth-of-type(3) a{
  background: #47b8e0;
}

.navmenu li:nth-of-type(4) a{
	color: white;
  background: #34314c;
}

.navmenu li:nth-of-type(5) a{
  background: #FF9900
}

.navmenu li:nth-of-type(6) a{
    color: white;
  background: #808000;
}

.navmenu li:nth-of-type(7) a{
  background: #ff7473;
}

.navmenu li a:hover{
  opacity: .7;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.navmenu li a:hover:after{
  left: 150%;
  -webkit-transition: all .4s;
  transition: all .4s;
}

.navmenu li a:active{
  box-shadow: 0 -30px 10px rgba(255,255,255,.2) inset;
  border-bottom-width: 0;
  box-shadow: none;
  border-top: 8px solid rgba(0,0,0,.1);
  -webkit-transition: none;
  transition: none;
}

@media screen and (max-width:760px){
  .navmenu li a{
    font-size: 1.5em;
  }

}


/* Update V2.0 */

.navmenu2 li:nth-of-type(1) a{
  background: #833471;
  color: white;
  }

.navmenu2 li:nth-of-type(2) a{
  background: red;
  }


.navmenu2 li:nth-of-type(3) a{
  background: yellowgreen;
}

.navmenu2 li:nth-of-type(4) a{
  background: #9b59b6;
}

.navmenu2 li:nth-of-type(5) a{
  background: #1B1464;
  color: white;
}

.navmenu2 li:nth-of-type(6) a{
  background: #006266;
}

.navmenu2 li:nth-of-type(7) a{
  background: #7158e2;
  color: white;
}



