/* 

--- 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
Paragraph: 1.6

- LETTER SPACING:
0.75px
-0.5px
1.2px

--- 02 COLORS
- Primary:
#7048e8

- Tints: 
#5f3cc2
- Shades:
#c2255c

- Accents:
- Greys: 
#767676 (lightest grey allowed on white)
#6f6f6f (Lightes grey allowed on #fdf2e9)

#555 
#333
#888
#6f6f6f (lightest grey allowed on #fdf2e9)

--- 05 SHADOWS
0 2.4rem 4.8rem rgba(0, 0, 0, 0.075);
box-shadow: 0 0.4rem 0.6rem rgba(0, 0, 0, 0.1),
    0 0.1rem 0.3rem rgba(0, 0, 0, 0.08);

--- 06 BORDER-RADIUS
Default: 9px
Medium: 11px


--- 07 WHITESPACE

- SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

--- BY DEFAULT 1 rem = 16px. BY CHANGING THE html ELEMENT FONT-SIZE to 10px, 1 rem = 10px
--- BUT INSTEAD OF SETTING THE html FONT-SIZE to 10px, SET IT to 62.5%, 
    WHICH IS THE SAME AS 10px OF THE DEFAULT 16px
    BY USING % IT WILL ASSUMING THAT % OF THE USRE'S BROWSER FONT-SIZE SETTING
*/

* {
  padding: 0;
  margin: 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;
}

/***********************************/
/* GENERAL REUSABLE COMPONENT */
/***********************************/

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

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

.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;
}

.btn {
  display: inline-block;
  align-self: flex-start;
  font-size: 2rem;
  font-weight: 600;
  text-decoration: none;
  padding: 1.6rem 3.2rem;
  background-color: #7048e8;
  color: #eee;
  border-radius: 9px;
  /* Only necessary for .btn */
  border: none;
  cursor: pointer;
  box-shadow: 0 0.4rem 0.6rem rgba(0, 0, 0, 0.1),
    0 0.1rem 0.3rem rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.btn:hover,
.btn:active {
  background-color: #5f3cc2;
}
