/*
--- 01 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
Small: 1.05
Medium: 1.2
Paragraph default: 1.6

- Letter spacing
-0.5px
0.75px

--- 02 COLORS

- Primary: #e67e22
- Tints:
#fdf2e9
#fae5d3
#eb984e

- Shades: 
#cf711f
#45260a

- Accents:
- Greys

#888
#767676 (lightest grey allowed on #fff)
#6f6f6f (lightest grey allowed 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
*/

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

img {
  max-width: 100%;
  height: auto;
}

:root {
  /* --primary: #fefbf6;
  --primary-tint-1: #eef2f5;
  --secondary: #a6d1e6;
  --tertiary: #7f5283;
  --quaternary: #3d3c42; */

  /* --primary: #1a374d;
  --primary-tint-1: #eef2f5;
  --secondary: #406882;
  --tertiary: #6998ab;
  --quaternary: #b1d0e0; */

  /* --primary: #25316d;
  --secondary: #5f6f94;
  --tertiary: #97d2ec;
  --quaternary: #fef5ac; */

  /* --primary: #07689f;
  --secondary: #fafafa;
  --tertiary: #a2d5f2;
  --quaternary: #ff7e67; */

  /* --primary: #25316d;
  --secondary: #5f6f94;
  --tertiary: #97d2ec;
  --quaternary: #fef5ac; */

  --primary: #eff5f9;
  --primary-tint-1: #fbfdfe;
  --primary-shade-1: #d6e6f0;
  --secondary: #1a6dba;
  --secondary-tint-1: ;
  --secondary-tint-2: ;
  --secondary-shade-1: #1864ab;
  --secondary-shade-2: #124a7e;
  --secondary-light: ;
  /* --tertiary: #8cb2d5; */
  /* --tertiary: #97d2ec; */
  --tertiary: #74c0fc;
  --tertiary-shade-1: #90cdfd;
  --quaternary: rgb(53, 143, 227);
  --highlight: #e3317b;
  --highlight-shade-1: #b7195b;
}

html {
  /* font-size: 10px; */
  /* 10px / 16px = 0.625 = 62.5% */
  /* Percentage of user's browser font-size setting */
  font-size: 62.5%;
}

body {
  font-family: "Mukta", sans-serif;
  line-height: 1;
  color: #555;
}

/**************************/
/* GENRAL REUSABLE COMPONENTS */
/**************************/

.container {
  /* 1140px */
  max-width: 110rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}
.container-xs {
  /* 1140px */
  max-width: 70rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}
.container-sm {
  max-width: 90rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}
.container-md {
  max-width: 100rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}

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

  /* margin-bottom: 9.6rem; */
}

.grid-sm {
  display: grid;
  column-gap: 4.8rem;
  row-gap: 8.6rem;
}

.grid-xs {
  display: grid;
  column-gap: 2.4rem;
  row-gap: 2.4rem;
}

/* .grid:last-child {
    margin-bottom: 0;
  } */

/* .grid:not(:last-child) {
    margin-bottom: 9.6rem;
  } */

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

.grid--2-cols-1fr-2fr {
  grid-template-columns: 1fr 2fr;
}

.grid--2-cols-2fr-1fr {
  grid-template-columns: 2fr 1fr;
}
.grid--2-cols-3fr-2fr {
  grid-template-columns: 3fr 2fr;
}
.grid--2-cols-2fr-3fr {
  grid-template-columns: 2fr 3fr;
}

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

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

.grid--4-cols-2-center {
  grid-template-columns: 1fr 2fr 2fr 1fr;
}

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

.grid--center-v {
  align-items: center;
}

.heading-secondary,
.heading-tertiary {
  font-weight: 700;
  /* color: #fff; */
  color: #333;
  /* color: #45260a; */
  /* color: #343a40; */
  letter-spacing: -0.5px;
}

.heading-primary {
  color: #333;
  font-size: 5.2rem;
  line-height: 1.05;
  margin-bottom: 0.8rem;
}
.heading-primary-2 {
  color: #fff;
  font-size: 5.2rem;
  line-height: 1.05;
  margin-bottom: 0.8rem;
}

