/* .............................................................................
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:1499px) {}    93rem
@media (max-width:1199px) {}    75rem
@media (max-width:991px) {}     62rem
@media (max-width:736px) {}     46rem

Mobile-first :
@media (min-width:737px) {}     46.01rem
@media (min-width:992px) {}     62.01rem
@media (min-width:1200px) {}    75.01rem
@media (min-width:1500px) {}    93.01rem
*/


/*
COLORS */
:root {
	/* Colors */
	--color-black: #000;
	--color-white: #fff;
	--color-blue: #0284a4;
	--color-blue-light: #02a0c1;
	--color-blue-dark: #3086a4;
	--color-green: #06927a;

	/* Text and BGG */
	--color-base: var(--color-black);
	--color-base-on-dark: var(--color-white);
	--color-bg-base: var(--color-white);
}



/*
BASE WIDTHS
L'application des valeurs est dans base.css. */
:root {
	--width-std: 12vw;
	--width-wide: 5em;

	--width-std-left: var(--width-std);
	--width-std-right: var(--width-std);

	/* Wide */
	--width-wide-left: var(--width-wide);
	--width-wide-right: var(--width-wide);
}

	/* Ultra large, on restreint la largeur maximale */
	@media (min-width:93.01rem) {
		:root {
			--width-std: 10rem;

			--width-std-left: calc(45vw - 31rem);
			--width-std-right: calc(45vw - 31rem);

			--width-wide-left: calc(40vw - 34.5em);
			--width-wide-right: calc(40vw - 34.5em);
		}
	}

	/* Tablet */
	@media (max-width:62rem) {
		:root {
			--width-std: 8vw;

			--width-wide-left: var(--width-std);
			--width-wide-right: var(--width-std);
		}
	}

	/* Mobile */
	@media (max-width:46rem) {
		:root {
			--width-std: 5vw;
		}
	}



/*
BASE SPACINGS
L'application des valeurs est dans site-blocks.css. */
:root {
	--base-spacing: 8em;
	--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: 5.5em;
	--topbar-height-scrolled: 4em;
}

	/* Mobile */
	@media (max-width:62rem) {
		:root {
			--topbar-height: 4em;
			--topbar-height-scrolled: var(--topbar-height);
		}
	}

