/* 
--- 01 TYPOGRAPHY SYSTEM 

  FONT SIZE SYSTEM (px)
  10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Font weights :
Default : 400

- Line heights : 
Default : 1
Small : 1.05
Medium : 1.2
Paragraph default : 1.6
Large : 1.8

- Letter spacing
-0.5px
0.75px 

- Fonts Family :
(copy the html link before the CSS file !)
font-family: 'Rubik', sans-serif;

- Font weights

Default: 400
Medium : 500
Semi-bold : 600
Bold : 700


 --- 02 COLORS SYSTEM (https://maketintsandshades.com/)

--color-primary: #e67e22;
--color-tints : #e67e22 #cf711f #b8651b #a15818 #8a4c14 #733f11 #5c320e #45260a #2e1907 #170d03 #000000
--color-shades : #e67e22 #e98b38 #eb984e #eea564 #f0b27a #f3bf91 #f5cba7 #f8d8bd #fae5d3 #fdf2e9 #ffffff

--color-grey : #555;
--color-white: #fff;



--- 03 IMAGES

--- 04 ICONS

--- 05 SHADOWS
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);


--- 06 BORDER-RADIUS
Default : 9px
Medium : 11px

--- 07 WHITESPACE

SPACING SYSTEM (px)
      2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
*/

:root {
  /* font-size: 10px;   equal to 1rem */
  /* pourcentage of user's browser font-size setting  */
  font-size: 62.5%;

  /* Colors */
  --color-primary: #e67e22;
  --color-tints-1: #fdf2e9;
  --color-tints-2: #cf711f;
  --color-tints-3: #fae5d3;
  --color-tints-4: #eb984e;
  --color-yellow: #ffd43b;
  /* Grey */
  --color-grey-dark: #888;
  --color-grey: #555;
  --color-grey-1: #343a40;
  --color-lgrey: #333;
  --color-grey-lightest: #6f6f6f;
  --color-grey-lightest-2: #76767676;
  --color-white: #fff;
  /* Shadows */
  --color-sh-1: #2e1907;
  --color-sh-2: #45260a;
}
/* GLOBAL RESET  */
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a,
a:hover,
a:focus,
a:active {
  text-decoration: none;
  color: inherit;
}
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  line-height: 1;
  color: var(--color-grey);
  /* Only works if there is nothing absolutely positioned 
  in relation to body*/
  overflow-x: hidden;
}

/**********************/
/* GENERAL REUSABLE COMPONENTS */
/**********************/
.container {
  /* 1140px*/
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 3.2rem;
}
.grid {
  display: grid;
  column-gap: 6.4rem;
  row-gap: 9.6rem;
}

.grid:not(:last-child) {
  margin-bottom: 9.6rem;
}
.grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4-cols {
  grid-template-columns: repeat(4, 1fr);
}
/* .grid--5-cols {
  grid-template-columns: repeat(5, 1fr);
} */
.grid--center-v {
  align-items: center;
}

.heading-primary,
.heading-secondary,
.heading-tertiary {
  color: var(--color-lgrey);
  font-weight: 700;
  letter-spacing: -0.5px;
}
.heading-primary {
  font-size: 5.2rem;
  line-height: 1.05;
  margin-bottom: 3.2rem;
}
.heading-secondary {
  font-size: 4.4rem;
  line-height: 1.2;
  margin-bottom: 9.6rem;
}
.heading-tertiary {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 3.2rem;
}
.subheading {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--color-tints-2);
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  letter-spacing: 0.75px;
}
.btn,
.btn:link,
.btn:visited {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 2rem;
  font-weight: 600;
  padding: 1.6rem 3.2rem;
  border-radius: 9px;
  /* Only necessary for the .btn */
  border: none;
  cursor: pointer;
  font-family: inherit;
  /*Put transition on original "state" */
  /* transition: background-color 400ms; */
  transition: all 400ms;
}
.btn,
.btn--full:link,
.btn--full:visited {
  background-color: var(--color-primary);
  color: var(--color-white);
}
.btn--full:hover,
.btn--full:active {
  background-color: var(--color-tints-2);
}
.btn--outline:link,
.btn--outline:visited {
  background-color: var(--color-white);
  color: var(--color-grey);
}
.btn--outline:hover,
.btn--outline:active {
  background-color: var(--color-tints-1);
  /* border: 3px solid #fff; */
  /*Trick to add border inside*/
  box-shadow: inset 0 0 0 3px var(--color-white);
}
.btn--form {
  background-color: var(--color-sh-2);
  color: var(--color-tints-1);
  align-self: end;
  padding: 1.2rem;
  transition: all 300ms;
}
.btn--form:hover {
  background-color: var(--color-white);
  color: var(--color-grey);
}
.link:link,
.link:visited {
  display: inline-block;
  color: var(--color-primary);
  /* currenColor will takes the color of the element color propery  */
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: all 300ms;
}
.link:hover,
.link:active {
  color: var(--color-tints-2);
  border-bottom: 1px solid transparent;
}
.list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.all-recipes {
  text-align: center;
  font-size: 1.8rem;
}
.list-item {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  line-height: 1.2;
}
.list-icon {
  width: 3rem;
  height: 3rem;
  color: var(--color-primary);
}
*:focus {
  outline: none;
  /* outline: 4px dotted var(--color-primary); */
  /* outline-offset: 8px; */
  box-shadow: 0 0 0 0.8rem rgba(230, 125, 34, 0.5);
}
/* HELPER/SETTING CLASSES */
.margin-right-sm {
  margin-right: 1.6rem !important;
}
.margin-bottom-md {
  margin-bottom: 4.8rem !important;
}
.center-text {
  text-align: center;
}
strong {
  font-weight: 500;
}
