/* CSS reset */
* {
	margin: 0;
	padding: 0;
	border: 0;
}

.mobile {
	display: block;
}

.tablet-desktop {
   display: none; 
}

#menu-links {
	display: none;
}

/* Header styles */
header {
	font-family: 'Indie Flower', cursive;
	font-size: 2em;
}
/* Navigation styles */
nav {
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
	font-size: 1.2em;
}
nav ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
nav li {
	text-align: center;
}
nav a {
    background-color: #9DA9A0;
    display: block;
    padding: 0.5em;
    color: #FFFFFF;
    text-decoration: none;
}

/* Style rules for hamburger menu */
.mobile-nav a {
    text-align: center;  
    font-size: 1.5em;
    display: block;
}

.mobile-nav a.menu-icon {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
} 

/* Main styles */
main {
	padding: 2%;
	background-color: #bfc8ad;
}

/* Footer styles */
footer {
	text-align: center;
	font-size: .8em;
}

@media screen and (min-width: 600px) {
	.mobile, .moble-nav {
		display: none;
	}
	
	.tablet-desktop {
		display: block;
	}

	/* Navigation styles for tablet/desktop - make the number of autos match the number of nav items */
	nav ul {
		display: grid;
		grid-template-columns: auto auto auto auto auto auto auto;
	}
	
	nav a:hover {
	background-color: #FF7779;
	}
	
	nav ul li:hover > ul {
		display: block;
		width: inherit;
	}
	
	nav ul ul {
		display: none;
		position: absolute;
	}
	
	nav ul ul li {
		width: auto;
	}
}