:root
{
	--font-sans: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	color-scheme: dark;

	--link: #7ab7ff;
	--link-visited: #c6a6ff;
	--link-hover: #a9d1ff;
	--link-active: #eee;
}

a:link { color: var(--link); }
a:visited { color: var(--link-visited); }
a:active { color: var(--link-active); }
a:hover
{
	color: var(--link-hover);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}
a:focus-visible
{
	outline: 0.111rem solid var(--link-hover);
	outline-offset: 0.1rem;
	border-radius: 0.1rem;
}

html
{
	font-size: clamp(14px, 0.5rem + 1vw, 18px);
/*	font-size: clamp(14px, 0.5rem + 1vw, 24px);*/
	overflow-x: hidden;
	overflow-y: scroll;

/*	font-size: 18px;*/
	font-weight: 400;
	font-variation-settings: "wdth" 100;
	color: #eee;
	margin: 0; padding: 0;
}

body
{
	padding: 0rem 8% 2% 8%;
	padding-bottom: calc(2% + var(--extra));

	margin: 0;
/*	padding: 20px;*/
	
	font-family: var(--font-sans);
	font-weight: 400;
	font-size: 1rem;	
}

h1
{
	font-family: var(--font-sans);
	font-weight: 600;
/*	font-size: 13.2rem;*/
	font-size: 2.67rem;
	letter-spacing: -0.022em;
	font-variation-settings: "wdth" 75;
	text-wrap: nowrap;
	text-align: center;
	user-select: none;
}

h1 a
{
	text-decoration: none;
	color: #eee;
}

h1 a:link { color: #eee; }
h1 a:visited { color: #eee; }
h1 a:active { color: #eee; }
h1 a:hover
{
	color: #eee;
	text-decoration: none;
}
h1 a:focus-visible
{
	outline: 0.111rem solid var(--link-hover);
	outline-offset: 0.1rem;
	border-radius: 0.1rem;
}

h2
{
	font-weight: 600;
	font-variation-settings: "wdth" 85;
}

div.sections
{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	column-gap: 5rem;
	row-gap: 1rem;
/*	gap: 40px;*/
	justify-content: center;
	container-type: inline-size;
	container-name: sections;
}

div
{
/*	border: 1px solid red;*/
}

div.section
{
	flex: 0 1 38rem;
/*	flex: 0 1 720px;*/
	
	box-sizing: border-box;
/*	padding: 1rem;*/
	line-height: 1.4em;
	
/*	background-color: rgba(255, 255, 255, 0.1); */
}

/* @container sections (width < 1480px) /* twice the size of the section plus the gap */
@container sections (width < 81rem) /* twice the size of the section plus the gap */
{
	.sections > .section:first-child > h2
	{
		display: none;
	}
}

div.trailer {
/*	width: min(32rem, 100%);*/
	width: 100%;
	aspect-ratio: 16 / 9;
/*	margin: 0 auto;*/
}

div.trailer iframe
{
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}
/*
//	background-color: rgba(0, 0, 0, 0);
//	mask-mode: alpha;
//	mask-position: right bottom;
//	mask-repeat: no-repeat;

*/

.store
{
	color-scheme: light;
}

/*
	width: 100%;
	height: 188px; // height has to be in pixels
	border-radius: 4px;
	overflow: hidden;
*/

/*
	mask-image: url("mask.png"); -webkit-mask-image: url("mask.png");
	mask-size: 684px 190px; -webkit-mask-size: 684px 190px;
	mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat;
	mask-position: right bottom; -webkit-mask-position: right bottom;
	mask-mode: alpha; -webkit-mask-mode: alpha;
*/

div.repositories
{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	row-gap: 0.2em;
	column-gap: 1em;
	justify-content: left;
}

div.cards
{
	position: relative;
	display: inline-block;
	color: inherit;
}

div.cards div
{
	position: absolute;
	margin: auto;
	inset: 0;

	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4em;

	width: 12rem;
	height: 3.8rem;

	background: rgba(0,0,0,0.6);
	border-radius: 0.6rem;
	backdrop-filter: blur(0.1666rem);

	border: 0.06rem solid rgba(255,255,255,.5);
/*	cursor: pointer;*/
	user-select: none;	

	font-size: 1.3rem;
	color: inherit;
	
	box-shadow: 0px 0px 0.6rem 0px rgba(0,0,0,0.6);
	
	transition: background-color 160ms ease, border-color 160ms ease, transform 120ms ease, box-shadow 160ms ease;
}

div.cards div:hover
{
	border: 0.06rem solid rgba(255,255,255,.65);
	background: rgba(0,0,0,0.7);
}


div.cards div span
{
	color: #eee;
	text-transform: uppercase;
	white-space: nowrap;
	font-variation-settings: "wdth" 90;
	font-weight: 600;
}
div.cards div span:visited
{
	color: #eee;
}


div.cards div img
{
	width: 1em; height: 1em;
	display: block;
}






