@font-face {
	font-family: "Grotesk_Bold";
	src: local("Grotesk_Bold"),
		url("fonts/Format/Grotesk-04Gras.woff") format("woff"),
		url("fonts/Format/Grotesk-04Gras.woff2") format("woff2")
}

html {
	background-color: #EFEFEF;
	overflow: hidden;
}

body {
	margin: 0;
	color: #fff;
	font-family: 'Grotesk_Bold';
	font-size: 13px;
	line-height: 24px;
	overscroll-behavior: none;
}

/* HEADER commun, fixé en haut */
.header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 3000;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px;
	background: rgba(0,0,0,1);
	backdrop-filter: blur(5px);
	width: 100%;
	margin: 0;
}

.header a.logo img {
	width: 30%;
	height: auto;
	transition: transform 0.2s;
}

.header a.logo img:hover {
	transform: scale(1.1);
}

.header img:not(.logo-img) {
	width: 50%;
	height: auto;
	transition: transform 0.2s;
}

.header img:not(.logo-img):hover {
	transform: scale(1.1);
}

.menu {
	position: relative;
	display: inline-block;
}

.menu-content {
	position: absolute;
	top: 100%;
	left: 0;
	background: rgba(0,0,0,0.8);
	backdrop-filter: blur(5px);
	min-width: 120px;
	z-index: 2100;
	display: none;
}

.menu-content a {
	display: block;
	padding: 10px;
}

.menu:hover .menu-content {
	display: block;
}

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

a:hover {
	text-decoration: underline;
}

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

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

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

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

#webgl {
	background-color: white;
}
