/* Inter 100 - 900 - Latin */
@font-face {
  font-family: "Inter";
  src: url("../../fonts/inter-latin-variable-wght-100-900.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
}

/* lato-100 - latin */
@font-face {
  font-display: swap;
  font-family: "Lato";
  font-style: normal;
  font-weight: 100;
  src: url("../../fonts/lato-v24-latin-100.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-300 - latin */
@font-face {
  font-display: swap;
  font-family: "Lato";
  font-style: normal;
  font-weight: 300;
  src: url("../../fonts/lato-v24-latin-300.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-regular - latin */
@font-face {
  font-display: swap;
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  src: url("../../fonts/lato-v24-latin-regular.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-700 - latin */
@font-face {
  font-display: swap;
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  src: url("../../fonts/lato-v24-latin-700.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lato-900 - latin */
@font-face {
  font-display: swap;
  font-family: "Lato";
  font-style: normal;
  font-weight: 900;
  src: url("../../fonts/lato-v24-latin-900.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

: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%);
  /* #262F45 */
  --tertiary-clr: hsl(223, 29%, 21%);
  /* #FFFFFF */
  --white-clr: hsl(0, 0%, 100%);
  /* #333333 */
  --black-clr: hsl(0, 0%, 20%);
  /* #1865F2 */
  --extra-clr: hsl(219, 89%, 52%);
  /* #545760 */
  --text-clr: hsl(225, 7%, 35%);
  /* #F42B3F */
  --danger-clr: hsl(354, 90%, 56%);

  /* #D5D5D5 */
  --border-clr: hsl(0, 0%, 84%);
  --border-clr-30: hsl(0, 0%, 84%, 30%);

  --ff-inter: "Inter", sans-serif;
  --ff-lato: "Lato", sans-serif;

  /* 40px */
  --fs-900: clamp(2rem, 2.3vw + 1rem, 2.5rem);
  /* 36px */
  --fs-850: clamp(1.5rem, 2.1vw + 1rem, 2.25rem);
  /* 30px */
  --fs-800: clamp(1.5rem, 3vw + 0.2rem, 1.875rem);
  /* 24px */
  --fs-700: clamp(1.25rem, 2.5vw + 0.2rem, 1.5rem);
  /* 20px */
  --fs-600: 1.25rem;
  /* 18px */
  --fs-500: 1.125rem;
  /* 16px */
  --fs-400: 1rem;
  /* 14px */
  --fs-300: 0.875rem;
  /* 12px */
  --fs-200: 0.75rem;
  /* 12px */
  --fs-100: 0.65rem;

  --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);
  interpolate-size: allow-keywords;
}

/* Box sizing rules*/
*,
*::before,
*::after {
  box-sizing: border-box;
  overscroll-behavior: contain;
  /* border: 1px solid red; */
}

/* Reset margin, padding and font-size */
* {
  margin: 0;
  padding: 0;
  font: inherit;
}

/* 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;
  scrollbar-gutter: stable;
}

/* 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 {
  text-decoration: none;
}

/* Make images easier to work with */
img,
picture,
video,
canvas,
svg {
  max-width: 100%;
  display: block;
}

/* 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: "Lato", sans-serif;
  font-size: var(--fs-400);
  font-weight: var(--fw-400);
  color: var(--text-clr);
  line-height: 19.2px;
}