﻿@charset "utf-8";

/*
   New Perspectives on HTML5 and CSS3, 8th Edition
   Tutorial 5
   Coding Challenge 1

   Author: Lokii Cameron
   Date: 10.21.2025
   Filename: code5-1_media.css

*/
/* ===========
   0 to 500px 
   ===========
*/

@media only screen and (max-width: 500px) {
	img {
		display: none;
	}
	ul.submenu {
		text-align: center;
	}
}

/* =================
   501px and greater 
   =================
*/

@media only screen and (min-width: 501px) {
	nav {
		float: left;
		width: 130px;
		height: 400;
		margin-top: 30px;
		margin-right: 25px;
		margin-bottom: 0px;
		margin-left: 0px;
	}
}
/* =================
   710px and greater 
   =================
*/

@media only screen and (min-width: 710px) {
	nav {
		float: none;
		width: 100%;
		height: auto;
		margin: 0;
	}
	ul.mainmenu {
		display: flex;
		flex-flow: row nowrap;
		justify-content: center;
	}
	ul.mainmenu li {
		flex: 0 1 120px;
	}