/*=== FONTS ===*/ 
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

/*=== VARIABLES CSS ===*/
:root {
  --header-height: 3.5rem;
  /*=== Colors ===*/
  --first-color: hsl(250, 95%, 65%);
  --first-color-alt: hsl(224, 100%, 69%);
  --first-color-light: hsl(300, 100%, 81%);
  --title-color: hsl(0, 0%, 95%);
  --text-color: hsl(228, 8%, 50%);
  --white-color: hsl(228, 8%, 98%);
  --black-color: hsl(228, 6%, 4%);
  --body-color: hsl(0, 0%, 9%);
  --container-color: hsl(228, 6%, 12%);
  --shadow-img: 0 0 48px hsla(207, 100%, 68%, 0.4);
  --gradient-purple-blue: linear-gradient(180deg,
                                hsl(278, 100%, 75%),
                                rgb(121, 141, 255));

  --gradient-purple-light: linear-gradient(75deg,
                                 var(--first-color),
                                 hsla(250, 95%, 75%, 1));


  /*=== Fonts and typography ===*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Inter", sans-serif;
  --biggest-font-size: 2.25rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.813rem;

  /*=== Font weight ===*/
  --font-regular: 400;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*=== z index ===*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*=== Responsive typography ===*/
@media screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 4.25rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}


ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

/*=== REUSABLE CSS CLASSES ===*/
.container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 5rem 1rem;
}

.section__title {
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
  text-align: center;
  margin-bottom: 1rem;
}


.main {
  overflow: hidden;
}

/*=== HEADER & NAV ===*/
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: rgb(32, 32, 32);
  z-index: var(--z-fixed);
}

.nav {
  position: relative;
  width: 100%;
  margin: 0;
  height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}


.nav__logo {
  display: flex;
  column-gap: 0.25rem;
  align-items: center;
  cursor: pointer;
}

.nav__logo-title {
  font-size: 1.25rem;
  font-weight: bold;
}

.nav__list {
  grid-column: 2;
  display: flex;
  column-gap: 3.5rem;
}

.nav__link {
  font-size: 1.25rem;
}

/*=== SGHB PAGE ===*/

body.sghb-page {
  background-color: var(--body-color);
  color: var(--text-color);
}


.sghb-page h1,
.sghb-page h2,
.sghb-page h3,
.sghb-page h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}


.sghb-page .nav,
.sghb-page .nav a {
  color: var(--title-color);
}


/*=== MAIN PAGE ===*/
.main-page {
  background-color: white;
  color: black;
}

@media screen and (min-width: 1150px) {
  .nav {
    height: calc(var(--header-height) + 1rem);
  }
}