@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:ital,wght@0,400..900;1,400..900&display=swap');

:root{
    --color--white: white;
    --font-family-grotesk: "Schibsted Grotesk", sans-serif;;
    --color--black: black;
    --_typography---paragraph-font-size--small-paragraph: 14px;
    --_typography---line-height--large: 140%;
    --_typography---font-weight--normal: 400;
    --color--gray-900: #272727;
    --_typography---heading-font-size--h1: 64px;
    --_typography---line-height--small: 110%;
    --_typography---heading-font-size--h2: 48px;
    --_typography---heading-font-size--h3: 40px;
    --_typography---heading-font-size--h4: 36px;
    --_typography---font-weight--medium: 500;
    --_typography---heading-font-size--h5: 32px;
    --_typography---line-height--medium: 130%;
    --_typography---heading-font-size--h6: 24px;
    --color--dark-blue-800: #23232b;
    --color--gray-200: #27272733;
    --_spacing---border-radius--radius-xxl: 100px;
    --_typography---paragraph-font-size--paragraph: 16px;
    --color--green-900: #00ab41;
    --color--gray-800: #272727cc;
    --color--white-800: #fffc;
    --color--gray-250: #27272740;
    --color--white-100: #ffffff1a;
    --_typography---link-font-size--text-link: 16px;
    --color--green-600: #26ff79;
    --color--elephant-950: #002738;
    --_spacing---padding-margin--space-md: 24px;
    --color--white-700: #ffffffb3;
    --color--sky-blue-700: #0094ca;
    --color--green-800: #00d250;
    --_spacing---padding-margin--space-xxl: 80px;
    --_spacing---border-radius--radius-sm: 8px;
    --color--black-200: #e3e3e3;
    --color--gray-500: #27272780;
    --color--gray-700: #272727b3;
    --color--white-400: #fff6;
    --color--gray-150: #27272726;
    --color--sky-blue-800: #0c6ad5;
    --color--black-50: #f9f9f9;
    --color--green-300: #f4f7f3;
    --_spacing---padding-margin--space-xl: 60px;
    --_typography---paragraph-font-size--large-text: 20px;
    --_spacing---border-radius--radius-md: 12px;
    --_typography---paragraph-font-size--large-paragraph: 18px;
    --color--white-50: #ffffff0d;
    --color--white-250: #ffffff40;
    --color--dark-blue-950: #14161b;
    --color--gray-400: #27272766;
    --color--white-200: #fff3;
    --color--eminence-300: #f6f3f7;
    --_spacing---border-radius--radius-xl: 16px;
    --color--green-700: #58ca00;
    --color--cyan: #00caca;
    --color--gray-100: #2727271a;
    --_spacing---padding-margin--space-sm: 18px;
    --color--sky-blue-400: #e2f4fa;
    --color--green-400: #e2faea;
    --color--fair-pink-100: #f8e9e7;
    --color--gray-950: #101010;
    --color--sky-blue-100: #0cb7d51a;
    --color--pomegranate-100: #ff492c1a;
    --color--eminence-200: #691f7433;
    --color--cyan-100: #15c39a1a;
    --color--black-100: #efefef;
    --_typography---link-font-size--button: 16px;
    --color--green-500: #d7efdf;
    --color--green-200: #00ab4133;
    --color--green-100: #00ab411a;
    --color--dark-blue-900: #000a24;
    --color--dark-blue-600: #06194c;
    --color--sky-blue-900: #1f5874;
    --color--sky-blue-300: #dce9ee;
    --color--sky-blue-200: #1f627433;
    --color--eminence-900: #691f74;
    --color--eminence-500: #e2dcee;
    --color--eminence-400: #f5efff;
    --color--eminence-100: #691f741a;
    --color--sunset-orange: #eb6047;
    --color--sunset-orange-200: #eb604733;
    --color--pomegranate: #ff492c;
    --color--pomegranate-700: #ff492cb3;
    --color--pomegranate-200: #ff492c33;
    --color--pomegranate-40: #ff492c0a;
    --color--fair-pink-200: #f8e6e3;
    --_typography---font-weight--light: 300;
    --_typography---font-weight--semi-bold: 600;
    --_typography---font-weight--bold: 700;
    --color--dark-blue-700: #23272e;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-grotesk);
  font-size: var(--_typography---paragraph-font-size--small-paragraph);
  background-color: var(--color--white);
  color: var(--color--black);
}

h1, h2, h3, h4 {
  color: var(--black-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  margin-inline: 3.2rem;

}

.grid {
  display: grid;
}

.section {
  padding-block: 2rem 1rem;
  margin-top: 2rem;
}


.main {
  overflow: hidden; /* For animation ScrollReveal */
}
.button-green {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    border-radius: var(--_spacing---border-radius--radius-xxl);
    background-color: var(--color--green-600);
    color: var(--color--elephant-950);
    font-size: var(--_typography---link-font-size--button);
    line-height: var(--_typography---line-height--large);
    font-weight: var(--_typography---font-weight--medium);
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    text-decoration: none;
    display: flex;
    border: none;
    font-weight: 500;
}

.button-black {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    border-radius: var(--_spacing---border-radius--radius-xxl);
    background-color: var(--color--gray-900);
    color: var(--color--white-800);
    font-size: var(--_typography---link-font-size--button);
    line-height: var(--_typography---line-height--large);
    font-weight: var(--_typography---font-weight--medium);
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    text-decoration: none;
    display: flex;
    border: none;
    font-weight: 500;
}



.button i {
    font-size: 25px;
}



/* HEADER CSS and NAVIGATION */
/* ===== HEADER ===== */
.header{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* ===== NAVBAR ===== */
.nav{
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 12px 0px;
}



.nav__toggle,
.nav__close{
    display: flex;
    font-size: 1.5rem;
    color: #000;
    cursor: pointer;
}

/* Menu list */
.nav__list{
    text-align: center;
    display: flex;
    flex-direction: column;
    row-gap: 2.5rem;
}

/* Links */
.nav__link{
    color: black;
    font-weight: 500;
    transition: color .4s;
    font-size: 1.2rem;
}
.nav__link:hover{
    color: var(--color--green-900);
}

/* Close button inside menu */
.nav__close{
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

/* ======= MOBILE BEHAVIOR ======= */
@media screen and (max-width: 900px) {
    .nav__menu{
        position: fixed;
        top: -100%;           /* Start hidden */
        left: 0;
        background-color: var(--color--white-100);
        width: 100%;
        padding-block: 5.5rem 4.5rem;
        backdrop-filter: blur(32px);
        -webkit-backdrop-filter: blur(32px);
        transition: top .4s;
    }
    .nav{
         margin-inline: 1rem;
    }

    /* When JS adds the class, menu becomes visible */
    .nav__menu.show-menu{
        top: 0;
    }

    .nav__logo img{
    width: 20%;
}
}

/* ======= LARGE SCREENS ======= */
@media screen and (min-width: 900px) {
    .nav{
        height: calc(var(--header-height) + 2rem);
         margin-inline: 4rem;
    }

    .nav__menu{
        width: auto;
        margin-left: auto;
        position: static; /* reset */
        top: auto;
        padding-block: 0;
        background: none;
        backdrop-filter: none;
    }

    .nav__close,
    .nav__toggle{
        display: none;
    }

    .nav__list{
        flex-direction: row;
        column-gap: 4rem;
    }
    .nav__logo img{
    width: 15%;
}
}

/* ===== OPTIONAL: blur background for scrolled header ===== */
.blur-header::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: hsla(23, 12%, 4%, .2);
    backdrop-filter: blur(32px);
    top: 0;
    left: 0;
    z-index: -1;
}