.heading-secondary {
  font-size: 4.4rem;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.heading-tertiary {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 3.2rem;
}

.subheading {
  display: block;
  font-size: 2.4rem;
  font-weight: bold;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  letter-spacing: 0.75px;
}
.subheading-bot {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 2.4rem;
  letter-spacing: 0.75px;
}
.releaseheading {
  display: inline-block;
  font-size: 2.4rem;
  font-weight: bold;
  color: var(--secondary);
  border-top: solid 2px var(--secondary);
  border-bottom: solid 2px var(--secondary);
  text-transform: uppercase;
  margin-bottom: 3.2rem;
  padding: 4px;
  letter-spacing: 0.75px;
}
.sub-releaseheading {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 4.6rem;
  letter-spacing: 0.75px;
}
.releaseheading-2 {
  display: inline-block;
  font-size: 2.4rem;
  font-weight: bold;
  color: #fff;
  border-top: solid 2px #fff;
  border-bottom: solid 2px #fff;
  text-transform: uppercase;
  margin-bottom: 3.2rem;
  padding: 4px;
  letter-spacing: 0.75px;
}

.border-mid-line {
  border-bottom: 1.75px solid var(--secondary);
  width: 85%;
  height: 1.2rem;
  margin-bottom: 3.6rem;
  display: inline;
}
.border-mid-line-2 {
  border-bottom: 1.75px solid #fff;
  width: 85%;
  height: 1.2rem;
  margin-bottom: 3.6rem;
}
.border-top-bottom {
  border-top: solid 2px var(--secondary);
  border-bottom: solid 2px var(--secondary);
}

.fancy-text {
  text-align: center;

  background: linear-gradient(
    to right,
    var(--tertiary) 20%,
    var(--secondary-light) 40%,
    var(--secondary-light) 60%,
    var(--tertiary) 80%
  );
  background-size: 200% auto;

  color: #000;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: shine 3s linear infinite;
}
@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.btn,
.btn:link,
.btn:visited {
  display: inline-block;

  text-decoration: none;
  font-size: 2rem;
  font-weight: 600;
  padding: 1.6rem 3.2rem;
  /* Only necessary for .btn */
  border: none;
  cursor: pointer;
  font-family: inherit;

  /* Put transition on original "state" */
  /* transition: background-color 0.3s; */
  transition: all 0.3s;
}

.btn--full:link,
.btn--full:visited {
  background-color: var(--tertiary);
  color: #fff;
}

.btn--full:hover,
.btn--full:active {
  background-color: var(--tertiary-shade-1);
}

.btn--nav:link {
  font-size: 1.6rem;
  padding: 1.4rem 3rem;
}

.link-styled:link,
.link-styled:visited {
  display: inline-block;
  font-size: 2rem;
  color: var(--tertiary);
}
.link-styled:hover,
.link-styled:active {
  display: inline-block;
  color: var(--tertiary-shade-1);
}
.link-styled-2 {
  font-size: 1.6rem !important;
}

.nav-icon {
  font-size: 2.4rem;
  color: var(--secondary);
  margin: 0 5px 0 5px;
}
.nav-icon:hover {
  color: var(--tertiary);
}
/* img:hover {
  transform: scale(1.1);
} */

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

.margin-bottom-sm {
  margin-bottom: 2.4rem !important;
}

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

.margin-bottom-lg {
  margin-bottom: 9.6rem !important;
}

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

/**************************/
/* GSAP ANIMATION PRE-STATE */
/* Hide elements before GSAP initializes to prevent flash */
/**************************/
.hero-text-box,
.about-home-text-box,
.about-home-img-box,
.about-text-box,
.img-author,
.img-author-2,
.video-author,
.books-hero-text-box,
.book-preview-title-box,
.preview-text-box-1,
.preview-img-box-1,
.preview-text-box-2,
.preview-img-box-2,
.excerpt-title-box,
.excerpt-text-box,
.articles-box,
.media-img-box {
  visibility: hidden;
}
