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

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.75px/ -0.5px

PRIMARY COLORS
Primary: #e67e22

TINTS - #fdf2e9/ #f8d8bd/
SHADES - #cf711f/ #45260a
ACCENTS
GREY'S - #555/ #333/ #888/ #6f6f6f/ #aaa/ #767676 (lightest allowed grey on white)

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

BORDER RADIUS - 9px/ 11px

WHITE SPACES

*/

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

html {
  /* 10/16=0.625 & 0.625*100= 62.5/ 62.5% */
  font-size: 62.5%;
  /* smooth scrolling does not work on safari */
  /* scroll-behavior: smooth; */
}

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

/* changing focus online for the whole page */
*:focus {
  outline: none;
  outline: 4px dotted #e67e22;
  outline-offset: 4px;
}

/**************************/
/* REUSABLE COMPONENTS */
/**************************/

.list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

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

.heading-primary {
  font-size: 5.2rem;
  margin-bottom: 3.2rem;
  line-height: 1.05;
}

.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: 1.6rem;
}

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

/**************************/
/* CENTERED CONTAINER ELEMENT */
/**************************/

.container {
  /* width 1200px */
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 3.2rem;
}

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

/* only add margin bottom when the grid is not the last child element */
.grid:not(:last-child) {
  margin-bottom: 9.6rem;
}

.grid--2-cols {
  grid-template-columns: 1fr 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;
}

/* HELPER CLASSES */

.margin-right-sm {
  /* important to overwrite any other clashing css definitions */
  margin-right: 1.6rem !important;
}

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

.center-text {
  text-align: center;
}
