/*

--- 01 TYPOGRAPHY --------------------------------

- Font sizes {px}:
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Font-weight:
Defaults: 350
Medium: 500
Semibold: 600
Bold: 700

- Line-height:
Default: 1
Small: 1.05
Medium: 1.2
Large: 1.8


Paragraph defaul: 
1.6

 - Letter-spacing:
0.5px
0.75px;

--- 02 COLORS --------------------------------

- Primary: #576ee0
- Tints:
#eef1fc
#cdd4f6
- Shades:
#4658b3
#344286
#232c5a
#090b16

- Accents:
- Grays:
#555
#333

--- 05 SHADOWS --------------------------------

0 2.4px 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

*/

/*------------------------------------------*/
/* BASIS SETUP */
/*------------------------------------------*/


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

:root {
  --primary-color: #fff;
  --secondary-color: #eef1fc;
  --tertiary-color: #333;
}

.dark-mode {
  --primary-color: #090b16;
  --secondary-color: #232c5a;
  --tertiary-color: #eef1fc;
  .icon-mobile-nav {
    color: #fff;
  }
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  font-family: 'Public Sans', sans-serif;
  line-height: 1;
  font-weight: 400;
  overflow-x: hidden;
  background: var(--primary-color);
}

p {
  font-size: 2rem;
  line-height: 125%;
  font-weight: 400;
}

section {
  padding: 4.8rem 0;   
}

/*------------------------------------------*/
/* REUSEABLE COMPONETS */
/*------------------------------------------*/

.container {
  /* 1140px */
  max-width: 130rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}

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

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

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



/*------- HEADINGS ------ */

h1, h2 {
  font-weight: 600;
  letter-spacing: 1px;
}

h1 {
  font-size: 4.4rem;
  color: #ffff;
  line-height: 1.05;
  margin-bottom: 2.4rem;
  word-spacing: 4px;
}

h2 {
  font-size: 3.6rem;
  line-height: 1.2;
  text-align: center;
  margin: 0 auto;
  color: var(--tertiary-color);
}

h2:after {
  display: block;
  height: 2px;
  background-color: #576ee0;
  content: "";
  width: 12rem;
  margin: 0 auto;
  margin-top: 1rem;
  margin-bottom: 8.6rem;
}


h3 {
  font-size: 3.0rem;
  line-height: 1.2;
  margin-bottom: 3.2rem;
}

h4 {  
  font-weight: 500;
  font-size: 2.4rem;
  color: #ffff;
  letter-spacing: 0.75px;
  line-height: 1.2;
  margin-bottom: 1.6rem;
}


/*------- ICONS ------ */

ion-icon {
  padding: 1rem 0 1rem 1rem;
}

.icon-big {
  font-size: 2.4rem;
  color: #576ee0;
  background-color: #fff;
  border-radius: 50%;
  padding: 15px;
}

.icon-md {
  color: #576ee0;
}

.icon-dark-mode {
  color: #dd3cee;
  background-color: #000;

  font-size: 1.8rem;;
  cursor: pointer;
  border-radius: 50%;
  padding: 5px;
}

.icon-dark-mode[name="sunny-outline"] {
  color: #e3c654;
  background-color: #fff;
}



/*------- LINKS ------ */

.link,
.link:visited {
  display: inline-flex;
  align-items: center;
  color: #576ee0;
  text-decoration: none;
  padding-bottom: 2px;
  transition: all 0.3s;
}

.link:hover,
.link:active {
  color: #4658b3;
}

/*------- BUTTONS ------ */

.btn,
.btn:link,
.btn:visited {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 500;
  padding: 0.5rem 3.2rem;
  border-radius: 9px;
  cursor: pointer;
  font-family: inherit;
  margin-bottom: 1.6rem;
  transition: all 0.3s;
}

.btn--full:link,
.btn--full:visited {
  padding: 1.2rem 2.4rem;
  border-radius: 9px;
  color: #fff;
  background-color: #576ee0;
}

.btn--full:hover,
.btn--full:active {
  background-color: #344286;
}

.btn--form {
  background-color: #344286;
  color: white;
  border-style: none;
}

.btn--form:hover {
  background-color: #232c5a;
}

/*------- LIST ------ */

.list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.list-item {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}


/* *:focus {
  outline: none;
  box-shadow: 0 0 0 0.8rem rgba(230, 125, 34, 0.5);
} */

/* HELPER/SETTINGS CLASSES */
.margin-right-sm {
  margin-right: 1.6rem !important;
}

.margin-bottom-md {
  margin-bottom: 4.8rem !important;
}

.center-text {
  text-align: center;
}

strong {
  font-weight: 500;
}
