/*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. */

body {
	font-family: sans-serif;
}

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;
	background-color: rgb(255, 255, 255);
}

/* >>> 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.  */

article {
	background-color: rgb(0, 229, 255);
	margin: 1em 15em 0em
}

main { 
	padding: 1em 2em 3em;
	}

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

header {
	display: grid;
	grid-template-columns: 50% auto;
	background: rgb(203, 201, 201);
	padding: 2em 2em;
	}

h1 {
	width: 6em;
	font-size: 2em;
	font-weight: bold;
	margin-top: 1.5em;
	}

h2, h3, h4 {
		font-weight: normal;
	}

h2 {
	font-size: 1.5em;
	margin: 2em 0em 1em;
	font-weight: bold;
	}
	
h3 {
	font-size: 1em;
	margin: 3.8em 0em 1em 0em;
	font-weight: bold;
}


a {
	text-decoration: none;
	}

nav ul  {
	text-align: right;
	}
	
ul li 	{
	list-style-type: none;
	box-sizing: border-box;
}

nav ul li.selected a { 
	background-color: rgb(249, 135, 13);
	color: rgb(255, 255, 255);
}

figure {
	margin-bottom: 1em;
}

main.menu ul {
		margin: .5em 0em;
}	

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

p {
	margin: 1em 0em 1em;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	}
	
p.description {
	grid-column: 1;
	grid-row: 2;
	margin: 0em;
	}
	
p.price {
	grid-row: 1;
	grid-column: 2;
	color: rgb(246, 5, 5);
	text-align: right;
	margin: 3.9em 0em 0em 0em;
	}
	
nav ul li {
	font-weight: bold;
	margin-bottom: 1.5em;
	}
	
nav ul li a {
	color: rgb(249, 249, 12);
	background-color: rgb(8, 8, 247);
	padding: .5em .5em .5em;
	text-decoration: none;
	text-transform: uppercase;
	}
	

p.slogan {
	font-size: 4.5em;
	font-family: Georgia, 'Times New Roman', Times, serif;
	font-style: italic;
	margin: 0em 0em 2em 0em;
	color: rgb(255, 255, 255);	
	padding-top: 1em;
	}
	
footer {
  position: bottom;
  bottom: 0;
  width: 100%;
  height: 3rem; 
  box-sizing: border-box;
  padding: 1em 1em;
  background:rgb(255, 255, 0);
}

address {
	color:rgb(255, 124, 17);
	padding: 1em 1em 0em 0em;
	}

footer p {
	margin: 0;
}

@media screen and (min-width: 60em) {
	nav ul li {
		font-size: 1.7em;
		display: inline-block;
		margin: 1em .5em 1em .5em;
		}
	
		body {
			background-color: rgb(246, 5, 5);
			width: 80em;
			margin-left: auto;
			margin-right: auto;
		}

		main.menu ul {
			display: grid;
			grid-template-columns: 50% 50%;}
}