/*
--- 01 TYPOGRAPHY

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

- Font Size
Navigation links: 18px
Primary heading: 52px
Secondary heading: 44px
Subheading: 20px
Hero text: 20px
Normal text: 18px

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

- Line Heights
Default: 1
Small: 1.05
Medium: 1.2
Paragraph: 1.6
Big: 1.8

- Letter Spacing
-0.5px
2px

--- 02 COLORS

- Primary: #32a143

- Tints: #ebf6ec, #5bb469, #47aa56

- Shades: #2d913c (10%), #0a200d

- Accents:

- Greys:
Default text: #555
Emphasised text, text on #f1f3f5: #333
Section background: #f1f3f5

--- 05 SHADOWS


--- 06 BORDER RADIUS
Button: 9px


--- 07 WHITESPACE

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

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

html {
  /* font-size: 10px; */
  /* 10px / 16px = 0.625 = 62.5% */
  /* Percentage of user's browser font-size setting */
  font-size: 62.5%;
  scroll-behavior: smooth;
}

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

*:focus {
  outline: none;
  box-shadow: 0 0 0 0.8rem rgba(50, 161, 67, 0.5);
}

/**********************/
/* GENERAL COMPONENTS */
/**********************/

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

.grid {
  display: grid;
  row-gap: 9.6rem;
  column-gap: 6.4rem;
}

.grid:not(:last-child) {
  margin-bottom: 9.6rem;
}

.grid--4-cols {
  grid-template-columns: repeat(4, 1fr);
}

.heading-primary,
.heading-secondary {
  font-weight: 700;
  color: #333;
  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: 6.4rem;
}

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

.btn,
.btn:link,
.btn:visited {
  display: inline-block;
  text-decoration: none;
  padding: 1.6rem 3.2rem;
  border-radius: 9px;

  font-size: 2rem;
  font-weight: 600;

  transition: all 300ms;

  cursor: pointer;
}

.btn--full:link,
.btn--full:visited {
  background-color: #32a143;
  color: #fff;
}

.btn--full:hover,
.btn--full:active {
  background-color: #2d913c;
  color: #fff;
}

.btn--outline:link,
.btn--outline:visited {
  background-color: #fff;
  color: #32a143;
  box-shadow: inset 0 0 0 3px #32a143;
}

.btn--outline:hover,
.btn--outline:active {
  background-color: #ebf6ec;
  color: #2d913c;
  box-shadow: inset 0 0 0 3px #2d913c;
}

.btn--outline:focus {
  outline: none;
  box-shadow: inset 0 0 0 3px #2d913c, 0 0 0 0.8rem rgba(50, 161, 67, 0.5);
}

.btn--form {
  background-color: #0f3014;
  color: #ebf6ec;
  align-self: end;
  padding: 1.2rem;
  border: 2px solid #0f3014;
}

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

.link:link,
.link:visited {
  display: inline-block;
  color: #2d913c;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: all 300ms;
}

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

/******************/
/* HELPER CLASSES */
/******************/
