* {
	margin: 0;
	padding: 0;
}

body {
	min-width: 768px;
}

html { 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	position: relative;
	z-index: -2;
	background: url(../images/main-bg.jpg) no-repeat fixed;
	background-position: 50% 50%;
	background-size: cover;
	width: 100%;
	min-width: 768px;
	height: 100%;
	min-height: 920px;
}

html:after {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	background-color: rgba(12, 6, 15, .6);
	content: '';
}

/* HEADER */
header {
	position: relative;
	vertical-align: bottom;
	margin: 0px 83px;
	height: 70px;
}

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

.logo-container {
	position: absolute;
	bottom: 0;
	left: 0;
}

.logo {
	color: #cead59;
	font-family: 'Museo Sans Cyrl 500', sans-serif;
	font-size: 40px;
	font-weight: 500;
	letter-spacing: .05em;
}

nav {
	position: absolute;
	right: 0;
	bottom: 5px;
}

nav ul {
	margin-top: 5px;
	list-style: none;
}

nav li {
	-webkit-box-sizing: border-box;
	float: left;
	box-sizing: border-box;
	border-right: 1px solid #fff;
	padding: 0 26px 0 26px;
	height: 32px;
	line-height: 32px;
}

nav li:last-child {
	border: none;
}

nav li:hover {
	background-color: #b1a075;
}

nav:hover li:not(:last-child) {
	border-right: 1px solid transparent;
}

nav a {
	font-family: 'Museo Sans Cyrl 100', sans-serif;
	font-size: 18px;
}

/* MAIN */
main {
	padding-top: 52px;
	text-align: center;
}

h1 {
	color: #f2d598;
	font-family: 'Museo Sans Cyrl 500', sans-serif;
	font-size: 100px;
	letter-spacing: .05em;
}

main ul {
	-webkit-box-sizing: border-box;
	display: inline-block;
	box-sizing: border-box;
	padding: 23px 38px;
	margin: 0 auto;
	width: 645px;
	text-align: left;
}

main li {
	padding-top: 20px;
	color: #fff;
	font-family: 'Museo Sans Cyrl 100', sans-serif;
	font-size: 24px;
	list-style: none;
}

form {
	margin: 0 auto;
	margin-top: 37px;
	border-top: 1px solid rgba(253,234,188,.5);
	padding-top: 41px;
	width: 645px;
	text-align: left;
}

form label {
	display: inline-block;
	position: relative;
	cursor: pointer;
	margin-right: 35px;
	padding-left: 38px;
	color: #fff;
	font-family: 'Museo Sans Cyrl 100', sans-serif;
	font-size: 20px;
}

form input[type=radio] {
	position: absolute;
	opacity: 0;
	z-index: -10;
}

.control-radio {
	-webkit-box-sizing: border-box;
	display: inline-block;
	position: absolute;
	top: 0;
	left: 3px;
	box-sizing: border-box;
	border: 5px solid #fff;
	border-radius: 50%;
	background: #fff;
	width: 25px;
	height: 25px;	
}

form input:checked ~ .control-radio {
	background-color: #c2a55a;
}

.signinbtn, .signupbtn {
	cursor: pointer;
	border: none;
	width: 302px;
	height: 74px;
	color: #fff;
	font-family: 'Museo Sans Cyrl 300', sans-serif;
	font-size: 28px;
}

.signupbtn {
	float: left;
	background-color: rgba(255,255,255,.5);
}

.signupbtn:hover {
	-webkit-transition: .3s;
	transition: .3s;
	background-color: #b5b5b5;
}

.signinbtn {
	float: right;
	background-color: rgba(253,234,188,.5);
}

.signinbtn:hover {
	-webkit-transition: .3s;
	transition: .3s;
	background-color: #b1a075;
}

.button-wrapper {
	margin-top: 45px;
}

/* FOOTER */
footer {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 20;
	border-top: 1px solid rgba(255,255,255,.2);
	height: 70px;
	line-height: 70px;
	text-align: center;
}

small {
	color: #c9c1b8;
	font-family: 'Museo Sans Cyrl 300', sans-serif;
	font-size: 15px;
}



@media screen and (max-width: 960px) {

	html {
		background-position: 31% 50%;
	}

	header {
		margin: 0px 30px;
	}

	.logo {
		font-size: 30px;
	}
	
	nav {
		bottom: 0px;
	}
}