/* 
--- 01 TYPOGRAPHY SYSTEM

- FONT SIZE SYSTEM (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
PAREGRAPH DEFAULT: 1.6
LARGE: 1.8

- LETTER SPACING
-0.5px
0.75px

--- 02 COLORS

- PRIMARY: 
#0097B2
- TINTS: 
#e6f5f7
#cceaf0
#33acc1
- SHADES: 
#0088a0
#002d35
- ACCENTS:
- GREYS:
#888 
#767676 (lightestgrey aloowed on #fff)
#6f6f6f (lightestgrey aloowed on #fdf2e9)
#555 
#333

--- 05 SHADOWS
0 2.4rem 4.8rem rgba(0, 0, 0, 0.075)

--- 06 BORDER RADIUS
DEFAULT: 9px
MEDIUM: 11PX

--- 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;
}

:root {
  --primary-color: #0097b2;
  --tint-1: #e6f5f7;
  --tint-2: #cceaf0;
  --tint-3: #33acc1;
  --shade-1: #0088a0;
  --shade-2: #002d35;
}
/* :root {
  --primary-color: #087f5b;
  --tint-1: #e6f2ef;
  --tint-2: #cee5de;
  --tint-3: #39997c;
  --shade-1: #077252;
  --shade-2: #02261b;
} */

html {
  font-size: 62.5%;
  overflow-x: hidden;
  /* scroll-behavior: smooth; */
}

body {
  font-family: "Outfit", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #555;
  overflow-x: hidden;
}

/* ***************************** */
/* GENERAL REUSABLE COMPONENTS */
/* ***************************** */
.container {
  max-width: 120rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}

.grid {
  display: grid;
  row-gap: 9.6rem;
  /* row-gap: 12.8rem; */
  column-gap: 6.4rem;
}

/* grid that is not last child will have this margin, using not pseudo class */
/* .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--center-v {
  align-items: center;
}
.grid--center-h {
  justify-items: center;
}

.heading-primary,
.heading-secondary,
.heading-tertiary {
  font-weight: 700;
  color: #333;
  /* alternate to #333 - #343a40 */
  letter-spacing: -0.5px;
}

.heading-primary {
  font-weight: 800;
  font-size: 5.7rem;
  line-height: 1.2;
  margin-bottom: 6.4rem;
}

.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: 0.8rem;
}

.subheading {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--shade-1);
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  letter-spacing: 0.75px;
}

.btn:link,
.btn:visited {
  background-color: var(--primary-color);
  /* background: linear-gradient(to right, var(--tint-3), var(--primary-color)); */
  color: #fff;
  text-decoration: none;
  /* text-transform: uppercase; */
  font-weight: 500;
  /* display: inline-block; */
  display: inline-flex;
  align-items: center;
  border-radius: 100px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover,
.btn:active {
  background-color: var(--shade-1);
}

.btn--big {
  /* display: inline-flex;
  align-items: center; */
  font-size: 2rem;
  padding: 1.8rem 3.6rem 1.8rem;
}

.gradient-text {
  background: linear-gradient(to right, var(--tint-3), var(--primary-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn--small {
  font-size: 1.6rem;
  padding: 1.6rem 3.2rem;
  margin-top: 3.2rem;
  text-transform: uppercase;
}

/* Read more and less button */
.read-less,
.read-more {
  color: var(--primary-color);
  transition: all 0.3s;
  cursor: pointer;
}

.read-more:hover,
.read-less:hover {
  color: var(--shade-1);
}

/* .icon-fix {
  transform: translateY(3px);
} */

*:focus {
  outline: none;
  box-shadow: 0 0 0 0.8rem rgb(0, 151, 178, 0.5);
}

/* HELPER/SETTINGS CLASSES */

.center-text {
  text-align: center;
}
