/* ============================================================
   BOX SIZING
============================================================ */
/* Apply border-box sizing to all elements and their 
pseudo-elements to ensure consistent layout and easier sizing calculations */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ============================================================
   HTML
============================================================ */
/* Base styles for the html element, including margin, padding, 
minimum height, color scheme, scroll behavior, and scroll padding */
html {
  margin: 0;
  padding: 0;
  min-height: 100%;
  color-scheme: dark;
  scroll-padding-top: 250px;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* ============================================================
   BODY BASE
============================================================ */
/* Base styles for the body element, including font settings, background color, and text color
   with support for dark mode using CSS variables*/
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;

  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.2px;

  color: var(--text-1);
}