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

body {
	--text-color: #f0f0f0;
	--background-color: #5f5c58;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	color: #ddd;
	color: var(--text-color);
	background: #000;
	background: var(--background-color);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 15px;
	height: 100vh;
	overflow: hidden;
}

a {
	text-decoration: none;
	color: #ddd;
	color: var(--link-color);
	outline: none;
	border-bottom: 0px solid;
	padding: 0 0 0.15em;
}

a:hover,
a:focus {
	color: #000;
	color: var(--link-hover-color);
	border-color: transparent;
}

.hidden {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
}

/* Icons */
.icon {
	display: block;
	width: 1.5em;
	height: 1.5em;
	margin: 0 auto;
	fill: currentColor;
}

/* Page Loader */
.js .loading::before {
	content: '';
	position: fixed;
	z-index: 100;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--background-color);
}

.js .loading::after {
	content: '';
	position: fixed;
	z-index: 10000;
	top: calc(50% - 40px);
	left: calc(50% - 40px);
	width: 80px;
	height: 80px;
	opacity: 0.5;
	border-radius: 50%;
	background: var(--text-color);
	animation: loaderAnim 0.8s ease infinite alternate forwards;
}

@keyframes loaderAnim {
	to {
		opacity: 0.8;
		transform: scale3d(0.25,0.25,1);
	}
}

/* Content */
.content {
	overflow: hidden;
	padding: 0;
}

#scene.clickable{
	cursor: pointer;
}

@media screen and (max-width: 60em) {
	.codrops-header {
		flex-direction: column;
		align-items: flex-start;
		font-size: 0.85em;
	}
	.codrops-links {
		margin: 0 0 1em 0;
	}
	.demos {
		width: 100%;
		margin: 1em 0 0;
	}
}
