/*Just pasted some lines from three.js' main.css and the 'periodic table' example.*/


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

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

a:hover {
	text-decoration: underline;
}


button h4 {
    margin: 0.2em 0;
    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;
}


#menu {
	position: fixed;
	bottom: 20px;
	width: 100%;
	text-align: right;
	right: 2em;
	z-index: 1;
}

button {
	color: rgba(127,255,255,0.75);
	background-color: rgba(0,0,0,0.3);
	outline: 1px solid rgba(127,255,255,0.75);
	border: 0px;
	padding: .8em .3em;
	cursor: pointer;
	margin: 8px 8px;
	width: 6.7em;
}

button:hover {
	background-color: rgba(0,255,255,0.5);
}

button:active {
	color: #000000;
	background-color: rgba(0,255,255,0.75);
}

#webgl-renderer {
	position: fixed;
	top: 0;
	z-index: -1;
}


#overlays {
	width: 80%;
	margin: auto;
	/* margin-top: 120px;
	background-color: rgba(0,5,10,0.85);
	outline: 12px solid rgba(127,255,255,0.15);
	padding: 20px;
	backdrop-filter: blur(8px); doesn't work as desired*/
}

.overlay {
	display: none;

	/* dark mode 
	
	color: rgba(127,255,255,0.75);
	background-color: rgba(0,5,10,0.85);
	outline: 12px solid rgba(127,255,255,0.15);
	
	/* bright mode */
	color: black;
	background-color: rgba(229, 242, 255, 0.91);
	outline: 8px solid rgba(127,255,255,0.75);
	
	/*position: absolute;*/
	margin-top: 160px;
	/*width: 66%;*/
	padding: 2em 6em;
	margin-bottom: 8em;
}

.overlay h1 {
	color: teal;
	text-align: center;
	
	border-bottom: 1px solid DarkTurquoise;
	width: 80%;
	margin: 1em auto;
	padding: 0 0.4em;
}

#title {  
	/* resembles info */
	position: absolute;
	top: 0;
	padding: 1em 4.5em;
	box-sizing: border-box;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	z-index: 0; /* TODO Solve this in HTML */
}

#title.big {  
	/* splash screen */
	top: 25vh;
	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: 0; /* TODO Solve this in HTML */
}

#title h1 {
	font-size: 5em;
	font-style: oblique;
	transform: rotate(-8deg);
	/*padding: 1em 4.5em;*/
}

#title.big h1 {
	font-size: 20vh;
}

#title.big h2 {
	position: unset;
	left: unset;
	top: unset;
	font-size: 2em;
}

#title h2 {
	position: relative;
	left: 17em;
	top: -4em;
	font-size: 1.2em;
}

.overlay-big-img {
	width: 100%;
}

.key-value > li > span {
	text-align: right;
}

#team li h4 {
	color: teal;
	font-size: 1.5em;
}

a.external {
	color:	darkblue;
	text-decoration: underline;
}
