/*Import Fonts of Google Fonts*/
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Young+Serif&display=swap');

/*General Styles*/
* {
	margin: 0;
	padding: 0;
	background-origin: padding-box;
	font-family: 'Outfit', sans-serif;
}

/*Variables Styles Definid*/
:root {
	/*Colors*/
	--bg-color: hsl(0, 0%, 100%);
	--bg2-color:hsl(30, 54%, 90%);
	--bg3-color: hsl(30, 18%, 87%);
	--main-color:hsl(30, 10%, 34%);
	--text-color_1:hsl(0, 0%, 18%);
	--text-color_2:hsl(0, 0%, 82%);
	--text-color_3:hsl(332, 51%, 32%);
	--text-color_4:hsl(330, 100%, 98%);
	--subtitle-color:hsl(14, 45%, 36%);

	/*Box-shadow*/
	--bx-color:hsla(332, 51%, 32%, 0.192);

	/*Fonts Size*/
	--font-size_1:16px;
	--font-size_2:18px;
	--font-size_3: 20px;
	--font-size_4:24px;
	--font-size_5:34px;

	/*Fonts Weight*/
	--font-weight_1:400;
	--font-weight_2:500;
	--font-weight_3:600;
	--font-weight_4:700;
	--font-weight_5:800;
	--font-weight_6:900;
}
/* -- PAGES WEB --*/

/* -- Body --*/
body {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	background-color: var(--bg2-color);
}

/* -- SCROLL STYLES --*/
::-webkit-scrollbar {
	width: 1rem;
}

::-webkit-scrollbar-track {
	background-color: var(--bg-color);
	border-left: 2px solid var(--text-color_2);
}

::-webkit-scrollbar-thumb {
	background-color: var(--main-color);
	border-radius: 2rem;
}

/* Multi Sections */
.sections {
	margin: 2rem 0;
}

/* -- CONTENT SECTION -- */
.section {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background-color: var(--bg-color);
	max-width: 50%;
	margin: 6rem 0;
	padding: 3rem;
	padding-bottom: 0;
	border-radius: 2rem;
	box-shadow: 0rem 1rem 2rem var(--bx-color);
}

/* -- CONTENT IMG -- */
.content-img {
	display: flex;
	align-items: center;
	justify-content: center;
}

.img {
	width: 100%;
	margin-bottom: 2rem;
	border-radius: 1rem;
}

/* -- TITLE -- */
.title {
	font-family: 'Young Serif', serif;
	font-size: var(--font-size_5);
	font-weight: var(--font-weight_1);
	color: var(--text-color_1);
	margin-bottom: 1rem;
}

/* -- DESCRIPTION -- */
.description {
	color: var(--text-color_3);
	font-size: var(--font-size_1);
	line-height: 1.4;
	margin-bottom: 2.5rem;
}

/* -- CONTENT - SECTION INFO -- */
.section-info {
	padding: 2rem;
	border-radius: 1rem;
	background-color: var(--text-color_4);
}

.section-info .info-title {
	font-size: var(--font-size_3);
	font-weight: var(--font-weight_3);
	color: var(--text-color_3);
}

.section-info .list-info {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 1rem 1.4rem;
	color: var(--main-color);
}

.section-info .list-info li::marker {
	color: var(--text-color_3);
	font-size: var(--font-size_1);
}

.section-info .list-info .title-info {
	font-weight: var(--font-weight_3);
	color: var(--text-color_3);
	margin: 0 1px 0 1rem;
}

/* -- STYLES SUBTITLES -- */

.subtitle {
	font-family: 'Young Serif', serif;
	font-size: var(--font-size_4);
	font-weight: var(--font-weight_2);
	color: var(--subtitle-color);
	margin-bottom: 1.3rem;
}

/* -- SECTION STYLES INSTRUCTIONS -- */
.section-ingredients, .section-instructions {
	border-bottom: 1px solid var(--text-color_2);
}

.section-ingredients .list-ingredients {
	display: flex;
	flex-direction: column;
	gap: .8rem;
	margin: 0  2rem 2rem;
	list-style:square;
}

.section-ingredients .list-ingredients li::marker {
	color: var(--text-color_3);
}

.section-ingredients .list-ingredients .item-ingredients .item-ingredients-title {
	font-size: var(--font-size_1);
	color: var(--text-color_3);
	margin-left: .8rem;
}

/* -- SECTION STYLES INSTRUCTIONS -- */
.section-instructions {
	margin-top: 2rem;
}

.section-instructions .list-instructions {
	display: flex;
	flex-direction: column;
	gap: .8rem;
	margin: 0 1.2rem 2rem;
}

.section-instructions .list-instructions li::marker {
	color: var(--text-color_3);
	font-weight: var(--font-weight_3);
}

.section-instructions .list-instructions .instructions-item .title-instructions {
	margin-left: .8rem;
	color: var(--text-color_3);
	font-weight: var(--font-weight_3);
}

.section-instructions .list-instructions .instructions-item {
	font-size: var(--font-size_1);
	color: var(--text-color_3);
	margin-left: .8rem;
}

/* -- SECTION STYLES NUTRITION -- */
.section-nutrition {
	margin-top: 2rem;
}

.section-nutrition .text-nutrition {
	color: var(--text-color_3);
	font-size: var(--font-size_2);
	margin-bottom: 1.5rem;
}


/*-- TABLE --*/
.table {
	display: flex;
	align-items: center;
	flex-direction: row;
	justify-content: space-between;
	border-bottom: 1px solid var(--text-color_2);
	padding-bottom: 1rem;
	margin-bottom: 1rem;
}

.table:last-child {
	border: none;
	margin-bottom: 0;
}

.table .title-table {
	color: var(--text-color_3);
	font-weight: var(--font-weight_2);
	font-size: var(--font-size_2);
	margin-left: 2rem;
}

.table .item-table {
	color: var(--text-color_1);
	font-size: var(--font-size_2);
	font-weight: var(--font-weight_3);
	margin-right: 15rem;
}

/* -- RESPONSIVE MEDIA QUERIES-- */
@media screen and (max-width: 768px) {
	.section {
		max-width: 100%;
		margin: 0;
		border-radius: 0;
		padding: 0;
	}

	.content-img img {
		border-radius: 0;
		margin: 0;
		padding: 0;
	}
	.content-page {
		padding: 2rem;
	}
} 

@media screen and (max-width: 400px) {
	.content-page {
		margin: 0;
		padding: 1rem;
		box-sizing: border-box;
	}
	.description {
		width: 100%;
	}
	.section-instructions .list-instructions .instructions-item {
		width: 100%;	
	}
	.table {
		min-width: 100%;
	}
	.table .item-table {
		margin-right: 1rem;
	}	
}
