@import "fonts.css";

html {
	width: 100%;
	height: 100%;
}

body {
	font-size:0.8em;
	top:0; left:0;

	width: 100%;
	height: 100%;
	/*
	width: 1024px;
	height: 768px;
	*/

	background-image:url("../img/background.png");
	background-size: 100%;
	background-repeat: no-repeat;
	background-size: fit;
	position: absolute;
	text-align: center;
	z-index: -1;
}

body[orient="portrait"] {
	-webkit-transform-origin:0 0;

}

body[orient="portrait"]:after {
	width:100%;
}

h1 {
	font-size:32px;
}

h2 {
	font-size:24px;
}

p {
	font-size: 18px;
}

button {
	font-size: 32px !important;
}

.form-control {
	background-color: #ffd001 !important;
	font-size: 2.3rem;
	padding: .5rem 1rem;
	height: 100%;
}

#submit h1, #submit h2, #submit p {
	color: white !important;
}
#submit p {
	font-family: "Open Sans";
}
.titleimage {
	position: absolute;
	width: 40%;
	left: 30%;
}

#intro, #data_collection, #agb {
	background-color: rgba(255,255,255,0.9);
}

#data_collection {
	color: black;
}

.page /*> .container*/ {
	border-radius: 5px;
	
	width: 900px;
	text-align: center;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	top: 180px;
	display:none;
	padding: 5px;
}

.page.active {
	display:block;
}

.page .container {
	overflow: hidden;
	height: 400px;
}

.page:not(#data_collection) .container {
	font-family:"Skranji", sans-serif !important;
	color: #cf0000;
	width:100%;
}
.page#data_collection .container {
	font-family:"Skranji", sans-serif !important;
	color: #575757;
	width:100%;
}
.page#data_collection button {
	color: #cf0000;
}
.page#data_collection h1 {
	font-size: 24px;
}
.page#data_collection p {
	font-size: 15px;
	font-family: "Open Sans";
}

.page .container button {
	width: 440px;
	background-image:url('../img/antwort.png');
	background-size:100% 100%;
	background-color:transparent;
}

.page .container button.answer {
	height:80px;
}

form.form-horizontal {
	font-size: 15px;
	position: relative;
	margin-left: auto;
	margin-right: auto;
}

form.form-horizontal label.control-label {
	padding-left:0px;
}

.admin_button {
	position: absolute;
	width: 60px;
	height: 100px;
	bottom: 0px;
	left: 760px;
}

.admin_menu,.admin_menu_delete {
	width:500px;
	height:300px;
	position:fixed;
	left:250px;
	top:200px;
	background-color:rgba(0,0,0,0.5);
	display:none;
	z-index:200;
	color:white;
	padding:2em;
	font-size:2em;
}
.admin_menu button,.admin_menu_delete button {
	color: black;
	font-size: 24px !important;
}
.admin_menu_delete {
	background-color:rgba(0,0,0,1.0);
}

.admin_menu input, .admin_menu_delete input {
	color:black;
}

.invalid {
	outline:2px solid red;
}

@-webkit-keyframes jiggle {
	0% {
		-webkit-transform: rotate(0deg);
	}
	5% {
		-webkit-transform: rotate(-3deg);
	}
	10% {
		-webkit-transform: rotate(0deg);
	}
	15% {
		-webkit-transform: rotate(2deg);
	}
	20% {
		-webkit-transform: rotate(0deg);
	}
	25% {
		-webkit-transform: rotate(-1deg);
	}
	30% {
		-webkit-transform: rotate(0deg);
	}
}

#go {
	-webkit-animation: jiggle 2s infinite;
	width:250px;
	height:80px;
	margin:0 100px;
	font-size:4em;
}

#agb p {
	font-size:110%;
}

#agb h2 {
	font-size:180%;
}

#intro p {
	font-size:15px;
	margin-bottom:5px;
}

#intro .container {
	height:456px;
}

#back a {
	position:absolute;
	left: 660px;
	top:137px;
	font-size:24px;
	color:rgba(120,90,0,1) !important;
	z-index: 50;
	font-weight:bold;
	text-shadow: -1px -1px 0px rgba(255,255,255,0.8), 1px 1px 0px rgba(255,255,255,0.8), -1px 1px 0px rgba(255,255,255,0.8), 1px -1px 0px rgba(255,255,255,0.8);
	opacity:0.8;
}

#back {
	display: none;
}

.reset-button {
	position: absolute;
	right: 0;
	padding: 10px 50px;
	border: none;
	background: transparent;
	color: rgba(0, 0, 0, 0.2);
}

