*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Outfit', sans-serif;
	background-color: hsl(30, 18%, 87%);
}

.main-content {
	background-color: hsl(0, 0%, 100%);
	border-radius: 8px;
}

.main-content .line {
	height: 1px;
	margin: 0 auto;
	background-color: hsl(30, 18%, 87%);
}

.main-content .line-one {
	width: 95%;
}

.main-content .line-two {
	width: 100%;
}

.main-content .section-title {
	font-family: 'Young Serif', serif;
	color: hsl(14, 45%, 36%);
	letter-spacing: 2px;
}

.recipe-image {
	display: block;
	max-width: 100%;
	margin: 0 auto;
}

.description-section {
	margin-top: 0.5rem;
	padding: 1.2rem;
}

.description-section h1 {
	font-family: 'Young Serif', serif;
	color: hsl(24, 5%, 18%);
	letter-spacing: 2px;
}

.description-section p {
	margin-top: 0.8rem;
	line-height: 150%;
	color: hsl(30, 10%, 34%);
}

.time-section {
	margin: 2rem;
	padding: 1.8rem;
	background-color: hsl(330, 100%, 98%);
	border-radius: 8px;
}

.time-section h3 {
	color: hsl(332, 51%, 32%);
}

.time-section ul {
	line-height: 120%;
	padding: 1rem;
	color: hsl(30, 10%, 34%);
}

.time-section span {
	font-weight: bold;
}

.time-section li {
	padding: 0.5rem;
}

.ingredients-section {
	padding: 1.2rem;
}

.ingredients-section ul {
	padding: 1.3rem;
}

.ingredients-section li {
	padding: 0.5rem;
	color: hsl(30, 10%, 34%);
}

.instructions-section {
	padding: 1.2rem;
}

.instructions-section ol {
	padding: 1.3rem;
	line-height: 150%;
}

.instructions-section span {
	font-weight: bold;
}

.instructions-section li {
	padding: 0.5rem;
	color: hsl(30, 10%, 34%);
}

.nutrition-section {
	padding: 1.3rem;
}

.nutrition-section .nutrition-description {
	margin-top: 1rem;
	line-height: 150%;
	color: hsl(30, 10%, 34%);
}

.nutrition-section .nutrition-boxes {
	padding: 0 1.5rem;
}

.nutrition-box {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(1, 1fr);
	gap: 8px;
	margin-top: 1.2rem;
	padding-bottom: 0.8rem;
	text-align: left;
}

.nutrition-text {
	color: hsl(30, 10%, 34%);
}

.nutrition-box .nutrition-secondary-text {
	color: hsl(14, 45%, 36%);
	font-weight: bold;
}

@media (min-width: 768px) {
	body {
		padding: 5rem;
	}

	.main-content {
		padding: 2rem;
		margin: 0 auto;
		max-width: 750px;
	}

	.recipe-image {
		padding: 1.3rem;
		border-radius: 25px;
	}

	.nutrition-box .nutrition-text {
		padding: 0 3rem;
	}
}
