/* Mobile Device base */

html{
	font-size: 18px;
	line-height: 1.3rem;
	height: 100%;
	font-family: "Tilt Neon", sans-serif;
}

body{
	background-color: darkgoldenrod;
	height: 100%;
	padding: 1rem;
	margin: auto;
}

header {
	text-align: center;
}

					/* Hero Image*/
.hero {
	background-image: url("images/hero_creme.jpg");
	height: 20rem;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	width: 100%;
	color: black;
}

.hero-text {
	font-family: "Tilt Warp", sans-serif;
	text-align: center;
	position: absolute;
	width: 100%;
	height: auto;
	margin-top: 5rem;
}


					/* Grid Icons */


.section-1 {
	background-color: white;
	border: 5px double brown;
	display: grid;
	text-align: center;
	padding: 0.5rem;
}

img {
	width: 20%;
	height: auto;
	padding: 0.5rem;
}

					/* Description and ingredients */
.section-2{
	background-color: darkslategray;
	color: white;
	margin: auto;
	padding-bottom: 0.5rem;
}

.hero-pic {
	display: block;
	margin: 0 auto;
	width: 95%;
	max-width: 600px;
	margin-top: 1rem;
	padding-top: 0.5rem;
}

p {
	padding: 1rem;
}

.section-2, h2, h3 {
	margin-left: 1rem;
}

					/* Tools and Directions */

.section-3{
	color: black;
	background-color: gray;
	margin: 1rem;
	padding-bottom: 1rem;
	padding-top: 5px;
}

					/* Footer */
footer {
	font-size: 0.8rem;
	text-align: center;
}

/* Tablet modifications */
@media (min-width: 481px) {
	.grid {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		background-color: white;
		padding: 1rem;
	}
	.serving {
		grid-column-start: 1;
		grid-column-end: 2;
		text-align: center;
	}
	.prep {
		grid-column-start: 2;
		grid-column-end: 3;
		text-align: center;
	}
	.fridge {
		grid-column-start: 3;
		grid-column-end: 4;
		text-align: center;
	}
}

/*Desktop*/

@media (min-width: 901px) {

	.grid{
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		background-color: white;
		padding: 1rem;
	}

	.section-1{
		margin-bottom: 1.5rem;
	}

	.serving{
		grid-column-start: 1;
		grid-column-end: 2;
		text-align: center;
	}

	.prep{
		grid-column-start: 2;
		grid-column-end: 3;
		text-align: center;
	}

	.fridge{
		grid-column-start: 3;
		grid-column-end: 4;
		text-align: center;
	}

	img{
		width: 50px;
		height: auto;
	}

	.hero-pic{
		width: 65%;
		max-width: 700px;
	}

	.grid-2{
		display: grid;
		grid-template-columns: 1fr 1fr;
		/* grid-template-rows: 1fr 1fr; 
		This is commented out because I wanted to try and get the second image
		to sit on the side while the recipe and instructions were all on the left
		side. I tried to fix that before class, but I haven't been able to yet...
		*/
	}

	
	.ingredients{
		grid-column-start: 1;
		grid-column-end: 2;
	}

	.instructions{
		grid-column-start: 1;
		grid-column-end: 2;
	}
	

}