*,.
*::after,
*::before {
	box-sizing: border-box;
}

p {
	margin: 0;
}

:root {
	font-size: 18px;
}

body {
	margin: 0;
	--color-text: #fff;
	--color-bg: #000;
	--color-link: #e20614;
	--color-link-hover: #ffffff;
	--color-alt: #3ba2e5;
	--color-info: #e93f3b;
	color: var(--color-text);
	background-color: var(--color-bg);
	font-family: 'Alegreya Sans', sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.flex {
	display: flex;
	align-items: center;
	justify-content: center;
}

img {
	max-width: 100%;
	display: block;
	margin: auto;
}

.footer {
	justify-content: space-between;
	margin-top: 50px;
	font-weight: 900;
}

img,
.footer > a {
	padding: 5px 0;
}

/* Page Loader */
.js .loading::before,
.js .loading::after {
	content: '';
	position: fixed;
	z-index: 1000;
}

.js .loading::before {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--color-bg);
}

.js .loading::after {
	top: 50%;
	left: 50%;
	width: 60px;
	height: 60px;
	margin: -30px 0 0 -30px;
	opacity: 0.4;
	background: var(--color-link);
	animation: loaderAnim 0.7s linear infinite alternate forwards;
}

@keyframes loaderAnim {
	to {
		opacity: 1;
		transform: scale3d(0.5,0.5,1) rotate3d(0,0,1,180deg);
		border-radius: 50%;
	}
}

a {
	text-decoration: none;
	color: var(--color-link);
	outline: none;
}

a:hover,
a:focus {
	color: var(--color-link-hover);
	outline: none;
}

.content {
	display: flex;
	flex-direction: column;
	width: 100vw;
	height: calc(100vh - 13rem);
	position: relative;
	justify-content: flex-start;
	align-items: center;
}

.content__title-wrap {
	position: relative;
	text-align: center;
	pointer-events: none;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.content__title-wrap a {
	pointer-events: auto;
}

.content__title {
	font-size: 2.5em;
	max-width: 80vw;
	font-weight: 900;
	margin: 0.5rem 0 1.5rem;
	font-family: 'Alegreya Sans', sans-serif;
}

#app {
	width: 100%;
	height: 100vh;
	overflow: hidden;
	position: absolute;
}

canvas {
	width: 100%;
	height: 100%;
}

.ribbon{
    position: fixed;
    top: 33px;
    left: 63px;
    transform: translate(-50%, 50%) rotate(-45deg);
    padding: 4px 0;
    text-align: center;
    width: 220px;
    background-color: var(--color-link);
    color: var(--color-link-hover);
}

@media screen and (max-width: 600px){
	.flex {flex-direction: column;}
	:root {font-size: 14px;}
}

@media screen and (min-width: 53em) {
	.content {
		height: 100vh;
		justify-content: center;
	}
}
