/* Loader
==================================== */
#loader{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100vw;
	height: 100%;
	background-color: inherit;
	overflow-y: hidden;
	-ms-touch-action: none;
		 touch-action: none;
	z-index: 999;
}

/* Global
==================================== */
@media (min-width: 769px){
	.dark-mode{
		color: var(--cbg);
		background-color: var(--ctext);
		--cinactive: #666666;
	}
}
.trigger{
	-webkit-user-select: none;
		-moz-user-select: none;
		 -ms-user-select: none;
			  user-select: none;
	cursor: pointer;
}
.trigger.active{
	color: var(--cinactive);
	pointer-events: none;
}

/* Wrapper
==================================== */
#content-wrapper{
	position: relative;
	width: 100vw;
	min-height: var(--h);
	display: grid;
	grid-auto-rows: min-content 1fr;
}
@media (min-width: 769px) and (min-height: 500px){
	.page-project #content-wrapper.snap{
		height: var(--h);
		overflow-x: hidden;
		overflow-y: scroll;
		scroll-snap-type: y mandatory;
		-webkit-overflow-scrolling: touch;
		-ms-overflow-style: none;
		scrollbar-width: none;
	}
}

/* Footer
==================================== */
footer{
	width: 100vw;
	/* height: fit-content;
	height: -moz-fit-content; */
	padding: calc(var(--colsXL)*2) 0 var(--sides);
	align-self: flex-end;
	z-index: 7;
}
.page-index footer{
	color: white;
	mix-blend-mode: difference;
}
.page-project footer{
	scroll-snap-align: end;
}
.page-research footer{
	position: fixed;
	left: 0;
	bottom: 0;
	color: white;
	mix-blend-mode: difference;
	z-index: 7;
}
