body {
	margin: 0;
	background-color: #000;
	color: #fff;
	font-family: Monospace;
	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;
}

.lil-gui {
	z-index: 2 !important; /* TODO Solve this in HTML */
}

@media all and ( max-width: 640px ) {
	.lil-gui.root { 
		right: auto;
		top: auto;
		max-height: 50%;
		max-width: 80%;
		bottom: 0;
		left: 0;
	}
}

#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;
}

#boite_3d_intro_wrap {
	position: absolute;
	pointer-events: inherit;
	cursor: grab;
	height: 300px;
	width: 500px;
	bottom: 0;
	max-width: 500px;
	left: 50%;
	top: -100px;
}

#boite_3d_intro_wrap:active {
	cursor: grabbing;
}

#intro_row{
	padding: 0;
}

#boite_wrap {
	/*
	width: 100%;
	aspect-ratio: 8 / 5.5;
	width: 800px;
	height: 450px;
	*/
	/*height: 170%;*/
	width: 800px;
	height: auto;
	padding-top: 56.25%;
	margin: auto;
	position: absolute;
	top: -100px;
	width: 100%;
	display: flex;
	justify-content: center;
}

#boite_wrap canvas {
	position: absolute;
	top: 0;
	display: block;
	width: 100%;
	height: 400px;
	object-fit: cover;
}

#actions {
	position: absolute;
    bottom: -80px;
    left: 0;
    right: 0;
    margin: auto;
    width: fit-content;
}

#fais_bouger {
	border: none;
	border-radius: 30px;
	/* background: white; */
	color: var(--bs-secondary);
	padding: .0em .95em .3em .95rem;
	font-size: 1em;
	/* cursor: pointer; */
    display: flex;
    /*align-items: center;*/
    align-items: flex-end;
    pointer-events: auto;
	width: 70%;
	margin: auto;
	text-align: center;
}

#fais_bouger p {
	padding: .8em .95em .6em .95rem;
	font-family: 'Grandstander';
	display: inline-block;
	color: #4C9C2E;
}

#fais_bouger::before {
	/* content: '';
	background: url('../boite_3d/export/Images/icon_sound_green.svg') no-repeat;
	background-position: center 2px;
	width: 30px;
	height: 30px;
	display: inline-block;
	margin-right: 15px; */
}


@media all and ( min-width: 640px ) {
	#intro_row{
		padding: 0 7em;
		width: 1000px;
		margin: auto;
	}


}