/* 

--- 01 typography system

-Font sizes (px):
10 / 12 / 14 / 16 / 18 / 20 / 24 / 48 / 64 / 80 / 96 / 128

-font weights:
Default: 400 
Medium: 500
Semi-bold: 600
Bold: 700

-Line heights: 
Default:1 
Small:1.05
Paragraph default: 1.6

--- 02 colors:
- Green palet:
from origimal to light.
#1B6447	#327459	#49836C	#5F937E	#76A291	#8DB2A3	#A4C1B5	#BBD1C8	#D1E0DA	#E8F0ED	#FFFFFF


from original to dark.

#1B6447	#185A40	#165039	#134632	#103C2B	#0E3224	#0B281C	#081E15	#05140E	#030A07	#000000

- Grays: 
#555
#333

--- 03 shadows: 
0 2.4rem 4.8rem rgba(0, 0, 0, 0.075)
--- 04 border-radius: 

Default : 9 px
--- Lettere spaceing;

- d3efault:1
medium: .75
small: .50
--- 05 whitespace: 
-Spacing system (px):

2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

*/

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  /*  font-size: 10px; */
  /* 10px / 10px = 0.625 = 62,5% */
  /* Percentage of a user's browser font-size setting*/
  font-size: 62.5%;
  overflow-x: hidden;
  /* Does not work on safarie and edge */
  scroll-behavior: smooth;
}

body {
  font-family: "Rubik", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #555;
  /* only works if nothing is absolutly posisioned in relation to body */
  overflow-x: hidden;
}

/* *********************** */
/* General Reusable Components */
/* *********************** */

.container {
  max-width: 120rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}

.grid {
  display: grid;
  column-gap: 6.4rem;
  row-gap: 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 {
  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: 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: #134632;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  letter-spacing: 0.75px;
}
.btn,
.btn:link,
.btn:visited {
  display: inline-block;
  background-color: #1b6447;

  text-decoration: none;
  font-size: 2rem;
  font-weight: 600;
  padding: 1.6rem 3.2rem;
  border-radius: 9px;

  border: none;
  cursor: pointer;
  font-family: inherit;
  /* put transision on the original ''state'' */
  transition: all 0.3s;
}

.btn--full:link,
.btn--full:visited {
  background-color: #1b6447;
  color: #fff;
}

.btn--full:hover,
.btn--full:active {
  background-color: #134632;
}

.btn--outline:link,
.btn--outline:visited {
  color: #555;
  background-color: #fff;
}

.btn--outline:hover,
.btn--outline:active {
  background-color: #e8f0ed;
  /* border: 3px solid white; */
  /*  trick to add border inside  */
  box-shadow: inset 0 0 0 3px #fff;
}

.btn--form {
  background-color: #e8f0ed;
  color: #1b6447;
  align-self: end;
  padding: 1.2rem;
}

.btn--form:hover {
  background-color: #8db2a3;
  color: #134632;
  /* border: 3px solid white; */
  /*  trick to add border inside  */
  box-shadow: inset 0 0 0 3px #fff;
}

.margin-right-small {
  margin-right: 1.6rem !important;
}

*:focus {
  outline: none;
  box-shadow: 0 0 0 0.8rem rgba(19, 70, 50, 0.5);
}
