@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

@font-face {
	font-family: 'monospace';
	src: url('../fonts/ASMRegular.woff2') format('woff');
}

:root {
  box-sizing: border-box;
}

*,
::before,
::after {
  box-sizing: inherit;
  -webkit-user-select: none;
  -webkit-text-size-adjust: 100%;
}

::-webkit-scrollbar {
  display: none;
}

html,
body {
	background-color: #000000;
}

body {
	font-family: 'monospace', monospace;
	background-color: #000000;
	color: #ffffff;
	text-rendering: optimizeLegibility;
	font-weight: 400;
	margin: 0;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	vertical-align: baseline;
	font-kerning: normal;
	font-feature-settings: 'kern';
	word-break: keep-all;
}

h1, p {
	text-rendering: optimizeLegibility;
	font-weight: 400;
	margin: 0;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	vertical-align: baseline;
	font-kerning: normal;
	font-feature-settings: 'kern';
	word-break: keep-all;
}

h1 {
	font-size: 12px;
	line-height: 1.4em;
	letter-spacing: 1px;
	margin: 0;
	padding-top: 10px;
}

p {
	font-size: 12px;
	line-height: 1.4em;
	/* letter-spacing: 0.6px; */
	margin: 0;
	padding-top: 8px;
}

a {
	color: white;
	text-decoration: none;
	border-bottom: 1px solid #ffffff;
}

.caption {
	display: flex;
	justify-content: space-between;
}

.test {
	margin-right: auto;
}

.tag
 {
	margin-left: auto;
}

#progress-bar-container {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 25%;
	height: 1px;
	background-color: #333333;
	z-index: 1000;
}

#progress-bar {
	height: 100%;
	width: 0;
	background-color: #888888;
}

#content {
	display: none;
}

.site-nav {
	position: fixed;
	padding: 20px;
	margin: 0;
	z-index: 3;

	dl {
		margin-top: 0;
		margin-left: 0;

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

#title {
	font-size: 28px;
	color: #ffffff;
	opacity: 0.14;
}

.lab {
	width: 100%;
}

.lab .container {
	display: flex;
	justify-content: center;
}

.tests {
	display: grid;
	width: 100%;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
	margin: 10em 20px;
	justify-content: center;
	align-items: center; 
}

.test-content {
	position: relative;
	max-width: 100%;
	height: auto;
	border: 1px solid #ffffff;
	/* aspect-ratio: 1 / 1; */
}

.test img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.test video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.footer {
	position: relative;
}

.colophon {
	font-size: 11px;
	letter-spacing: 0.6px;
	color: #ffffff;
	position: absolute;
	margin-top: auto;
	left: 0;
	right: 0;
	bottom: 30px;
	list-style-type: none;
	text-align: center;
	opacity: 0.2;
	z-index: 2;
}


@media only screen and (max-width: 768px) {
	
  #title {
    font-size: 20px;
    letter-spacing: 0em;
  }
	
	.tests {
		grid-template-columns: repeat(2, 1fr);
		column-gap: 15px;
		row-gap: 25px;
	}
	
	p {
		font-size: 11px;
		line-height: 1.4em;
		/* letter-spacing: 0.6px; */
		margin: 0;
		padding-top: 8px;
	}


}
