/*
--- 01 TYPOGRAPHY SYSTEM

- Font sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

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

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

- Letter spacing
-0.5px
0.75px

--- 02 COLORS

- Primary: #e67e22
- Tints:
#fdf2e9
#fae5d3
#eb984e

- Shades: 
#cf711f
#45260a

- Accents:
- Greys

#888
#767676 (lightest grey allowed on #fff)
#6f6f6f (lightest grey allowed on #fdf2e9)
#555
#333

--- 05 SHADOWS

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
*/

* {
  padding: 0; /*1*/
  margin: 0; /*1*/
  box-sizing: border-box; /*1*/
}

html {
  /*font-size: 10px;*/
  /* 10px / 16px = 0.625 = 62.5%*/
  /*Percentage pf user's browser font-size setting*/
  font-size: 62.5%; /*1*/
  overflow-x: hidden;

  /*doesnt work on many browsers*/
  /*scroll-behavior: smooth;*/ /*scroll bra7a*/
}

body {
  font-family: "Rubik", sans-serif; /*1*/
  line-height: 1; /*1*/
  font-weight: 400; /*1*/
  color: #555; /*1*/

  /* Only works if there is nothing absolutely
  positioned in relation to body*/
  overflow-x: hidden;
}

/***************************************/
/* GENRAL Reusable COMPONENT*/ /*5*/
/**************************************/
.container {
  max-width: 120rem; /*7*/
  margin: 0 auto; /*7*/ /*gives cont left and right same in margin*/
  padding: 0 3.2rem; /*7*/
}

.grid {
  display: grid; /*7*/
  row-gap: 9.6rem; /*7*/
  column-gap: 6.4rem; /*7*/
  /*grid-template-columns: repeat(2, 1fr);*/ /*7*/
}

.grid:not(:last-child) {
  margin-bottom: 9.6rem; /*12*/
}
/*semi call to class to add some variation like 2cols*/
.grid--2-cols {
  grid-template-columns: repeat(2, 1fr); /*7*/
}
/*semi call to class to add some variation like 3 cols*/
.grid--3-cols {
  grid-template-columns: repeat(3, 1fr); /*7*/
}
/*semi call to class to add some variation like 4 cols*/
.grid--4-cols {
  grid-template-columns: repeat(4, 1fr); /*7*/
}

.grid--5-cols {
  grid-template-columns: repeat(5, 1fr); /*7*/
}
/*centering grid item*/
.grid--center-v {
  align-items: center; /*8*/
}

.heading-primary,
.heading-secondary,
.heading-tertiary {
  font-weight: 700; /*8*/
  color: #333; /*8*/
  letter-spacing: -0.5px; /*8*/
}

.heading-primary {
  font-size: 5.2rem; /*3*/
  /*font-weight: 700;*/ /*3*/
  line-height: 1.05; /*3*/
  /*color: #333; */ /*3*/
  /*letter-spacing: -0.5px;*/ /*3*/ /*space bet letter*/
  margin-bottom: 3.2rem; /*3*/
}

.heading-secondary {
  font-size: 4.4rem; /*8*/
  line-height: 1.2; /*8*/
  margin-bottom: 9.6rem; /*8*/
}

.subheading {
  display: block; /*8*/
  font-size: 1.6rem; /*8*/
  font-weight: 500; /*8*/
  color: #cf711f; /*8*/
  text-transform: uppercase; /*8*/
  margin-bottom: 1.6rem; /*8*/
  letter-spacing: 0.75px; /*8*/
}

.heading-tertiary {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 3.2rem;
}

.btn,
.btn:link,
.btn:visited {
  display: inline-block; /*3*/

  font-size: 2rem; /*3*/
  font-weight: 600; /*4*/
  padding: 1.6rem 3.2rem; /*3*/
  border-radius: 9px; /*3*/
  text-decoration: none; /*3*/

  /*to btn */
  border: none; /*14*/
  cursor: pointer; /*14*/
  font-family: inherit;
  /*Put transition on original state*/
  transition: all 0.3s; /*3*/ /*display all attribute on 1 sec*/
}
/*helper class*/
.btn--full:link,
.btn--full:visited {
  background-color: #e67e22; /*3*/
  color: #fff; /*3*/
}
/*helper class*/
.btn--full:hover,
.btn--full:active {
  background-color: #cf711f;
}
/*helper class*/
.btn--outline:link,
.btn--outline:visited {
  background-color: #fff; /*3*/
  color: #555;
}
/*helper class*/
.btn--outline:hover,
.btn--outline:active {
  background-color: #fdf2e9; /*3*/
  /*border: 3px solid white;*/
  /*Trick to add border inside*/
  box-shadow: inset 0 0 0 3px #fff; /*3*/
}

.btn--form {
  background-color: #452604; /*14*/
  color: #fdf2e9; /*14*/
  align-self: end; /*14*/
  padding: 1.2rem; /*14*/
}

.btn--form:hover {
  background-color: #fff; /*14*/
  color: #555; /*14*/
}

.link:link,
.link:visited {
  display: inline-block;
  color: #e67e22; /*10*/
  text-decoration: none; /*10*/
  border-bottom: 1px solid currentColor; /*10*/
  padding-bottom: 2px; /*10*/
  transition: all 0.3s;
}

.link:hover,
.link:active {
  color: #cf711f;
  border-bottom: 1px solid transparent;
}

.list {
  list-style: none; /*10*/
  display: flex; /*10*/
  flex-direction: column; /*10*/ /*to make it easy to put space between lis*/
  gap: 1.6rem; /*10*/
}

.list-item {
  font-size: 1.8rem; /*10*/
  display: flex; /*10*/
  align-items: center; /*10*/
  gap: 1.6rem; /*10*/
  line-height: 1.2; /*10*/
}

.list-icon {
  width: 3rem; /*10*/
  height: 3rem; /*10*/
  color: #e67e22; /*10*/
}

*:focus {
  outline: none; /*14*/ /*remove border when i focus on any thing*/
  /*outline: 4px dotted #e67e22;*/ /*14*/
  /*outline-offset: 8px;*/ /*14*/
  box-shadow: 0 0 0 0.8rem rgba(230, 126, 34, 0.5); /*14*/
}

/*helper/settings class*/
.margin-right-sm {
  margin-right: 1.6rem !important; /*3*/
}

.margin-bottom-md {
  margin-bottom: 4.8rem !important; /*10*/
}

.center-text {
  text-align: center; /*10*/
}

strong {
  font-weight: 500; /*10*/
}
