@font-face {
    font-family: 'NB Akademie';
    src: url('/css/NBAkademieBold.woff2') format('woff2'),
        url('/css/NBAkademieBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NB Grotesk Pro Mono';
    src: url('/css/NBGroteskProMono-Bold.woff2') format('woff2'),
        url('/css/NBGroteskProMono-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body {
	margin: 0;
	background-color: #000;
	color: #fff;
	font-family: "NB Grotesk Pro Mono";
	font-size: 13px;
	line-height: 24px;
	overscroll-behavior: none;
}

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

a:hover {
	text-decoration: underline;
}

button {
	cursor: pointer;
	text-transform: uppercase;
}

#info {
	position: absolute;
	top: 0px;
	width: 100%;
	padding: 10px;
	box-sizing: border-box;
	text-align: center;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	z-index: 1; /* TODO Solve this in HTML */
}

a, button, input, select {
	pointer-events: auto;
}

.dg.ac {
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	z-index: 2 !important; /* TODO Solve this in HTML */
}

#overlay {
	position: absolute;
	font-size: 16px;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background: rgba(0,0,0,0.7);
}

	#overlay button {
		background: transparent;
		border: 0;
		border: 1px solid rgb(255, 255, 255);
		border-radius: 4px;
		color: #ffffff;
		padding: 12px 18px;
		text-transform: uppercase;
		cursor: pointer;
	}

#notSupported {
	width: 50%;
	margin: auto;
	background-color: #f00;
	margin-top: 20px;
	padding: 10px;
}

body {
    overflow:  hidden;
}
#layer1 {
    position: absolute;
    left:  0px;
    top: 0px;
    width:  100%;
    height:  100%;
    /*background:  #000000;*/
    z-index:  2;
    display: none;
}

#layer2 {
    position: absolute;
    left:  0px;
    top: 0px;
    width:  100%;
    height:  100%;
    background:  #000000;
    z-index:  1;
    display: none;
}

#layer2 p {
    position: absolute;
    left: 0%;
    top: 50%;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    line-height: 60px;
    z-index: 2;
    /*margin-left: 25%;*/
    margin-top: 290px;
    display: none;
    opacity: 0;
    /*font-weight: bold;*/
    /*font-family: Helvetica;*/
}

@media only screen and (min-device-width: 480px){
    #layer2 p {
        font-size: 50px;
        line-height: 40px;
        font-weight: bold;
    }
}

video {
    position: absolute;
    left:  50%;
    top:  50%;
    width: 1920px;
    height:  1080px;
    margin-left: -960px;
    margin-top: -540px;
}

#cubes {
    position: absolute;
    left:  50%;
    top:  50%;
    width: 440px;
    height: 440px;
    margin-left: -220px;
    margin-top: -220px;
}

#sphere {
    cursor: pointer;
    position: absolute;
    left:  50%;
    top:  50%;
    width: 100px;
    height:  100px;
    opacity: 0;
    background: #ffffff;
    border-radius: 100px;

}

.sphere_animate {
	animation-name: stretch;
    animation-duration: 2.0s;
    animation-timing-function: ease-out;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-play-state: running;
}

canvas {
    position: relative;
    z-index:  0;
    opacity: 0;
    display: block;
}

@keyframes stretch {
    0% {
        transform: scale(0.8);
    }

    100% {
        transform: scale(1.2);
    }
}