@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/*COLOR SWATCH */
:root {
	--color-gray-light-1:#F5F5F5; /* whitesmoke */

	--color-gray-dark-1:#DDD;
	--color-gray-dark-2:#AAA;
	--color-gray-dark-3:#999;
	--color-gray-dark-4:#555;
	--color-gray-dark-5:#333;
	--color-green-1:#008000; /*green*/
	--color-green-2:#6B8E23; /*olivedrab*/
	--color-yellow:#FFD700; /*gold*/
	--color-red-1:#FF4500; /*orangered*/
	--color-red-2:#B22222; /*firebrick*/

}
a {
	text-decoration: none;
}
img {
  max-width: 100%;
}
.clearfix {
	clear: both;
}
.full {
	width: 0%;
}

/* BACKGROUNDS*/

.green {
	background: #6B8E23;
}

/* FORMAT*/
body {
	font-family: "Open Sans", serif;
  	font-optical-sizing: auto;
  	font-weight: 300;
  	font-size: 14px; 
  	font-style: normal;
  	font-variation-settings: "wdth" 100;
    color: 
#333;
}

header { /* 1.1 1st NAV - PUTTING MENU BAR TO THE RIGHT SIDE ( HOME, RECIPE, KITCHEN, COMMUNITY, AND CONTACT */
	display: flex;
	justify-content: space-between;
}
#logo { /* KITCHEN DEPOT LOGO ON HEADER */
	width: 60px;
	margin-top: 5px;
}
#sitename {
	color: #008000;
	font-size: 30px;
	font-weight: 400;
	margin-left: 10px;
	margin-right: auto;
	align-self: center;
}
/* NAVIGATION LIST BEING REMOVED */
nav ul { 
	display: flex;
	list-style: none;
}

/* 1.1 1st- CHANGING FONT ( HOME, RECIPE, KITCHEN, COMMUNITY, AND CONTACT) */

nav ul li a {
	color: #AAA;
	font-size: 16px;
	font-weight: 500;
}
/* 1.1 1st NAV - EDIT THE NAVIGATION BAR ( HOME, RECIPE, KITCHEN, COMMUNITY, AND CONTACT */
.navlink a { 
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 20px;
}
/* 1.1 1st - MAKING LINKS WORK ( HOME, RECIPE, KITCHEN, COMMUNITY, AND CONTACT) */

.navlink:hover, .navlink.active { 
	background: #FFD700;
}

/* 1.1 1st - CHANGING ICONS'S SIZE ( HOME, RECIPE, KITCHEN, COMMUNITY, AND CONTACT) */
.navlink img {
	width: 20px;
	height: 20px;
	margin-top: 10px;
	filter: opacity(50%);
}



/* PAGE LABEL - SECOND HEADER */
#pagelabel {
	color: #F5F5F5;
	padding: 20px 0;
	display: flex;
	justify-content: space-between;
}
/* PAGE LABEL - SECOND HEADER - CHANGING FONT STYLE OF recipes */
#pagelabel h1 {
	font-size: 28px;
	font-weight: 500;
	letter-spacing: 4px;
}
/* PAGE LABEL - SECOND HEADER - CHANGING CHEVRON -the arrow sa tabi ng tomatoe basil burrata */
#recipe-name {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
/* PAGE LABEL - SECOND HEADER - CHANGING CHEVRON -the arrow sa tabi ng tomato basil burrata */
#recipe-name img {
	width: 20px;
	height: 20px;
	filter: invert(100%);
}
/* PAGE LABEL - SECOND HEADER - CHANGING FONT STYLE OF tomato basil burrata */
#recipe-name h2 {
	font-size: 24px;
	font-weight: 300;
	letter-spacing: 1px;
}

/* MAIN */
#recipe-info {
	font-weight: 400;
	display: flex;
	justify-content: space-between;
}

/* GRAY BACKGROUND SA PART NI LINDA HAAS */
#recipe-details {
	background: #F5F5F5;
	padding: 20px;
	border-bottom: #FFF 5px solid;
}
#info {
	margin-bottom: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
/* CHANGING FONT STYLE OF tomato basil burrata */
#info h3 {
	font-size: 18px;
	font-weight: 600;
	text-transform: capitalize;
	margin-bottom: 20px;
}
#author {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: #FFF 5px solid;
}
/* CHANGING THE STYLE OF time */
#time {
	padding-bottom: 20px;
	display: flex;
}
#time ul {
	list-style: none;
}
/* CHANGING THE FONT STYLE OF preparation time, cooking time, & serves */
#time ul li.label {
	text-transform: capitalize;
	font-weight: 600;
	padding-right: 10px;
}
/* PUTTING HEIGHT/GAP BETWEEN THE 3 PART AND 4 PART (BEFORE MAG INGREDIENTS AND ETC) */

