*,
*::after,
*::before {
	box-sizing: border-box;
}

:root {
	font-size: 18px;
}


body {
	color: var(--color-text);
	background-color: var(--color-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: 'Karla', sans-serif;
    background-color: #000;
}

#wrapper {
    background-color: #000;
}

h1, h2, h3, h4, h5, p {
    font-family: Courier, "Courier New", monospace, Courier;
}

.homeLink {
    text-decoration: none;
    font-weight: 800;
    color: #fff;
}

a {
    text-decoration: none;
    color: #fff;
}

.demo-3 {
	--color-text: #fff;
    --color-text-alt: #fff;
    --color-bg: #000;
    --color-bg-alt: #000;
    --color-link-hover: #fff;
	--color-link: #fff;
}

.grid {
	position: relative;
	width: 100%;
	display: grid;
	grid-template-columns: repeat(8,1fr);
}

.grid__item {
	position: relative;
	will-change: transform;
	grid-column: var(--c);
	grid-row: var(--r);
}

.grid__item-img {
	position: relative;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	background-size: contain;
    background-repeat: no-repeat;
	background-position: 50% 50%;
	will-change: transform, opacity;
}

.demo-1 .grid__item-img {
	filter: contrast(70%);
}

.cover {
	position: fixed;
	width: 100%;
	height: 100vh;
	top: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.cover__title {
	font-family: novecento-sans-wide, sans-serif;
	font-size: 8vw;
	margin: 0;
}

.cover__title sup {
	font-size: 4vw;
	vertical-align: 75%;
}

.cover__subtitle {
	font-size: 0.7rem;
	margin: 0;
}

@media screen and (min-width: 53em) {
	.frame {
		height: 100vh;
		grid-template-columns: auto 1fr;
		grid-template-rows: auto 1fr auto;
		grid-template-areas: 'prev sponsor' '... ...' 'title demos';
	}
	.frame__demos {
		justify-self: end;
		margin: 0 1rem;
		white-space: nowrap;
	}
	.frame__demo--current::after {
		content: '';
		position: absolute;
		top: 100%;
		height: 120%;
		width: 1px;
		left: 50%;
		background: currentColor;
	}
	.frame__demos-title {
		display: inline;
	}
}

/* FOOTER */
#footer {
    font-family: Courier, "Courier New", monospace, Courier;
    color: #fff;
    text-transform: uppercase;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 9999 !important;
    font-size: 0.625rem;
}
  
#leftFooter {
    display: flex;
}
  
#leftFooter a {
    margin-right: 10px;
}
  
#rightFooter a {
    text-decoration: none;
    color: #fff;
}
  
#rightFooter a:hover {
    cursor: pointer;
}

/* HEADER */
#wrapper {
    width:100%;
    position: relative;
}
  
#header {
    font-family: Courier, "Courier New", monospace, Courier;;
    color: #fff;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 4vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 9999;
    font-weight: 800;
    font-size: 0.625rem;
}