@charset "utf-8";
/* CSS Document */
nav {}
nav ul {   
	list-style: none;  
	margin: 0;  
	padding: 0;  
	display: flex;
	justify-content: space-around
}
nav li {
	padding-left: 10px;
	padding-right: 10px;
	height: 35px;
}
nav ul li ul {  
	flex: 1;
	visibility: hidden;
	flex-direction: column;
	background-color: forestgreen;
	padding: 5px;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
	position: absolute;
}
nav ul li:hover ul {
	visibility: visible;
}

/* Tablet layout 
@media all and (max-width: 1000px) {  nav ul { flex-wrap: wrap; } nav li { flex: 1 1 50%; }  nav ul li ul { flex: 1 1 33.33%; }  } */
/* mobile layout */
@media all and (max-width: 480px) {  nav li { flex-basis: 100%; }  nav ul li ul { flex-basis: 50%; }  } 

/* menu links*/
nav a { 
	text-align: center;
	text-decoration: none;
	display: block;
	color: #FFF;
	text-transform: uppercase;
	font-weight: 400;
}

nav a:hover {
	color:#FFF;	
}
nav a::after {
	content: '';
	display: block;
	height: 5px;
	width: 0%;
	background-color: #000;
	bottom: 0;
	transition: all ease-in-out 250ms;
}

nav a:hover::after {
	width: 100%;
}