/* 
GENERAL RULES
--- 01 TYPOGRAPHY
- Font Family: Rubik

- 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

- Letter Spacing
 -0.5px
 0.75px

--- 02 COLORS
- Primary Color: #087f5b
- Background color: #e6fcf5;
- Hover Color: #066649;

- Tints & Shades
#267e36
#51cf66
#37b24d
#339af0
#1c7ed6
#e03131

- Accents: 
- Grey Colors: 
  #888
  #767676
  #555
  #333
  #6f6f6f


--- 03 SHADOWS
- box-shadow: inset 0 0 0 3px #fff;
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);


--- 04 BORDER-RADIUS
Defualt: 9px
Medium: 11px
Small: 5px 
Smaller: 3px

--- 05 WHITESPACE
- Spacing System (px)
  2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
*/

:root {
  --primary-color: #087f5b;
  --main-bg-color: #e6fcf5;
  --btn--hover: #066649;
  --focus-color: rgba(12, 166, 120, 0.1);
  --color: #38d9a9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  /* scroll-behavior: smooth; */
}

body {
  font-family: "Rubik", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #555;
  overflow-x: hidden;
  position: relative;
}

/************************/
/* 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:not(:last-child) {
  margin-bottom: 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--center-v {
  align-items: center;
}

.heading-primary,
.heading-secondary,
.heading-tertiary {
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #333;
}

.heading-primary {
  font-size: 4.8rem;
  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: var(--btn--hover);
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  letter-spacing: 0.75px;
}

.btn,
.btn:link,
.btn:visited {
  display: inline-block;
  font-size: 2rem;
  text-decoration: none;
  padding: 1.6rem 3.2rem;
  border-radius: 9px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s;
}

.btn--full:link,
.btn--full:visited {
  background-color: var(--primary-color);
  color: #fff;
}

.btn--full:hover,
.btn--full:active {
  background-color: var(--btn--hover);
}

.btn--outline:link,
.btn--outline:visited {
  background-color: #fff;
  color: #555;
}

.btn--outline:hover,
.btn--outline:active {
  background-color: var(--main-bg-color);
  box-shadow: inset 0 0 0 3px #fff;
}

.btn--form {
  background-color: #033324;
  color: #fdf2e9;
  align-self: end;
  padding: 1.2rem;
}

.btn--form:hover {
  background-color: #fff;
  color: #555;
}

.icon {
  width: 3rem;
  height: 3rem;
  color: var(--btn--hover);
  background-color: var(--main-bg-color);
  padding: 1.6rem;
  border-radius: 50%;
}

*:focus {
  outline: none;
  box-shadow: 0 0 0 0.8rem var(--focus-color);
}

/* HELPER/SETTING CLASSES */
.center-text {
  text-align: center;
}

.margin-right-sm {
  margin-right: 1.6rem !important;
}

.margin-bottom-sm {
  margin-bottom: 1.6rem !important;
}

.margin-bottom-md {
  margin-bottom: 4.8rem !important;
}

.text-shadow {
  text-shadow: 0 0 0.5rem #555;
}

.grid-col {
  grid-column: 1/-1;
}

.subheading-mn {
  text-transform: capitalize;
  color: #222;
}

strong {
  font-weight: 500;
}

.overflow::-webkit-scrollbar {
  background-color: #eee;
  width: 1rem;
}

.overflow::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 2px;
}
