/**
 * Millco Base CSS.
 * and definitions.
 * I used variables2css Figma plugin to generate the variables. Seems the best of a bad bunch.
 */

:root {

	--shadow: 0 0 12px 0 rgba(0, 0, 0, 0.50);

	--header-height: 120px;

	/* color */
	--colour-black: hsl(0 0 0%);
	--dark: var(--colour-black);
	--black: var(--colour-black);

	--colour-campaign: hsl(164 20% 32%);
	--colour-caution-yellow: hsl(44 99% 45%);
	--colour-charcoal: hsl(30 6% 14%);
	--colour-concrete: hsl(200 24% 74%);
	--colour-concrete-light: hsl(200 43% 91%);
	--colour-concrete-light-alpha: hsl(200 43% 91% / 0.7);
	--colour-cover-up: hsl(34 54% 40%);
	--colour-fire-and-danger: hsl(345 41% 34%);
	--colour-housing-rights: hsl(191 36% 40%);
	--colour-legal-tools: hsl(79 29% 36%);
	--colour-living-conditions: hsl(214 49% 38%);
	--colour-panel-black-alpha: hsl(0 0 0% / 0.6);
	--colour-people: hsl(240 24% 44%);
	--colour-structural: hsl(25 65% 36%);
	--colour-white: hsl(0 0 100%);
	--light: var(--colour-white);
	--white: var(--colour-white);

	--accent: var(--colour-caution-yellow);

	/* number */
	--7xs: 0rem;
	--8xs: 0rem;
	--6xs: 0.0625rem;
	--5xs: 0.125rem;
	--4xs: 0.25rem;
	--3xs: 0.375rem;
	--2xs: 0.5rem;
	--xs: 0.75rem;
	--sm: 0.875rem;
	--md: 1rem;
	--lg: 1.125rem;
	--xl: 1.25rem;
	--2xl: 1.5rem;
	--3xl: 1.75rem;
	--4xl: 2rem;
	--5xl: 2.5rem;
	--6xl: 3rem;
	--7xl: 3.5rem;
	--8xl: 4rem;
	--9xl: 5rem;
	--10xl: 6rem;
	--layout-columns: 0.25rem;
	--layout-margin: var(--2xs);
	--layout-gutter: var(--md);
	--layout-break-points-width: 24.375rem;

	--max-width: 1440px;
	--max-width-narrow: 926px;

	/* number */
	--details-rounded-corners: var(--4xs);

	--typography-font-weight-regular: 400;
	--typography-font-weight-medium: 500;
	--typography-font-weight-semi-bold: 600;
	--typography-font-weight-bold: 700;
	--typography-font-weight-extra-bold: 800;
	--typography-font-weight-black: 900;

	--typography-line-height-x2-extra-small: var(--2xs);
	--typography-line-height-extra-small: var(--xs);
	--typography-line-height-small: var(--sm);
	--typography-line-height-medium: var(--md);
	--typography-line-height-large: var(--lg);
	--typography-line-height-extra-large: var(--xl);
	--typography-line-height-x2-extra-large: var(--2xl);
	--typography-line-height-x3-extra-large: var(--3xl);
	--typography-line-height-x4-extra-large: var(--4xl);
	--typography-line-height-x5-extra-large: var(--5xl);
	--typography-line-height-x6-extra-large: var(--6xl);
	--typography-line-height-x7-extra-large: var(--7xl);
	--typography-line-height-x8-extra-large: var(--8xl);
	--typography-line-height-x9-extra-large: var(--9xl);
	--typography-size-x2-extra-small: var(--2xs);
	--typography-size-extra-small: var(--xs);
	--typography-size-small: var(--sm);
	--typography-size-medium: var(--md);
	--typography-size-large: var(--lg);
	--typography-size-extra-large: var(--xl);
	--typography-size-x2-extra-large: var(--2xl);
	--typography-size-x3-extra-large: var(--3xl);
	--typography-size-x4-extra-large: var(--4xl);
	--typography-size-x5-extra-large: var(--5xl);
	--typography-size-x6-extra-large: var(--6xl);
	--typography-size-x7-extra-large: var(--7xl);

	--typography-family-heading: 'Anybody', 'Roboto', Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;

	--font-sans: 'Anybody', system, -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif;

	--font-serif: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;

	--font-condensed: Impact, Haettenschweiler, "Franklin Gothic Bold", Charcoal, "Helvetica Inserat", "Bitstream Vera Sans Bold", "Arial Black", sans-serif;

	--font-mono: 'Roboto Mono', "Lucida Console", "Lucida Sans Typewriter", monaco, "Bitstream Vera Sans Mono", monospace;

	/* Current (v5.0) Boostrap breakpoints are 
		X-Small 	None 	<576px
		Small 	sm 	≥576px
		Medium 	md 	≥768px
		Large 	lg 	≥992px
		Extra large 	xl 	≥1200px
		Extra extra large 	xxl 	≥1400px
	*/

	--transition: all 0.3s ease-in-out;

	--gap: var(--layout-gutter);
	--gap-small: var(--2xs);
}

@media (min-width: 768px) {
	:root {

		/* number */
		--8xs: 0rem;
		--7xs: 0.0625rem;
		--6xs: 0.125rem;
		--5xs: 0.25rem;
		--4xs: 0.375rem;
		--3xs: 0.5rem;
		--2xs: 0.75rem;
		--xs: 0.875rem;
		--sm: 1rem;
		--md: 1.125rem;
		--lg: 1.25rem;
		--xl: 1.5rem;
		--2xl: 1.75rem;
		--3xl: 2rem;
		--4xl: 2.5rem;
		--5xl: 3rem;
		--6xl: 3.5rem;
		--7xl: 4rem;
		--8xl: 5rem;
		--9xl: 6rem;
		--10xl: 8rem;

	}
}

@media (min-width: 992px) {
	:root {

		--8xs: 0rem;
		--7xs: 0.0625rem;
		--6xs: 0.125rem;
		--5xs: 0.25rem;
		--4xs: 0.375rem;
		--3xs: 0.5rem;
		--2xs: 0.75rem;
		--xs: 0.875rem;
		--sm: 1rem;
		--md: 1.125rem;
		--lg: 1.25rem;
		--xl: 1.5rem;
		--2xl: 1.75rem;
		--3xl: 2rem;
		--4xl: 2.5rem;
		--5xl: 3rem;
		--6xl: 3.5rem;
		--7xl: 4rem;
		--8xl: 5rem;
		--9xl: 6rem;
		--10xl: 8rem;
	}
}

@media (min-width: 1200px) {
	:root {
		--8xs: 0rem;
		--7xs: 0.0625rem;
		--6xs: 0.125rem;
		--5xs: 0.25rem;
		--4xs: 0.375rem;
		--3xs: 0.5rem;
		--2xs: 0.75rem;
		--xs: 0.875rem;
		--sm: 1rem;
		--md: 1.125rem;
		--lg: 1.25rem;
		--xl: 1.5rem;
		--2xl: 1.75rem;
		--3xl: 2rem;
		--4xl: 2.5rem;
		--5xl: 3rem;
		--6xl: 3.5rem;
		--7xl: 4rem;
		--8xl: 5rem;
		--9xl: 6rem;
		--10xl: 8rem;
	}
}