* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
	background-color: #87CEEB;
	color: #000;
	font-size: 13px;
	overscroll-behavior: none;
	max-height: 100vh;
    overflow: hidden;
}

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

h1 {
	font-family: Monospace;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
}

#portfoliolink {
	font-family: Monospace;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
	color: #000;
}

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

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

.lil-gui {
	z-index: 2 !important; /* TODO Solve this in HTML */
}
.lil-gui.allow-touch-styles.root.autoPlace.closed,
div div canvas {
	display: none !important;
}

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

footer {
    position: absolute;
    bottom: 0;
    margin-left: auto;
    margin-right: auto;
    left: 0%;
    right: 0%;
    text-align: center;
}

.fab {
	font-display: optional;
    color: #000;
    opacity: 0.5;
}

.fab:hover {
    color: #000;
    opacity:1;
}

#textOptOut,
#textOptIn {
    color: #81E1E6;
}

/**************************************************************************************************************************
BOUTON J'AIME PAGE FACEBOOK
**************************************************************************************************************************/
.fb-like {
	position: absolute !important;
	top: 15px;
	right: 0px;
	position: fixed !important;
	width: 130px; 
	height: 21px;
	border: none;
	overflow: hidden;
}


/**************************************************************************************************************************
RESPONSIV DESIGN BOUTON J'AIME PAGE FACEBOOK
**************************************************************************************************************************/
@media screen and (max-width: 480px) {
	iframe {
		display: none;
	}
}
@media screen and (min-width: 481px) and (max-width: 780px) {
	iframe {
		display: none;
	}
}