@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wdth,wght@0,75..100,300..800;1,75..100,300..800&display=swap');

/*OVERALL*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.clearfix {
  clear: both;
}

/*BODY FORMAT*/
.full {
  width: 100%;
}

.green {
  background-color: #6B8E23;
}

body {
  font-family: "Open Sans", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-size: 14px;
  font-style: normal;
  font-variation-settings:
    "wdth" <width>;
  color:#555;
}

header, #pagebanner, main, #footer_content, #subfooter_content {
  width: 960px;
  margin: auto;
  display: flex;
}

/*HEADER*/
header {
  justify-content: space-between;
}

#logo {
  width: 60px;
  margin-top: 5px;
}

#sitename {
  font-size: 24px;
  font-weight: 400;
  color: #008000;
  align-self: center;
  margin-left: 10px;
  margin-right: auto;
}

/*NAVBAR*/
nav ul {
  display: flex;
  list-style: none;
}

nav ul li a {
  font-size: 16;
  font-weight: 400;
  color: #AAA;
}

.navlink a {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 15px 0;
  padding: 0 20px;
}

.navlink:hover, .navlink.active {
  background: #FFD700;
}

.navlink img {
  width: 20px;
  height: 20px;
  opacity: 50%;
  margin-bottom: 2px;
}

/*PAGE-LABEL*/
#pagebanner {
  color: #F5F5F5;
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
}

#pagebanner h1 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 3px;
}

#pagebanner h2 {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 2px;
}

#recipe_name {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#recipe_name img {
  width: 20px;
  height: 20px;
  filter: invert(100%);
}

/*MAIN*/

/*1.OVERVIEW*/
main {
  flex-direction: column;
  justify-content: space-between;
}

#recipe_overview {
  display: flex;
}

#overview_side {
  background-color: #F5F5F5;
  display: flex;
  flex-direction: column;
  padding: 25px;
}

/*OVERVIEW-TITLE*/
#overview_title {
  text-align: center;
}

h3 {
  text-transform: capitalize;
}

/*OVERVIEW-AUTHOR*/
#overview_author {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}

.author_profile {
  width: 65px;
  height: 65px;
  border-style: solid;
  border-color: #FFF;
  border-width: 5px;
  border-radius: 50%;
}

.user_name {
  text-transform: capitalize;
}

/*OVERVIEW-PREPARATION*/
#overview_prep {
  display: flex;
  padding-bottom: 15px;
}

#prep_label li {
  color: #333;
  list-style: none;
  text-transform: capitalize;
  font-weight: 500;
  padding-right: 15px;
}

#prep_value li {
  list-style-type: ":";
}

/*OVERVIEW-IMAGE*/
#overview_image {
  flex-basis: 350%;
}


/*2.INSTRUCTIONS*/
#recipe_guide {
  display: flex;
  border-style: dashed;
  border-width: 1px;
  border-color: #DDD;
  padding: 40px 25px;
}

h4 {
  font-size: 23px;
  font-weight: 400;
  color: #333;
  text-transform: capitalize;
  padding-bottom: 10px;
}

/*GUIDE-INGREDIENTS*/
#guide_ingredients {
  width: 580px;
}

#guide_ingredients ul li {
  list-style: none;
  padding-bottom: 5px;
}

strong {
  font-weight: 700;
}

/*GUIDE-INSTRUCTIONS*/
#guide_instructions {
  display: flex;
  flex-direction: column;
}

#guide_instructions ol {
  margin-left: 20px;
}

#guide_instructions ol li {
  padding-bottom: 10px;
}


/*3.TAGS*/
#recipe_tags {
  background-color: #B22222;
  color: #F5F5F5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 25px;
}

#recipe_tags img {
  width: 16px;
  height: 16px;
  filter: invert(100%);
}

/*TAGS-LOCATION*/
#tags_location {
  display: flex;
  align-items: center;
}

#tags_location img {
  margin-right: 5px;
}

