/* =========================== */
/* CSS VARIABLES */
/* =========================== */
:root {
  /* Colors */
  --primary-color: #8e0000;
  --secondary-color: #ba1a1a;
  --tint-1: #fff1f1;
  --tint-2: #ffe2e2;
  --tint-3: #fff8f8;

  /* Font size scale (Scaled for 62.5% base html font: 1rem = 10px) */
  --font-size-xs: 1.25rem;
  --font-size-sm: 1.35rem;
  --font-size-base: 1.5rem;
  --font-size-md: 1.65rem;
  --font-size-lg: 1.85rem;
  --font-size-xl: 2.2rem;
  --font-size-xxl: 2.6rem;
  --font-size-xxxl: 3.2rem;

  /* Spacing */
  --spacing-1: 0.2rem;
  --spacing-2: 0.4rem;
  --spacing-3: 0.8rem;
  --spacing-4: 1.2rem;
  --spacing-5: 1.6rem;
  --spacing-6: 2.4rem;
  --spacing-7: 3.2rem;
  --spacing-8: 4rem;
  --spacing-9: 4.8rem;
  --spacing-10: 6.4rem;
  --spacing-11: 8rem;
  --spacing-12: 9.6rem;
  --spacing-13: 16rem;

  /* Border */
  --border-radius: 10px;
  --border-radius-inner: 6px;
}

/* =========================== */
/* CSS RESET / BASE STYLE */
/* =========================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-margin-top: 60px;
}

/* Enforce sans-serif font across ALL form buttons and inputs (Fixes Chrome serif issue) */
button,
input,
select,
textarea {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* for mobile phone increase scroll-margin-top */
@media (max-width: 780px) {
  * {
    scroll-margin-top: 135px;
  }
}

*:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.4rem rgba(142, 0, 0, 0.4) !important;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  background-color: #ffffff;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
  font-size: var(--font-size-base);
  line-height: 1.5;
  background-color: #ffffff;
  min-height: 100vh;
  /* Containerized layout on desktop */
  max-width: 132rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 24rem 1fr;
}