/* CSS Document */

.menubar1 {
	align-self: center;
	margin-right: 4em;
}

nav { }
nav ul {   
	
	list-style: none;   
	display: flex;
	justify-content: space-around;
	width: 100%;
}
nav li {
	margin-left: 0.2em;
	margin-right: 0.2em;
}
/* submenu */
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;
}

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

nav a:hover {
	color: blue;	
}
nav a::after {
	content: '';
	display: block;
	height: 0.1em;
	width: 0%;
	background-color: red;
	bottom: 0;
	transition: all ease-in-out 250ms;
}

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

.fmap ul {
	list-style: none;   
	display: flex;
	justify-content: space-around;
	
}
.fmap a { 
	font-weight:bolder;
	text-align: center;
	text-decoration: none;
	display: block;
	color: white;
	text-transform: uppercase;
}

.fmap a:hover {
	color: red;	
}

/* 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%; }  } 