/* 
    orange   rgb(246, 140, 62)
    blau     #426aaf
*/

html, body {
	margin:0;
	padding:0;
	font-family: "Open Sans";
	font-size:1.2vw;
	}

body {
	background:url(../_img/bg.jpg) no-repeat;
	background-size:cover;
	}

a.btn {
	background-color: rgb(246, 140, 62);
	border-color: rgb(246, 140, 62);
	border-radius: 8px;
	border-style: solid;
	border-width: 1px;
	color: rgb(255, 255, 255);
	cursor: pointer;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	padding: 10px 30px;
	text-decoration-line: none;
	transition-duration: 0.3s;
	transition-property: background-color;
	user-select: none;
	vertical-align: middle;
	white-space: nowrap;
	}
a.btn:hover {
	background-color: rgb(246, 168, 62);
	}
a.btn.disabled {
	cursor:text;
	background-color:#d3d3d3;
	border-color:#d3d3d3;
	}

input[type=button].btn, input[type=submit].btn {
	background:rgb(246, 140, 62);
	color: #fff;
	border: 0;
	cursor: pointer;
	}
input[type=button].btn:hover, input[type=submit].btn:hover {
	color:#d3d3d3;
	}
input[type=button].btn.blau, input[type=submit].btn.blau {
	background: #426aaf;
	}

.clearfix::before,
.clearfix::after {
	content: " ";
	display: table;
	} 
.clearfix::after {
	clear: both;
	}

#logo { width:150px; position:absolute; top:20px; left: 20px;}

/* Spielbereich */

#container { width:1000px; height:500px; margin:50px auto 0 auto; position:relative; }
#game { width:100%px; height:100%; background-size:cover; position:relative;}
#uhr { top:10px; right:10px; font-family: "Zen Dots", sans-serif; font-weight: 400; font-style: normal; font-size:40px;}
#ctrls { top:70px; right:10px;}

#loesung { bottom:10px; right:10px;}

#page {
	display:flex;
	width: 100%;
	height: 100vh;
	}

#rescuecontainer { 
	display:grid;
	grid-template-columns:auto 200px;
	grid-template-rows:100px auto 200px;
	justify-items:stretch;
	align-items:stretch;
	align-content:stretch;
	justify-content:stretch;
	gap:50px;
	width: 1200px;
	height: 600px;
	margin: auto;
	}
#main {
	grid-column: 1;
	grid-row:1 / span 3;
	position:relative;
	background:#ffffff;
	border:#426aaf 5px solid;
	}
#ctrls {
	grid-column: 2;
	grid-row:1;
	background:#ffffff;
	border:#426aaf 5px solid;
	text-align:center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	} 
#btns > input {
	display:block;
	margin-bottom:20px;
	}
#loesung {
	grid-column: 2;
	grid-row:3;
	background:#ffffff;
	border:#426aaf 5px solid;
	text-align:center;
	display:flex;
	flex-direction: column;
	padding: 5px;
	justify-content: space-around;
	}
#overlay { 
	position: absolute; 
	border-radius: 20px; top: 0; 
	width: calc(100% - 80px); 
	height: calc(100% - 80px); 
	background: rgba(255,255,255,.9); 
	margin: 30px; 
	box-shadow: #000 0px 0px 20px; 
	padding: 10px; 
	z-index:5; 
	transition: all 1s ease-out;
	}
#overlay.hidden {
	opacity:0;
	display:none;
	}
#overlay_ctrls {
	max-width:100%; 
	text-align:right;
	}
#overlay_ctrls > span {
	background: #426aaf;
	padding: 0 7px;
	color: #fff;
	border-radius: 15px;
	font-weight: bold;
	cursor: pointer;
	}
#overlay_content {
	text-align:left;
	height: calc(100% - 60px);
	overflow: auto;
	}
#overlay_content > h2 { margin-top:0; }