/* =========================================================
   itayungerson.com - shared base styles (all pages)
   Element defaults kept from the original WordPress theme.
   Page designs live in landing.css (site pages) and home.css (404, thanks).
   ========================================================= */

:root {
  --theme-contrast: #79f3b1;     /* Twenty Twenty-Five body text color (visible only where nothing overrides it) */

  /* Fluid font sizes from the Twenty Twenty-Five theme */
  --fs-medium: clamp(0.9rem, 0.9rem + ((1vw - 0.2rem) * 0.471), 1.2rem);
  --fs-large: clamp(1.2rem, 1.2rem + ((1vw - 0.2rem) * 0.941), 1.8rem);
  --fs-x-large: clamp(1.8rem, 1.8rem + ((1vw - 0.2rem) * 0.627), 2.2rem);
  --fs-xx-large: clamp(2rem, 2rem + ((1vw - 0.2rem) * 1.255), 2.8rem);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--theme-contrast);
  font-family: "Roboto", Sans-serif;
  font-size: var(--fs-medium);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.5;
  background-color: transparent;
  background-image: linear-gradient(180deg, #030202 0%, #090909 100%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: Literata, serif;
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.24;
}
h1 { font-size: var(--fs-xx-large); font-family: "Fredoka", Sans-serif; }
h2 { font-size: var(--fs-x-large); }
h3 { font-size: var(--fs-large); }
h4 { font-size: var(--fs-medium); }

h1, h2, h3, h4, h5, h6, p, blockquote, caption, figcaption { text-wrap: pretty; }

a {
  color: currentColor;
  text-decoration: none;
  text-decoration-thickness: 1px !important;
  text-underline-offset: .1em;
}

img { border: none; border-radius: 0; box-shadow: none; height: auto; max-width: 100%; }
figure { margin: 0; }
pre { overflow-x: auto; }