#summary {
	margin-bottom: 100px;
}
#recipe-image {
	flex-basis: 300%;
}



/* RECIPE */
#recipe {
	padding: 50px 20px;
	border: #DDD 1px dashed;
	margin-top: -5px;
	display: flex;
}
/* CHANGING THE FONT STYLE OF TITLES -ingredients and title */
#recipe h3 {
	text-transform: capitalize;
	font-weight: 500;
	font-size: 24px;
	padding-bottom: 10px;
}
#recipe-details img{
	width: 60px;  /* Adjust size as needed */
    height: 60px;
    border-radius: 50%;  /* Makes it circular */
}
#ingredients ul {
	list-style: none;
	width: 310px;
}
#ingredients ul li {
	padding-bottom: 7px;
}
#instructions ol {
	margin-left: 20px;
}
#instructions ol li {
	padding-bottom: 10px;
}




/* RED - 3th part */
/* 3th PART - CHANGING THE LAYOUT NG LAMAN SA LOOB */
#red {
	color: #F5F5F5;
	background-color: #B22222;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#red img {
	filter: invert(100%);
}

/* 3rd PART - CHANGING THE LAYOUT NG MGA TEXT SA LOOB*/
#locator {
	padding-left: 20px;
	display: flex;
	justify-content: space-between;
}
#locator img {
	padding-right: 5px;
}





/* 3rd PART - PARA ALIGN SILANG LAHAT */
#category {
	display: flex;
}
/* 3rd PART - PARA WALANG TULDOK SA PASTA, ITALIAN, & CHEESE */
#category ul {
	list-style: none;
	display: flex;
}
#category ul li: first-child {
	padding-left: 5px;
}
#category ul li:not(:first-child)::before {
	content: " | ";
}

/* 3rd PART - TO CHANGE FONT STYLE OF 529 VOTES */
#votes {
	font-size: 12px;
	padding: 10px;
	background-color: #FF4500;
	display: flex;
	flex-direction: column;
	align-items: center;
}
#votes h3 {
	font-size: 24px;
	font-weight: 600;
}




/* RECOMMENDATIONS */


/* 5th PART - */
/* 5th PART -  title */
}
h2 {
	letter-spacing: 4px;
	font-weight: 800;
	text-transform: capitalize;
	text-align: center;
}

h3 {
	font-weight: 700;
	text-transform: capitalize;
	text-align: center;
}
.recommendations {
    background: #F5F5F5;; /* Light gray */
    padding: 100px; /* Add space above and below */
    text-align: center;

}
.recommendations p {
  text-align: center;
  padding-top: 0px;
}

/* 5th PART -  CARDS */

.cards {
		display: flex;
		justify-content: space-between;
		gap: 20px;
		margin-top: 20px;
}
.card {
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 60%;
    text-align: left;
    display: flex;
    flex-direction: column;
    font-size: 12px;
}
.card_container {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
#stars {
	align-items: center;
}

.user1 {
    display: flex; /* Align items in a row */
    align-items: center; 
    gap: 10px; 
}

.user1 img {
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    object-fit: cover; 
    margin-right: 10px; 
}
.user1 span {
    font-size: 12px; 
    font-weight: 300;
    color: #333;
}
.rating {
    background: #6B8E23;
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    margin-left: auto;
    border-radius: 3px;
}





/* FOOTER*/


footer {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

/* FOOTER -  PARA MAG ALIGN SIYA SA 6TH PART */

.footer {
    background-color: #3e3e3e;
    color: white;
    padding: 20px 200px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid;
  
}
.footer-left {
    display: flex;
    align-items: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the text below the logo */
    text-align: center;
    margin-bottom: 10px; /* Adds spacing between the logo and other footer content */
}

.footer-logo img {
	margin-top: 5px;
    width: 150px;
    height: 150px;
    border-radius: 50%;

}
.footer-logo p {
		font-size: 28px;
}
.footer-info {
	 margin-left: 50px;
}

.footer-info p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-right {
    display: flex;
    align-items: flex-end;

}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons i {
    font-size: 18px;
}

.social-icons i:hover {
    color: #ffcc00;
}
#subfooter {
	font-size:  12px;
	text-transform: capitalize;
	color: #DDD;
	padding: 10px 0;
	display: flex;
	justify-content: space-between;
}  

/* EDIT BELOW IN HTML AS WELL* */
#subfooter img {
	width: 14px;
	height: 14px;
	filter: invert(75%);
}	
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    font-size: 12px;
}
/* EDIT UPPER IN HTML AS WELL*/

.copyright {
    text-align: left;
}

.developer {
    text-align: right;
}



