@font-face {
  font-family: "DMSans";
  src: url("fonts/DMSans-VarFont.ttf") format("truetype");
}

@font-face {
  font-family: "DMSansItalic";
  src: url("fonts/DMSans-Italic-VarFont.ttf") format("truetype");
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
}

@font-face {
  font-family: "MontserratItalic";
  src: url("fonts/Montserrat-Italic-VariableFont_wght.ttf") format("truetype");
}

:root {
  font-family: "DMSans", "Dosis", sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: #263238;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  --error-red: #e06666;
  --main-accent-yellow: #f1c232;
  --main-accent-yellow-transparent: rgba(241, 194, 50, 0.1);

  --graph-color-a: #f1c232;
  --graph-color-b: #6b7280;
  --graph-color-c: #93c5fd;
  --graph-color-d: #ffd966;
  --graph-color-e: #d1d5db;

  /* Secondary Yellow */
  --secondary-yellow: #ffd966;
  /* Light Yellow Tint */
  --light-yellow-tint: #ffebae;
  /* Dark Blue-Grey 1 (primary text) */
  --dark-blue-grey-1: #263238;
  /* Dark Blue-Grey 2  */
  --dark-blue-grey-2: #35464e;
  /* Dark Blue-Grey 3 */
  --dark-blue-grey-3: #455a64;

  /* Grey 1 */
  --grey-1: #9fa4aa;
  /* Grey 2 */
  --grey-2: #bec2c7;
  /* Grey 3 */
  --grey-3: #d3d7da;
  /* Grey 4 */
  --grey-4: #e6e8e9;
  /* Very Light Grey (background use) */
  --very-light-grey: #fafafa;
  /* White */
  --white: #ffffff;
  /* Black */
  --black: #000000;

  /* New styling colors */
  /* Blue Black */
  --blue-black: #121212;

  /* Off-white */
  --light-background: #f9fafb;
  --background-color: var(--white);
  --edge-grey: #e5e7eb;
  --text-light-grey: #6a7282;
  --text-grey: #4a5565;
  --text-error: #e53e3e;
  --text-error-transparent: rgba(229, 62, 62, 0.1);

  /* Sizes */
  --radius: 16px;
  --radius-sm: 8px;
  --xs-gap: 4px;
  --sm-gap: 8px;
  --md-gap: 16px;
  --lg-gap: 24px;
  --card-max-width: 565px;
  --card-min-width: 300px;
  --card-max-height: 565px;
  --prodlib-card-width: 280px;
  --screen-sm: 576px;
  --screen-md: 768px;
  --screen-lg: 992px;
  --screen-xl: 1200px;
}

h1 {
  font-style: normal;
  font-weight: 600;
  font-size: 32px;
  line-height: 46px;
}

h2 {
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 34px;
}

/* Section Padding
50px top/bottom
Card Padding
20px
Button Padding
16px vertical, 30px horizontal
Element Gaps
24px to 48px between blocks */

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

body {
  margin: 0;
  display: flex;
}

button {
  text-decoration: none;
  text-align: center;
  text-transform: none;
  padding: 12px 22px;
  font-family: "Dosis", sans-serif;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.5s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: #f1c232;
  color: #263238;
}

.btn-primary:hover {
  background-color: #ffd966;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  color: #263238;
}

.btn-secondary {
  background-color: transparent;
  color: #263238;
  border: 1px solid #263238;
}

.btn-secondary:hover {
  background-color: #fafafa;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  color: #263238;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
}
