/*
--- 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.8
Headings: 1.5
Tasks details : 1.2;

- Letter spacing
Headings: -1px

--- SHADOWS
inset 0 0 0 3px var(--tertiary-main) // aside hover
0 0.25rem 1rem rgba(0, 0, 0, 0.2) // bubble shadow

--- BORDER-RADIUS
Default: 8px

--- WHITESPACE

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
*/

@font-face {
  font-family: 'East Tiger';
  src: url(east-tiger-east-tiger-regular-400.otf);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
:root {
  --black: #0d0d0d; /*  */
  --dark-grey: #323232; /*  */
  --medium-grey: #555; /*  */
  --light-grey: #999; /*  */
  --white: #eee; /*  */

  --green-1: #202217; /* Dark moss green */
  --green-1-transparent: #20221760; /* Dark moss green transparent */
  --green-1-transparent-sticky: #20221799; /* Dark moss green transparent for the sticky navigation */
  --green-2: #50553a; /* Ebony green */
  --green-2-transparent: #50553a30; /* Ebony green transparent */
  --yellow-1: #b7b167; /* Ecru yellow */
  --yellow-1-transparent: #b7b16730; /* Ecru yellow transparent */
  --yellow-2: #e5dd81; /* Straw yellow */
  --yellow-3: #f2eec0; /* Lemon chiffon yellow */
  --yellow-3-transparent: #f2eec030; /* Lemon chiffon yellow transparent */

  --cta-dark: #340701; /* Black bean red */
  --cta-light: #db8758; /* Persian orange */

  --font-main: 'Space Grotesk', 'Open Sans', 'Sans Serif';
  --font-heading: 'East Tiger', 'Open Sans', 'Sans Serif';

  --border-radius: 8px;
}
html {
  font-size: 62.5%;
  overflow-x: hidden;
}
body {
  color: var(--black);
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.8;
  background-color: var(--white);
}

/**************/
/* TYPOGRAPHY */
/**************/

.heading-primary,
.heading-secondary,
.heading-tertiary {
  color: var(--green-1);
  font-family: var(--font-main);
  letter-spacing: -1px;
  line-height: 1;
}
.heading-primary {
  font-family: var(--font-heading);
  font-size: 7.4rem;
  font-weight: 500;
  margin-bottom: 8rem;
}
.heading-secondary {
  font-size: 4.4rem;
  font-weight: 600;
  margin-bottom: 4.8rem;
}
.heading-tertiary {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 3.2rem;
}

.subtitle {
  color: var(--light-grey);
  font-size: 1.6rem;
  font-weight: 500;
  text-transform: uppercase;
}

/******************/
/* GENERAL STYLES */
/******************/

.container--main {
  max-width: 134rem;
  margin: 0 auto;
}
.container--section {
  padding: 8rem 2.4rem;
}

.grid {
  display: grid;
}
.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);
}

.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
}
.flex-column {
  flex-direction: column;
  align-items: stretch;
}

.link:link,
.link:visited {
  color: var(--yellow-3);
  display: inline-block;
  text-decoration: underline #f2eec000;
  text-underline-offset: 1.6rem;
  transition: all 0.3s;
}
.link:hover,
.link:active {
  color: var(--yellow-1);
  text-decoration: underline;
  text-underline-offset: 0.8rem;
}
.btn {
  color: var(--yellow-3);
  font-family: var(--font-main);
  font-size: 2rem;
  font-weight: 500;
  background-color: var(--green-1);
  border: none;
  border-radius: var(--border-radius);
  box-shadow: 0 1px 3px var(--green-1);
  cursor: pointer;
  display: inline-block;
  padding: 0.8rem 1.6rem;
  transition: all 0.4s;
}
.btn:hover {
  color: var(--green-1);
  background-color: var(--yellow-2);
}
.btn-flex {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.btn--cta {
  color: var(--cta-light);
  background-color: var(--cta-dark);
}
.btn--cta:hover {
  /* color: var(--cta-dark);
  background-color: var(--cta-light); */
  color: var(--yellow-3);
  background-color: var(--green-1);
}

.list {
  list-style: none;
}
.list-icon {
  color: inherit;
  width: 1.6rem;
  height: 1.6rem;
}

.hidden {
  display: none !important;
}
