/* .............................................................................
CONFIGS
................................................................................

EXPLICATION DES FICHIERS :
- Dev : assets/css/
- Prod : task "grunt buildcss" pour builder le CSS build/css/main.css


COULEURS :
- Voir les vars plus bas.


TRANSITION :
- cubic-bezier(0.4, 0, 0.2, 1)


NAMING CONVENTIONS :
- Blocks = section d'une page, ex : .bMain, .bBoxesList.
- Items = partie importante reutilisable, ex : .iBox, .iAccordion.
- Text = style precis pour texte, ex : .tBig, .tUpper


REFERENCES :
Desktop-first :
@media (max-width:1999px) {}    124.99rem
@media (max-width:1499px) {}    93rem
@media (max-width:1199px) {}    75rem
@media (max-width:991px) {}     62rem
@media (max-width:736px) {}     46rem

Mobile-first :
@media (min-width:737px) {}     47.01rem
@media (min-width:992px) {}     62.01rem
@media (min-width:1200px) {}    75.01rem
@media (min-width:1500px) {}    93.01rem
@media (min-width:1760px) {}    110rem
*/


/*
COLORS */
:root {
	/* Colors */
	--color-accent: red;
	--color-brown: #3d3a36;
	--color-green: #bf4f26;
	--color-blue: #76cbcd;
	--color-gray: #fefcf5;
	--color-light-gray: #faf5dc;

	/* Text and BG */
	--color-base: var(--color-brown);
	--color-base-on-dark: var(--color-light-gray);
	--color-bg-base: var(--color-gray);
}



/*
BASE WIDTHS
L'application des valeurs est dans base.css. */
:root {
	--width-std: 7vw;

	--width-std-left: var(--width-std);
	--width-std-right: var(--width-std);

	--width-narrow-left: calc(2.5 * var(--width-std));
	--width-narrow-right: calc(2.5 * var(--width-std));

	--width-side-bar: var(--width-std);
}

	/* Ultra large, on restreint la largeur maximale */
	@media (min-width:110rem) {
		:root {
			--width-std: 7.7rem;
			--width-std-left: calc(45vw - 41.5rem);
			--width-std-right: calc(45vw - 41.5rem);
		}
	}

	/* Tablet */
	@media (max-width:62rem) {
		:root {
			--width-narrow-left: 0.1px;
			--width-narrow-right: 0.1px;
		}
	}

	/* Mobile */
	@media (max-width:46rem) {
		:root {
			--width-std: 6vw;
		}
	}



/*
BASE SPACINGS
L'application des valeurs est dans site-blocks.css. */
:root {
	--base-spacing: 7em;
	--base-spacing-top: var(--base-spacing);
	--base-spacing-bottom: var(--base-spacing);
}

	@media (max-width:62rem) {
		:root {
			--base-spacing: 5em;
		}
	}

	@media (max-width:46rem) {
		:root {
			--base-spacing: 4em;
		}
	}



/*
TOPBAR HEIGHT
La hauteur du topBar affecte plusieurs elements dans la page.
On specifie donc une valeur globale pour pouvoir y acceder facilement. */
:root {
	--topbar-height: 4em;
	--topbar-height-scrolled: var(--topbar-height);
}

	/* Mobile */
	@media (max-width:62rem) {
		:root {
			--topbar-height: 4em;
		}
	}



/*
PAGE HEAD HEIGHT
La hauteur du page head affecte plusieurs elements dans la page.
On specifie donc une valeur globale pour pouvoir y acceder facilement. */
:root {
	--page-head-height: 22em;
}

