/**
 * @file theme.css
 * Mercury colours and fonts matched to the Divi theme on naveenarles.com.
 *
 * shadcn/ui-compatible theme variables for Mercury.
 *
 * You can customize these values without rebuilding the compiled CSS.
 * Tools like https://tweakcn.com can help generate these values. Copy this
 * file to your web root, so it sits next to index.php, and clear Drupal's
 * cache. Then, any changes you make in this file should be reflected right away.
 */

:root {
  --background: oklch(1 0 0);
  --foreground: #333333;
  --card: #f5f5f5;
  --card-foreground: #333333;
  --primary: #e02b20; /* Divi red */
  --primary-foreground: oklch(1 0 0);
  --secondary: #bfbfbf; /* Divi menu bar grey */
  --secondary-foreground: #333333;
  --muted: #f5f5f5;
  --muted-foreground: #666666;
  --accent: #dd3333; /* Divi top bar red */
  --accent-foreground: #ffffff;
  --destructive: oklch(0.6368 0.2078 25.3313);
  --destructive-foreground: oklch(1 0 0);
  --border: oklch(0.872 0.009 258.338);
  --input: oklch(0.872 0.009 258.338);
  --font-sans: "Open Sans", Arial, sans-serif;
  --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --font-mono: "Fira Mono", "Menlo", "Consolas", "Liberation Mono", monospace;
  --font-body: "Open Sans", Arial, sans-serif;
  --radius: 0.2rem;
  --shadow-x: 0;
  --shadow-y: 1px;
  --shadow-blur: 3px;
  --shadow-spread: 0px;
  --shadow-opacity: 0.1;
  --shadow-color: oklch(0 0 0);
  --shadow-2xs: 0 1px 3px 1px hsl(0 0% 0% / 0.05);
  --shadow-xs: 0 1px 3px 1px hsl(0 0% 0% / 0.05), 0 1px 2px -1px hsl(0 0% 0% / 0.1);
  --shadow-sm: 0 1px 3px 1px hsl(0 0% 0% / 0.1), 0 2px 4px -1px hsl(0 0% 0% / 0.1);
  --shadow: 0 1px 3px 1px hsl(0 0% 0% / 0.1), 0 2px 4px -1px hsl(0 0% 0% / 0.1);
  --shadow-md: 0 1px 3px 1px hsl(0 0% 0% / 0.1), 0 4px 6px -2px hsl(0 0% 0% / 0.1);
  --shadow-lg: 0 1px 3px 1px hsl(0 0% 0% / 0.1), 0 8px 10px -2px hsl(0 0% 0% / 0.1);
  --shadow-xl: 0 1px 3px 1px hsl(0 0% 0% / 0.1), 0 12px 14px -3px hsl(0 0% 0% / 0.1);
  --shadow-2xl: 0 1px 3px 1px hsl(0 0% 0% / 0.1), 0 16px 18px -3px hsl(0 0% 0% / 0.1);
  --tracking-normal: 0em;
  --spacing: 0.25rem;

  /* Set navbar height for hero billboard overlay */
  --navbar-height: calc(var(--spacing) * 15);

  @media (min-width: 768px) {
    --navbar-height: calc(var(--spacing) * 18);
  }
}

/*
 * About page photo: frame on Nav, who stands a third of the way across and
 * near the top of the picture, instead of pinning the image to its top edge.
 */
img.object-cover[src*="/About-Me-Page."] {
  object-position: 30% 30%;
}

/* Award page: keep the three faces in the banner, and Nav's head in the
 * cropped portrait of him holding the medal. */
img.object-cover[src*="/Michael-Underwood-Naveen-Arles-BCAa-"] {
  object-position: 50% 30%;
}
img.object-cover[src*="/NavBCAphoto."] {
  object-position: 50% 12%;
}
