/* Reset CSS
==================================== */
*{
	box-sizing: border-box;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
html, body, div, span,
header, footer, section, article, aside, menu, nav,
h1, h2, h3, h4, h5, h6,
p, ol, ul, li, a, strong, b, i, s, address, sub, sup{
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	font-size: 100%;
	vertical-align: baseline;
}
::-webkit-scrollbar{
	display: none;
}
:focus{
	outline: none !important;
}
:focus::-ms-value{
	color: inherit;
	background-color: none;
}
::-moz-focus-inner{
	border: none !important;
}

/* Basic Styles
==================================== */
::selection{
	color: var(--cbg);
	background-color: rgba(0,0,0,.99);
}
html{
	font-size: 10px;
	scrollbar-width: none;
}
body{
	width: 100vw;
	height: 100%;
	margin: auto;
	font-family: var(--font);
	font-variant-ligatures: discretionary-ligatures;
	-webkit-text-size-adjust: none;
	-moz-osx-font-smoothing: grayscale;
	 -webkit-font-smoothing: antialiased;
				font-smoothing: antialiased;
	font-size: var(--fs);
	font-style: normal;
	font-weight: normal;
	line-height: calc(var(--lh)*100%);
	letter-spacing: var(--ls);
	color: var(--ctext);
	background-color: var(--cbg);
	overflow-x: hidden;
}
.thumb{
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
	font-size: 0;
	line-height: 0;
	-webkit-user-select: none;
		-moz-user-select: none;
		 -ms-user-select: none;
			  user-select: none;
	opacity: 1;
	-webkit-transition: opacity var(--speedx2) linear;
			  transition: opacity var(--speedx2) linear;
	-webkit-transform: translate3d(0, 0, 0);
		-moz-transform: translate3d(0, 0, 0);
		 -ms-transform: translate3d(0, 0, 0);
			  transform: translate3d(0, 0, 0);
}
@media (min-width: 601px){
	.page-project .thumb{
		max-height: calc(var(--h) - var(--colsS));
	}
}
.lazy{
	opacity: 0;
}
a{
	width: fit-content;
	width: -moz-fit-content;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}
.menu-item.active::before,
.desktop a:not(.trigger):not(.project-row):hover::before{
	content: '/ ';
}
.menu-item.active::after,
.desktop a:not(.trigger):not(.project-row):hover::after{
	content: ' /';
}
.mobile a:not(.project-row):active{
	color: var(--cinactive);
}
@media (max-width: 768px){
	.desktop a:not(.trigger):not(.project-row):focus,
	.desktop a:not(.trigger):not(.project-row):hover{
		color: var(--cinactive);
	}
	.desktop a:not(.trigger):not(.project-row):not(.menu-item.active):hover::before,
	.desktop a:not(.trigger):not(.project-row):not(.menu-item.active):hover::after{
		display: none;
	}
}