/*TAGS-CATEGORY*/
#tags_category {
  display: flex;
  align-items: center;
}

#tags_category img {
  margin-right: 5px;
}

#tags_category ul {
  display: flex;
  list-style: none;
}

#tags_category ul li:not(:first-child)::before {
  content: " | ";
}

/*TAGS-STARS*/
#tags_stars img {
  filter: invert(100%);
}

/*TAGS-RATING*/
#tags_rating {
  background-color: #FF4500;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 10px;
}

#tags_rating span {
  font-size: 28px;
  font-weight: 600;
}


/*4.RECOMMENDATIONS*/
#recs {
  background-color: #F5F5F5;
  display: flex;
  flex-direction: column;
  padding: 90px 20px 80px;
}

/*RECOMMENDATIONS-TITLE*/
#recs_title {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 55px;
}

h5 {
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 15px;
  text-transform: uppercase;
}

/*CARDS*/
#recs_cards {
  display: flex;
  justify-content: space-between;
}

.card {
  width: 295px;
  background-color: #FFF;
  display: flex;
  flex-direction: column;
}

.card_info {
  padding: 25px 0 20px;
}

/*CARD-TITLE*/
.card_title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

h6 {
  font-size: 18px;
  font-weight: 600;
  text-transform: capitalize;
}

/*CARD-STARS*/
.card_stars {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.card_stars img{
  width: 13px;
  height: 13px;
  margin-right: 3px;
}

/*CARD-DESC*/
.card_desc {
  display: flex;
  margin: 0 20px;
  padding: 20px 0 35px;
}

/*CARD-DETAIL*/
.card_detail {
  display: flex;
  justify-content: space-between;
  margin: 0 20px;
}

/*CARD-DETAIL-USER*/
.card_user {
  display: flex;
  align-items: center;
}

.card_user img {
  border-radius: 50%;
}


/*CARD-DETAIL-RATING*/
.card_rating {
  background-color: #6B8E23;
  color: #FFF;
  font-size: 12px;
  text-transform: capitalize;
  text-align: center;
  border-radius: 8%;
  display: flex;
  flex-direction: column;
  padding: 4px 6px;
}

.card_rating span {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 3px;
}

/*FOOTER*/
footer {
  color: #F5F5F5;
  background-color: #555;
}

/*FOOTER-CONTENT*/
#footer_content {
  justify-content: space-between;
  padding: 20px 0;
}

/*FOOTER-CONTENT-LEFT*/
#footer_left {
  display: flex;
  align-items: flex-end;
}

/*FOOTER-LOGO*/
#footer_logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 60px;
}

#footer_logo img {
  width: 100px;
}

#footer_logo p {
  padding: 10px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: #DDD;
}

/*FOOTER-INFO*/
#footer_info {
  display: flex;
  flex-direction: column;
}

#footer_info ul {
  list-style: none;
}

.footerlist {
  display: flex;
  align-items: flex-start;
  padding-bottom: 3px;
}

.footerlist img {
  width: 14px;
  height: 14px;
  filter: invert(100%);
}

.footerlist p{
  padding-left: 10px;
}

/*FOOTER-CONTENT-RIGHT*/
#footer_right {
  display: flex;
  align-items: flex-end;
}

/*FOOTER-SOCIALS*/
#footer_socials img {
  width: 28px;
  height: 28px;
  filter: invert(50%);
  margin-left: 22px;
}

#footer_socials img:hover {
  width: 33px;
  height: 33px;
  filter: invert(100%);
}

/*SUBFOOTER*/
#subfooter {
  color: #AAA;
  background-color: #333;
  padding: 10px 0;
}

/*SUBFOOTER-CONTENT*/
#subfooter_content {
  justify-content: space-between;
}

/*SUBFOOTER-CREDIT*/
#subfooter_credit {
  display: flex;
}

#subfooter_credit img {
  width: 12px;
  filter: invert(50%);
}

#subfooter_credit p {
  padding-left: 6px;
}