.button-nav{
	width: 12em;
	height: 2.9em;

	box-sizing: border-box;

	background-color: white;
	
	position: relative;

	margin:0.5rem 0.5rem;
	
	font-family:'Press Start 2P',cursive;
}

.button-nav:hover{
	background-color: black;
	color:white;

	-moz-animation: updown infinite 1.5s reverse;
	-webkit-animation: updown infinite 1.5s reverse;
	animation: updown infinite 1.5s reverse;
}

@-moz-keyframes updown{

	 0%   {top: 0px;}
    25%  {top: 10px;}
    50%  {top: 0px;}
    75%  {top: -10px;}
    100% {top: 0px;}
}

@-webkit-keyframes updown{

	 0%   {top: 0px;}
    25%  {top: 10px;}
    50%  {top: 0px;}
    75%  {top: -10px;}
    100% {top: 0px;}
}

@keyframes updown{

	 0%   {top: 0px;}
    25%  {top: 10px;}
    50%  {top: 0px;}
    75%  {top: -10px;}
    100% {top: 0px;}
}


.nav-bar{
	background-color: black;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 3.5em;
	text-align: center;

}

.list-nav-bar li{
	display: inline-block;
}