/*CSS DOCUMENT*/

html, body, div, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit;} /*My edited version of the Eric Meyer’s reset tool. You may want to include this in all of your future CSS files. */


div.home-container { 
	background: url(home-background.jpg) center center fixed;
	background-size: cover;
	position: relative;
	min-height: 100vh;
}

div.container { 
	position: relative;
	min-height: 100vh;
}
/* >>> IMPORTANT: you have to change the wrap the content of your home page (index) in a div with a class home-container to make it work. If you used a div with the class container on your home, you’ll only need to change the name of the class.  */


main { 
	padding: 2rem 1.5rem 5rem;
	width: auto;
	/* background-color: rgb(255, 255, 255); */
	}

img {
    width: 100%; /*Please leave this line.*/
     display: block;
}

header {
	display: grid;
	grid-template-columns: auto auto;
	background: rgb(202, 198, 198);
	padding: 1.5rem 1rem;
	}

h1 {
	width: 12em;
	}

h2, h3, h4 {
		font-weight: bold;
		font-family: sans-serif;
	}

h2 {
	font-size: 2rem;
	margin: 1rem 0rem 1rem;
	}
	
h3 {
	font-size: 1.25rem;
	margin: 1rem 0rem;
}


a {
	text-decoration: none;
	}

nav ul  {
	text-align: right;
	}
	
ul li 	{
	list-style-type: none;
	padding: .5rem 0rem;
	font-family: sans-serif;
}

figure {
	margin-bottom: 1.5rem;
}

main.menu ul {
		margin: 0rem;
}	

main.menu ul li {
		margin: 0rem;
		display: grid;
		grid-template-columns: auto auto;
		grid-template-rows: auto auto;
}	

p {
	margin: .5rem 0rem 1.25rem;
	font-family: sans-serif;
	}
	
p.description {
	grid-column: 1;
	margin-bottom: 1.5rem;
	}
	
p.price {
	grid-row: 1;
	grid-column: 2;
	color: rgb(255,0,0);
	text-align: right;
	margin: 0rem;
	}
	
nav ul li {
	text-transform: uppercase;
	font-weight: bolder;
	margin-bottom: .5rem;
	}
	
nav ul li a {
	color: rgb(250, 243, 42);
	background-color: rgb(0,0,255);
	padding: .5rem;
	font-family: sans-serif;
	}
	

p.slogan {
	font-size: 4.5rem;
	font-family: serif;
	font-style: italic;
	margin: 3rem 2rem 4rem;
	color: rgb(255,255,255);	
	}
	
footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 3rem; 
  box-sizing: border-box;
  padding: 1rem;
  background: rgb(250, 243, 42);
}

address {
	color: rgb(246, 143, 0);
	font-family: sans-serif;
	}

footer p {
	margin: 0;
}

body {
	font-family: sans-serif;
}

nav ul li.selected a{
	color: rgb(246, 244, 241);
	background-color: rgb(246, 143, 0);
}

article {
	background-color: rgb(19, 235, 221);
}

@media screen and (min-width: 60em) {
	body{
		background-color: rgb(255,0,0);
		max-width: 70rem;
		margin: auto;
	}
	main.menu ul{
		display: grid;
		grid-template-columns: auto auto;
		grid-gap: 0em 6em;
	}

	div.container{
		background-color: rgb(255, 255, 255);
	}

}

@media screen and (min-width: 45em){
	nav ul li{
		display: inline;
		margin:.25em;
		font-size: 1.35rem;
	}

	nav{
		margin: auto;
	}

	article{
		margin: 2rem 10rem;
	}
}
