/* .............................................................................
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) {}     46.01rem
@media (min-width:992px) {}     62.01rem
@media (min-width:1200px) {}    75.01rem
@media (min-width:1500px) {}    93.01rem
@media (min-width:2000px) {}    125rem
*/


/*
COLORS */
:root {
	/* Colors */
	--color-black: #111737;
	--color-white: #fff;
	--color-purple: #0000ff;
	--color-grey: #646464;
	--color-light-grey: #e6e6e6;
	--color-blue: #293377;

	/* Text and BG */
	--color-base: var(--color-blue);
	--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: 5vw;

	--width-std-left: var(--width-std);
	--width-std-right: var(--width-std);

	/* Narrow */
	--width-narrow: calc(3 * var(--width-std));
	--width-narrow-left: var(--width-narrow);
	--width-narrow-right: var(--width-narrow);

	/* 4k overflow sides */
	--overflow-std-left: calc(-1 * var(--width-std-left));
	--overflow-std-right: calc(-1 * var(--width-std-right));
}

	/* Ultra large, on restreint la largeur maximale */
	@media (min-width:125rem) {
		:root {
			--width-std: 6.25rem;

			--width-std-left: calc(40vw - 43.75rem);
			--width-std-right: calc(40vw - 43.75rem);
		}
	}

	/* Tablet */
	@media (max-width:62rem) {
		:root {
			--width-narrow: 0px;
		}
	}

	/* Mobile */
	@media (max-width:46rem) {
		:root {
			--width-std: 6vw;
		}
	}



/*
BASE SPACINGS
L'application des valeurs est dans site-blocks.css. */
:root {
	--base-spacing: 10em;
	--base-spacing-top: var(--base-spacing);
	--base-spacing-bottom: var(--base-spacing);
}

	@media (max-width:62rem) {
		:root {
			--base-spacing: 5.5002em;
		}
	}

	@media (max-width:46rem) {
		:root {
			--base-spacing: 4.002em;
		}
	}



/*
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;
}

	/* Sizes */
	@media (max-width:62rem) {
		:root {
			--topbar-height: 9em;
			--topbar-height-scrolled: 7em;
		}
	}

	@media (max-width:46rem) {
		:root {
			--topbar-height: 6.5em;
			--topbar-height-scrolled: var(--topbar-height);
		}
	}

