@font-face {
	font-family: 'AmaticSC-Regular';
	src: url('./fonts/amatic/AmaticSC-Regular.eot?#iefix') format('embedded-opentype'),
		 url('./fonts/amatic/AmaticSC-Regular.woff') format('woff'),
		 url('./fonts/amatic/AmaticSC-Regular.ttf') format('truetype'),
		 url('./fonts/amatic/AmaticSC-Regular.svg#AmaticSC-Regular') format('svg');
	font-weight: normal;
	font-style: normal;
}

html { 
	margin: 0;
	padding: 0;
}

body {
	font-family: 'AmaticSC-Regular', sans-serif;
	font-size: 32px;
}

#bg, #bg2 {
	background: url('../images/bg/to_neni_mozny_01.jpg') no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: -10;
}

#bg2 {
	display: none;
	z-index: -5;
}

#container {
	width: 500px;
	height: 360px;
	margin: 80px auto;
	border: 2px solid rgba(255, 255, 255, 0.4);
	background: rgba(255, 255, 255, 0.3);
	border-radius: 5px;
} 

h1 {
	color: white;
	font-size: 48px;
	text-align: center;
	text-shadow: 0px 0px 5px black;
	margin: 20px 0 10px;
}

h2 {
	color: white;
	font-size: 36px;
	text-align: center;
	text-shadow: 0px 0px 5px black;
	margin: 10px 0 30px;
}

a {
	color: inherit;
	text-decoration: none;
}

form {
	text-align: center;
}

form input {
	border-radius: 5px;
	font: inherit;
	padding: 5px;
	text-align: center;
	width: 260px;
	box-sizing: border-box;
	margin-bottom: 10px;
}

form input[type=text] {
	border: 2px solid black;
	background: white;
	border-radius: 5px;
	opacity: 0.7;
}

form input[type=text]:focus, form input[type=text]:hover {
	opacity: 1;
}

form input[type=submit] {
	border: 2px solid gray;
	background: black;
	color: gray;
}

form input[type=submit]:hover {
	color: white;
	border-color: white;
}

form input[type=submit]:active {
	background: white;
	color: black;
}

ul.error {
	list-style-type: none;
	margin: 0 auto 10px;
	padding: 5px;
	border-radius: 5px;
	text-align: center;
	width: 260px;
	box-sizing: border-box;
	color: white;
	border-color: red;
	background: #ff5643;
	font-weight: bold;
}
