@charset "utf-8";

/*
   New Perspectives on HTML5 and CSS3, 7th Edition
   Tutorial 5
   Case Problem 1
   
   Author: Landin Jones 
   Date: 10/15/2023      
   
   Filename: gp_layout.css

   This file contains the layout styles and media
   queries used with sample pages from the Golden
   Pulps website.

*/


/* Import Basic Design Styles Used on All Screens */

@import url("gp_designs.css");



/* Flex Layout Styles */

body {
	display: flex;
	flex-flow: row wrap;
}

section#sheet {
	flex: 3 1 301px;
}

article {
	flex: 1 3 180px;
}







/* ============================================
	Mobile Devices: 0 - 480 pixels
   ============================================
*/

@media only screen and (max-width: 480px) {

	img	{
		width: 100%;
	}
	
	nav.horizontal {
		order: 99;
	}
	
	body > footer {
		order: 100;
	}
  

 
}




/* ===================================================
	Tablet and Desktop Devices: Greater than 480 pixels
   ===================================================
*/

@media only screen and (min-width: 480px) {
	
	nav.horizontal ul {
		display: flex;
		flex-flow: row nowrap;
		height: 40px;
	}
	
	nav.horizontal ul li {
		flex: 1 1 auto;
	}
	
	img.panelsize1 {
		width: 100%;
	}
	
	img.panelsize2 {
		width: 60%;
	}
	
	img.panelsize3 {
		width: 40%;
	}
	
	img.panelsize4 {
		width: 30%;
	}

}

