/*
--- 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.3
Headings: 1.5

- Letter spacing
Headings: -1px

--- SHADOWS
0 1.2rem 3.2rem rgba(0, 0, 0, 0.03); // content container

--- 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: #323232; /*  */
  --medium-grey: #636363; /*  */
  --light-grey: #999; /*  */
  --extra-light-grey: #f2f2f2; /*  */
  --white: #fafafa; /*  */
  --primary-1: #003857; /* Dark blue */
  --primary-2: #004565; /* Medium blue */
  --primary-3: #007ea0; /* Dark teal */
  --primary-4: #0097ac; /* Medium teal */
  --primary-5: #00b6ce; /* MAIN COLOR */
  --primary-6: #e6f8fa; /* Whitish blue */
  --cta-1: #2e2836; /* primary cta color */
  --cta-2: #ffa07a; /* secondary cta color */
  --font-headings: 'Gudea', 'Open Sans', sans-serif;
  --font-main: 'Roboto', 'Open Sans', sans-serif;
}
html {
  font-size: 62.5%;
  overflow-x: hidden;
}
body {
  position: relative;
  background-color: var(--white);
  color: var(--primary-1);
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.3;
}

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

.heading-primary,
.heading-secondary,
.heading-tertiary {
  color: var(--primary-3);
  font-family: var(--font-headings);
  text-transform: uppercase;
  line-height: 1.5;
}
.heading-primary {
  font-size: 3.6rem;
  margin-bottom: 3rem;
}
.heading-secondary {
  font-size: 3.6rem;
  margin-bottom: 2.4rem;
}
.heading-tertiary {
  font-size: 2.6rem;
  font-weight: 400;
}

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

.container--main {
  background-color: var(--white);
  max-width: 100rem;
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: 0.8rem;
}
.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;
}

.link:link,
.link:visited {
  color: var(--primary-4);
  display: inline-block;
  text-decoration: none;
  transition: 0.4s;
}
.link:hover,
.link:active {
  color: var(--primary-3);
}
.btn.link {
  color: var(--white);
}
.list {
  list-style: none;
}
.btn {
  color: inherit;
  font-family: var(--font-main);
  line-height: 1;
  background-color: var(--primary-4);
  border: none;
  display: inline-block;
  padding: 1.2rem 2.4rem;
  transition: 0.4s;
}
.btn-flex {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.btn:hover {
  background-color: var(--primary-3);
}
.btn.cta {
  background-color: var(--primary-1);
  color: var(--primary-6);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
}
.cta:hover {
  background-color: var(--cta-1);
  color: var(--cta-2);
}
.icon {
  color: var(--primary-2);
  width: 3.2rem;
  height: 3.2rem;
  transition: 0.4s;
}
.separator {
  border-bottom: 1px solid var(--primary-4);
  width: 20%;
  margin: 2.8rem auto;
}

.shadow--bottom {
  box-shadow: 0 2px 10px 0 rgba(0, 69, 101, 0.35);
}
.shadow--sides {
  box-shadow: 0 0 10px 0 rgba(0, 69, 101, 0.35);
}
.hidden {
  display: none !important;
}
.fade-in {
  animation-name: fade-in;
  animation-duration: 1s;
}

@keyframes fade-in {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
