@font-face {
  font-family: 'Satoshi Variable', sans-serif;
  src: url(/assets/font/Satoshi-Variable.ttf) format('truetype');
}

/* default mobile styles */
:root {
  /* color pallete */
  --clr-accent-500: hsl(210, 100%, 40%);
  --clr-accent-700: hsl(210, 95%, 32%);

  --clr-neutral-0: hsl(0, 0%, 100%);
  --clr-neutral-300: hsl(240, 11%, 96%);
  --clr-neutral-700: hsl(240, 2%, 54%);
  --clr-neutral-800: hsl(240, 3%, 19%);
  --clr-neutral-900: hsl(240, 3%, 12%);
  --clr-neutral-1000: hsl(0, 0%, 5%);

  /* light mode */
  --clr-bg: var(--clr-neutral-300);
  --clr-bg-sub: var(--clr-neutral-0);
  --clr-bg-invert: var(--clr-neutral-900);
  --clr-bg-invertsub: var(--clr-neutral-800);
  --clr-accent: var(--clr-accent-500);
  --clr-text-primary: var(--clr-neutral-900);
  --clr-text-secondary: var(--clr-neutral-700);
  --clr-text-invert: var(--clr-neutral-300);

  /* typography */
  --ff-primary: 'Satoshi Variable', sans-serif;
  --ff-body: var(--ff-primary);
  --ff-heading: var(--ff-primary);

  --fw-regular:  400;
  --fw-medium: 500;
  --fw-bold: 700;
  --fw-black: 900;

  --fs-heading1: 4rem; /*64px*/
  --fs-heading2: 2.5rem; /*40px*/
  --fs-heading3: 1.125rem; /*18px*/
  --fs-heading4: 1.063rem; /*17px*/
  --fs-body: 1rem; /*16px*/
  --fs-link:1.125rem; /*18px*/
  --fs-button: 1rem; /*16px*/

  /* padding */
  --padding-container-side: 1rem; /*16px*/
}

.darktheme {
  --clr-bg: var(--clr-neutral-900);
  --clr-bg-sub: var(--clr-neutral-800);
  --clr-bg-invert: var(--clr-neutral-300);
  --clr-bg-invertsub: var(--clr-neutral-0);
  --clr-accent: var(--clr-accent-700);
  --clr-text-primary: var(--clr-neutral-300);
  --clr-text-secondary: var(--clr-neutral-700);
  --clr-text-invert: var(--clr-neutral-900);
}

/* hide full text spans for mobile */
.full-text { display: none; }

/* tablet styles */
@media (min-width: 768px) {
  :root {
    --fs-heading1: 6rem; /*96px*/
    --fs-heading2: 3rem; /*48px*/
    --fs-heading3: 1.25rem; /*20px*/
    --fs-heading4: 1.125rem; /*18px*/
    --fs-body: 1rem; /*16px*/
    --fs-link:1.25rem; /*20px*/
    --fs-button: 1rem; /*16px*/

    --padding-container-side: 1rem; /*16px*/
  }
  .short-text { display: none; }
  .full-text { display: inline-block; }
}

/* desktop styles */
@media (min-width: 1024px) {
  :root {
    --fs-heading1: 7.5rem; /*120px*/
    --fs-heading2: 4rem; /*64px*/
    --fs-heading3: 1.313rem; /*21px*/
    --fs-heading4: 1.188rem; /*19px*/
    --fs-body: 1rem; /*16px*/
    --fs-link:1.313rem; /*21px*/
    --fs-button: 1rem; /*16px*/

    --padding-container-side: 2rem; /*32px*/
  }
  .short-text { display: none; }
  .full-text { display: inline-block; }
}

/* CSS reset */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
* {
    margin: 0;
    padding: 0;
    font: inherit;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

/* Set core body defaults */
body {
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture,
svg {
  max-width: 100%;
  display: block;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Utility Classes */
/* font size */
.fs-heading1 { font-size: var(--fs-heading1);}
.fs-heading2 { font-size: var(--fs-heading2);}
.fs-heading3 { font-size: var(--fs-heading3);}
.fs-heading4 { font-size: var(--fs-heading4);}
.fs-body { font-size: var(--fs-body);}
.fs-link { font-size: var(--fs-link);}
.fs-button { font-size: var(--fs-button);}

/* font weight */
.fw-regular { font-weight: var(--fw-regular);}
.fw-medium { font-weight: var(--fw-medium);}
.fw-bold { font-weight: var(--fw-bold);}
.fw-black { font-weight: var(--fw-black);}

.container {
  --max-width: 1376px;
  --padding: var(--padding-container-side);

  width: min(var(--max-width), 100% - (var(--padding) * 2));
  margin-inline: auto;
}


/* general styling */

body {
  font-size: var(--fs-body);
  font-family: var(--ff-body);
  color: var(--clr-text-primary);
  background-color: var(--clr-bg);
}


/* navigation styling */
.website-destination {
  border: 0;
  border-radius: 0;
  width: 100%;
  padding-top: 4rem;
  padding-bottom: 4rem;
  font-size: var(--fs-heading2);
  font-weight: var(--fw-black);
  color: var(--clr-text-invert);
  background-color: var(--clr-bg-invert);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.website-destination:hover,
.website-destination:focus-visible {
  cursor: pointer;
  background-color: var(--clr-bg-invertsub);
}


.primary-hr {
  color: var(--clr-bg-invertsub);
}

/* headers */

.global-header {
  padding-top: 1.5rem;
}

.header-wrapper {
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


 /* sections */
.section-background {
  background-color: var(--clr-bg);
}

 .section-link {
  height: 95vh;
  display: grid;
  place-items: center;
 }

 /* icons */
 .icon-btn {
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0.5em;
}

.icon-fill{
  fill: var(--clr-text-primary);
}

.icon-stroke{
  stroke: var(--clr-text-primary);
  stroke-width: 2;
}