@import url('https://fonts.googleapis.com/css?family=Oswald:300,400,500');

html, body {
	margin: 0;
	height: 0;
	height: 100%;
	background-color: #222222;
	overflow-x: hidden;
}

.rotate {
	top: 100px;
	transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
}

#wrapper {
	overflow-x: hidden;
}

#container {
	background-color: white;
	width: 100%;
	height: 100%;
}

a {
	text-decoration: none;
}

.icon {
	display: none;
	z-index: 1;
	position: relative;
	top: 60px;
	right: 60px;
	font-size: 80px;
	background-color: rgba(255, 255, 255, 0.3);
	padding: 10px 30px;
}

#mobile-sidebar {
	display: none;
	z-index: 2;
	width: 100%;
	background-color: white;
	padding: none;
	box-sizing: border-box;
	overflow: hidden;
}

	#mobile-sidebar ul {
		padding: 0;
		list-style-type: none;
	}

	#mobile-sidebar li {
		font-family: 'Oswald';
		font-weight: 300;
		padding: 0.2em 2em;
		font-size: 60px;
	}

.link {
	color: #ff7139;
}

.link:hover {
	text-decoration: underline;
}


.demo-link {
	font-family: 'Oswald';
	padding: 20px 40px;
	color: white;
	background-color: #ff7139;
	transition: all 0.2s ease;
}

	.demo-link:hover {
		background-color: #FF956B;
	}

#navbar {
	padding: 3% 10%;
	font-family: 'Oswald';
	font-weight: 300;
	font-size: 30px;
	margin-bottom: 2em;
}

#links {
	float: right;
	vertical-align: middle;	
	display: inline-block;
}

#navbar img {
	height: 80px;
	margin-top: -15px;
	margin-right: 2em;
	display: inline-block;
	float: left;
	vertical-align: middle;	
}

#navbar a, #mobile-sidebar a {
	color: #222222;
	text-decoration: none;
	margin: 0 1.8em;
	transition: all 0.2s ease;
}

#navbar a:hover, #mobile-sidebar a:hover {
	color: #ff7139;
}

#navbar .icon {
	display: none;
}

h2 {
	margin-top: 0;
	font-size: 70px;
	font-weight: 400;
	margin-bottom: 0.4em;
}

.slider {
	font-family: 'Oswald';
	font-size: 35px;
	font-weight: 300;
	color: white;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: top center;
	background-attachment: fixed;
	text-align: center;
	padding: 20% 25%;
	box-sizing: border-box;
}

#textbox {
	color: #222222;
	padding: 10% 20% 10% 20%;
}

#textbox hr {
	border: 1px solid #222222;
}

hr {
	border: 1px solid white;
	width: 60%;
}

.footer {
	color: #CCCCCC;
	font-family: 'Oswald';
	font-size: 1.5em;
	display: block;
	width: 100%;
	padding: 60px 80px 120px 80px;
	height: 50px;
	background-color: #333333;
	box-sizing: border-box;
}

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

	.slider {
		padding: 70% 15%;
		font-size: 70px;
		line-height: 1.2;
	}

	#navbar img {
		height: 120px;
		margin-top: -35px;
	}

	#textbox {
		padding: 20% 5% 20% 5%;
		font-size: 70px;
	}

	h2 {
		font-size: 130px;
	}

	#navbar {
		padding: 10%;
	}

	#navbar a {
		display: none;
	}
	
	.icon {
		display: block;
		float: right;
	}

	.footer {
		font-size: 50px;
	}
}