/* .............................................................................
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: #000;
	--color-white: #fff;
	--color-beige: #EAE7DF;
	--color-gray: rgb(0 0 0 / 30%);
	--color-gray-on-dark: rgb(255 255 255 / 30%);

	/* Text and BG */
	--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: 6vw;
	--width-std-left: var(--width-std);
	--width-std-right: var(--width-std);

	/* 4k overflow sides */
	--overflow-left: var(--width-std-left);
	--overflow-right: var(--width-std-right);
}

	/* Ultra large, on restreint la largeur maximale */
	@media (min-width:125rem) {
		:root {
			--width-std: 7.5rem;

			--width-std-left: calc(50vw - 55em);
			--width-std-right: calc(50vw - 55em);

			--overflow-left: 6vw;
			--overflow-right: 6vw;
		}
	}

	/* 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: 4em;
		}
	}

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

	@media (min-width:125rem) {
		:root {
			--base-spacing: 10em;
		}
	}



/*
BORDER RADIUS
Standardisé car utilisé à plusieurs endroits. */
:root {
	--radius: 2rem;
}

	@media (max-width:46rem) {
		:root {
			--radius: 2rem;
		}
	}



/*
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: 8em;
	--topbar-height-scrolled: 5em;
}

	/* Sizes */
	@media (max-width:62rem) {
		:root {
			--topbar-height: 7em;
			--topbar-height-scrolled: 5em;
		}
	}

	@media (max-width:46rem) {
		:root {
			--topbar-height: 5.5em;
			--topbar-height-scrolled: 4em;
		}
	}