/*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;
	background-color: rgb(255, 255, 255);
}
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;
}
nav ul li.selected a { 
	background-color: rgb(225 114 25);
	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, 255, 255);
    max-width: 40em;
    margin-left: auto;
    margin-right: auto;  
}

main { 
	padding: 1.5rem 1.5rem 6rem;
	}

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

header {
	display: grid;
	grid-template-columns: 50% auto;
	background: rgb(218, 218, 218);
	padding: 1.5rem 1.5rem;
	
	}

h1 {
	width: 15em;
	}

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

h2{
	font-size: 2em;
	margin: 0.5em 0em 0em;
}
	
	
h3 {
	font-size: 1.5em;
	margin: 0.5em 0em 0.75em;
}


a {
	text-decoration: none;

	}

nav ul  {
	text-align: right;
	margin-top: 2em;
	}
	
ul li 	{
	list-style-type: none;
	
}

figure {
	margin-bottom: 1em;
}



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

p {
	margin: .5em 0em 0.5em;
	
	}
	
p.description {
	grid-column: 1;
	margin: 0.5em 0em 1em;
	}
	
	p.price {
		grid-row: 1/2;
		grid-column: 2/3;
		color: rgb(244, 31, 31);
		text-align: right;
		margin: 0em;
		}
	
nav ul li {
	text-transform: uppercase;
	font-weight: bold;
	margin-bottom: 1.5em;
	margin-top: 1em;
	margin-right: 0.5em;
	}
	
nav ul li a {
	color: rgb(254 252 84);
	background-color: rgb(0 40 245);
	padding: 0.5em;
	}
	

p.slogan {
	font-size: 5em;
	font-family: serif;
	font-style: italic;
	padding: 0.5em 0.25em 1.25em;
	color: rgb(250 250 250);	
	margin: 0em;
	}
	
footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 4rem; 
  box-sizing: border-box;
  padding: 1.5em 1.5em;
  margin: 0em;
  background: rgb(254 252 84);;
}

p.address {
	color: rgb(241 141 53);
	margin: 0em;
	
	}

footer p {
	padding: 1em 1em;
	
}
@media screen and (min-width: 60em) {
	nav ul li{
		display: inline;
		font-size: 1.7em;
	}
	main.menu ul {
		margin: 1em 1em 1em;
		display: grid;
		grid-template-columns: auto auto;
		grid-template-rows: auto auto;
		column-gap: 5em;
	}
	html{
		background-color: rgb(244, 31, 31);
		margin-left: 4em;
		margin-right: 4em;
	}

}

