/*
--- TYPOGRAPHY SYSTEM

- 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.8
Headings: 1.5
Tasks details : 1.2;

- Letter spacing
Headings: -1px

--- SHADOWS
inset 0 0 0 3px var(--tertiary-main) // aside hover
0 0.25rem 1rem rgba(0, 0, 0, 0.2) // bubble shadow

--- BORDER-RADIUS
Default: 8px

--- WHITESPACE

- Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128
*/

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
:root {
  --black: #0d0d0d; /*  */
  --dark-grey: #232323; /*  */
  --medium-grey: #555; /*  */
  --light-grey: #999; /*  */
  --white: #eee; /*  */

  --primary-shade-1: #03071c; /*  */
  --primary-shade-2: #060c32; /*  */
  --primary-main: #081147; /*  */
  --primary-tint-1: #52587e; /*  */
  --primary-tint-2: #9ca0b5; /*  */

  --secondary-shade-1: #242c56; /*  */
  --secondary-shade-2: #404d97; /*  */
  --secondary-main: #5b6ed8; /*  */
  --secondary-tint-1: #8c9ae4; /*  */
  --secondary-tint-2: #bdc5ef; /*  */

  --tertiary-shade-1: #44485e; /*  */
  --tertiary-shade-2: #767da4; /*  */
  --tertiary-main: #a9b3ea; /*  */
  --tertiary-tint-1: #c3caf0; /*  */
  --tertiary-tint-2: #dde1f7; /*  */

  --blue-1: #174b83; /*  */
  --blue-2: #c2f2ff; /*  */
  --green: #9ed85b; /*  */
  --yellow: #d8c55b; /*  */
  --brown: #5b2c02; /*  */
  --red: #722121; /*  */

  --font-main: 'Rubik';
  --font-headings: 'Rubik Distressed';

  --border-radius: 8px;
}
html {
  font-size: 62.5%;
  overflow-x: hidden;
}
body {
  color: var(--white);
  font-family: var(--font-main), 'Open Sans', 'Sans Serif';
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.8;
  background-color: var(--black);
  position: relative;
}

/**************/
/* TYPOGRAPHY */
/**************/

.heading-primary,
.heading-secondary,
.heading-tertiary {
  font-family: var(--font-main);
  font-variant: small-caps;
  letter-spacing: -1px;
  line-height: 1;
}
.heading-primary {
  font-family: var(--font-headings);
  font-size: 4.4rem;
  font-weight: 500;
  text-transform: capitalize;
}
.heading-secondary {
  font-size: 3rem;
  font-weight: 600;
}
.heading-tertiary {
  color: var(--secondary-shade-2);
  font-size: 2rem;
  font-weight: 600;
  /* text-transform: uppercase; */
  font-variant: small-caps;
  line-height: 1.2;
  border-bottom: 1px solid var(--primary-tint-1);
  margin-bottom: 0.8rem;
}

.company-name {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
}
.subtitle {
  color: var(--medium-grey);
  font-size: 1.4rem;
  font-weight: 500;
}
.subtitle--green {
  color: var(--green);
}
.subtitle--red {
  color: var(--red);
}
.grey-text {
  color: var(--light-grey);
}
.text--right {
  text-align: right;
}

/******************/
/* GENERAL STYLES */
/******************/

.container--main {
  background-color: var(--dark-grey);
  max-width: 50rem;
  min-height: calc(100vh - 12.8rem);
  padding: 3.2rem 2.4rem;
  margin: 6.4rem auto;
}
.container--ribbon {
  background-color: var(--secondary-main);
  color: var(--primary-main);
  width: 100%;
  height: 6.4rem;
}
.container--footer {
  max-width: 50rem;
  height: 100%;
  padding: 0 2.4rem;
  margin: 0 auto;
}

.grid {
  display: grid;
}
.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);
}

.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.flex-column {
  flex-direction: column;
  align-items: stretch;
}

.btn {
  background-color: var(--tertiary-main);
  color: var(--primary-main);
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  justify-content: center;
  cursor: pointer;
  padding: 0.8rem 1.6rem;
  transition: 0.4s;
}

.btn:hover,
.btn:active {
  filter: brightness(0.8);
}

.btn.btn--green {
  background-color: var(--green);
}
.btn.btn--yellow {
  background-color: var(--yellow);
  color: var(--brown);
}
.btn.btn--brown {
  background-color: var(--brown);
  color: var(--yellow);
}
.btn.btn--red {
  background-color: var(--red);
  color: var(--white);
}
.btn-flex {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.cta {
  background-color: var(--yellow);
  color: var(--black);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
}
.cta:hover {
  filter: brightness(0.8);
}

.icon {
  width: 2.4rem;
  height: 2.4rem;
  visibility: visible;
}
.separator-vert {
  background-color: var(--primary-main);
  border-radius: 8px;
  width: 0.2rem;
  height: 100%;
}
.separator-hori {
  background-color: var(--medium-grey);
  border-radius: 8px;
  height: 0.2rem;
  width: 80%;
  padding: 0 10%;
  margin: 3.2rem auto;
}
.figure {
  background-color: var(--white);
  color: var(--primary-main);
  border-radius: var(--border-radius);
  gap: 0.5rem;
  padding: 1.6rem 2.4rem;
  margin-bottom: 1.2rem;
}
.list {
}
.list-item {
  list-style: none;
  border-bottom: 1px solid var(--tertiary-tint-1);
}
.list-item-title {
  font-weight: 500;
}

.hidden {
  display: none !important;
}
