@font-face {
  font-family: "Satoshi";
  src: url("/fonts/Satoshi-Variable.woff2") format("woff2"),
    url("/fonts/Satoshi-Variable.woff") format("woff"),
    url("/fonts/Satoshi-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-VariableFont_wght.woff2") format("woff2"),
    url("/fonts/Geist-VariableFont_wght.woff") format("woff"),
    url("/fonts/Geist-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-variable-wght-100-900.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("/fonts/Roboto-Variable.woff2") format("woff2"),
    url("/fonts/Roboto-Variable.woff") format("woff"),
    url("/fonts/Roboto-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

:root {
  /* #701B64 */
  --primary-clr: hsl(308, 61%, 27%);

  /* #A90466 */
  --secondary-clr: hsl(324, 95%, 34%);
  --secondary-clr-5: hsla(324, 95%, 34%, 5%);
  --secondary-clr-10: hsla(324, 95%, 34%, 10%);
  --secondary-clr-15: hsla(324, 95%, 34%, 15%);
  /* #9B2064 */
  --secondary-clr-900: hsl(327, 66%, 37%);
  /* #AB2670 */
  --secondary-clr-950: hsl(327, 53%, 39%);
  /* #992F6A */
  --secondary-clr-800: hsl(327, 53%, 39%);

  /* #262F45 */
  --tertiary-clr: hsl(223, 29%, 21%);
  /* #2C2F4A */
  --tertiary-clr-900: hsl(234, 25%, 23%);
  /* #EEEEFB */
  --tertiary-clr-100: hsl(240, 62%, 96%);
  /* #FFFFFF */
  --white-clr: hsl(0, 0%, 100%);
  /* #F2F2F8 */
  --white-clr-900: hsl(240, 30%, 96%);
  /* #F5F5FA */
  --white-clr-850: hsl(240, 33%, 97%);
  /* #E8E8F7 */
  --white-clr-800: hsl(240, 48%, 94%);
  /* #EBEBF2 */
  --white-clr-700: hsl(240, 21%, 94%);
  /* #EDEFFF */
  --white-clr-600: hsl(233, 100%, 96%);
  /* #333333 */
  --black-clr: hsl(0, 0%, 20%);
  /* #404040 */
  --black-clr-800: hsl(0, 0%, 25%);
  /* #1865F2 */
  --extra-clr: hsl(219, 89%, 52%);
  /* #545760 */
  --text-clr: hsl(225, 7%, 35%);
  /* #2C2F4A */
  --text-clr-700: hsl(234, 25%, 23%);

  /* #D5D5D5 */
  --border-clr: hsl(0, 0%, 84%);
  --border-clr-30: hsla(0, 0%, 84%, 0.3);

  /* #BDBDDB */
  --border-clr-900: hsl(240, 29%, 80%);
  /* #DDDDEB */
  --border-clr-800: hsl(240, 26%, 89%);

  --ff-satoshi: "Satoshi", sans-serif;
  --ff-inter: "Inter", sans-serif;
  --ff-geist: "Geist", sans-serif;
  --ff-roboto: "Roboto", sans-serif;

  /* 40px */
  /* --fs-1000: clamp(3.5rem, 2.5vw + 1.5rem, 6rem); */
  /* 5rem (80px) max */
  --fs-1000: clamp(3.5rem, 4vw + 1.5rem, 5rem);

  /* 4rem (64px) max */
  --fs-950: clamp(2.8rem, 3.2vw + 1.2rem, 4rem);

  /* 3.75rem (60px) max */
  --fs-900: clamp(2.6rem, 3vw + 1.2rem, 3.75rem);

  /* 3.5rem (56px) max */
  --fs-850: clamp(2.5rem, 2.8vw + 1.1rem, 3.5rem);

  /* 3rem (48px) max */
  --fs-800: clamp(2.25rem, 2.4vw + 1rem, 3rem);

  /* 2.5rem (40px) max */
  --fs-700: clamp(2rem, 2vw + 0.9rem, 2.5rem);

  /* 2.25rem (36px) max */
  --fs-650: clamp(1.5rem, 1.8vw + 0.8rem, 2.25rem);

  /* 2rem (32px) max */
  --fs-600: clamp(1.4rem, 1.6vw + 0.7rem, 2rem);

  /* 1.75rem (28px) max */
  --fs-550: clamp(1.25rem, 1.4vw + 0.6rem, 1.75rem);

  /* 1.5rem (24px) max */
  --fs-500: clamp(1.125rem, 1.2vw + 0.5rem, 1.5rem);

  /* 1.25rem (20px) max */
  --fs-450: clamp(0.95rem, 1vw + 0.5rem, 1.25rem);

  /* 1.125rem (18px) max */
  --fs-425: clamp(0.85rem, 0.9vw + 0.4rem, 1.125rem);

  /* 1rem (16px) fixed */
  --fs-400: 1rem;

  /* 0.875rem (14px) max */
  --fs-300: clamp(0.75rem, 0.7vw + 0.4rem, 0.875rem);

  /* 0.75rem (12px) max */
  --fs-200: clamp(0.65rem, 0.5vw + 0.3rem, 0.75rem);

  --fw-100: 100;
  --fw-200: 200;
  --fw-300: 300;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;
  --fw-800: 800;
  --fw-900: 900;

  accent-color: var(--secondary-clr);
  caret-color: var(--secondary-clr);
}

/* Box sizing rules*/
*,
*::before,
*::after {
  box-sizing: border-box;
  /* border: 1px solid red; */
}

/* Reset margin, padding and font-size */
* {
  margin: 0;
  padding: 0;
  font: inherit;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}

/* Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

h2 {
  text-wrap: balance;
}

/* Allow percentage-based heights in the application */
html,
body {
  height: 100%;
}

/* Set core root defaults */
html {
  scroll-behavior: smooth;
  interpolate-size: allow-keywords;
}

/* Set core body defaults */
body {
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

a {
  cursor: pointer;
  text-decoration: none;
}

/* Make images easier to work with */
img,
picture,
video,
canvas,
svg {
  max-width: 100%;
  display: block;
}

/* Blur images when they have no alt attribute */
img:not([alt]) {
  filter: blur(10px);
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Custom CSS */
body {
  font-family: var(--ff-satoshi);
  font-size: var(--fs-400);
  /* TODO fix all the font weight that has 400 as default is 500 instead of 400 */
  font-weight: var(--fw-500);
  color: var(--text-clr);
  interpolate-size: allow-keywords;
}
