/* first for IE 4–8 */
@font-face {
  font-family: DINWebPro;
  src: url("../fonts/DINWebPro.eot");
}

/* then for WOFF-capable browsers */
@font-face {
  font-family: DINWebPro;
  src: url("../fonts/DINWebPro.woff") format("woff");
}

/* first for IE 4–8 */
@font-face {
  font-family: DINWebPro-Medium;
  src: url("../fonts/DINWebPro-Medium.eot");
}

/* then for WOFF-capable browsers */
@font-face {
  font-family: DINWebPro-Medium;
  src: url("../fonts/DINWebPro-Medium.woff") format("woff");
}

/* first for IE 4–8 */
@font-face {
  font-family: DINWebPro-Light;
  src: url("../fonts/DINWebPro-Light.eot");
}

/* then for WOFF-capable browsers */
@font-face {
  font-family: DINWebPro-Light;
  src: url("../fonts/DINWebPro-Light.woff") format("woff");
}

body {
	margin: 0px;
	padding: 0px;
	font-family: "DINWebPro", sans-serif;
}

a {
	text-decoration: none;
}

#nav-header-bg {
	width: 100%;
	min-width: 1000px;
	height: 460px;
	color: #fff;
	background: #5091ad;
}

#nav-header {
	width: 940px;
	height: 125px;
	margin: auto;
	border-bottom: 1px solid rgba(255,255,255,0.3);
}

#logo {
	width: 145px;
	height: 30px;
	background: url(img/logo-white.svg);
	float: left;
	display: inline-block;
	margin-top: 46px;
}

#nav-header-items {
	width: content;
	float: right;
	display: inline-block;
	margin-top: 55px;
	letter-spacing: 1.5pt;
}

#nav-header-items a {
	background: transparent;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	margin-left: 60px;
	font-size: 12pt;
	border-bottom: 1px solid transparent;
	padding: 8px 0px 8px 0px;
}

#nav-header-items a:hover {
	border-bottom: 1px solid rgba(255,255,255,0.3);
}

#hero {
	width: 940px;
	text-align: left;
	margin: auto;
	padding-top: 170px;
}

h1 {
	margin: 0px;
	-webkit-font-smoothing: antialiased;
	color: white;
	font-family: 'DINWebPro-Light';
	font-weight: normal;
	font-size: 2.5em;
	line-height: 1.75;
	letter-spacing: .5pt;
}

h2 {
	margin: 0px;
	font-weight: normal;
	font-size: 36px;
	padding-bottom: 20px;
	line-height: 1.5;
}

h3 {
	font-size: 31px;
	font-weight: normal;
	line-height: 2;
	-webkit-margin-before: 0;
	-webkit-margin-after: 0;
}

p {
	font-size: 1.5em;
	line-height: 1.75;
	-webkit-margin-before: 0;
	-webkit-margin-after: 0;
}

.section-bg {
	min-height: 800px;
}

.section {
	width: 940px;
	left: 50%;
	margin-left: -470px;
	position: relative;
	height: 100%;
}

.half {
	width: 45%;
	height: 200px;
	position: absolute;
	top: 50%;
	margin-top: -100px;
	-webkit-font-smoothing: antialiased;
	font-family: "DINWebPro";
}

.half-right {
	width: 47%;
	height: 200px;
	position: absolute;
	top: 50%;
	margin-top: -100px;
	-webkit-font-smoothing: antialiased;
	right: 0px;
	font-family: "DINWebPro";
}

#table {
	background-image: url(img/iphone-1.jpg);
	background-size: cover;
	background-position: center;
	color: #fff;
	min-width: 1000px;
	height: 800px;
}

#table .half-right {
	right: 4%;
}

#kitchen {
	background-image: url(img/iphone-2.jpg);
	background-size: cover;
	background-position: center;
	color: #474344;
	min-width: 1000px;
	height: 800px;
}

#kitchen .half{
	left: 5%;
}

#desk {
	background-image: url(img/ipad-1.jpg);
	background-size: cover;
	background-position: center;
	color: #fff;
	min-width: 1000px;
}

#desk .half-right {
	right: 10%;
}

#steps {
	background-image: url(img/ipad-2.jpg);
	background-size: cover;
	background-position: center;
	color: #fff;
	min-width: 1000px;
	height: 800px;
}

#steps .half {
	width: 40%;
	text-shadow: 0px 0px 8px rgba(0,0,0,0.2);
}

#download {
	background: #fff;
	min-height: 500px;
	min-width: 1000px;
}

#footer {
	background: #000;
	min-height: 230px;
	min-width: 1000px;
}

#download-button {
	font-size: 24px;
	text-transform: uppercase;
	padding: 34px 60px 30px 60px;
	width: content;
	position: absolute;
	left: 50%;
	margin-top: 150px;
	margin-left: -340px;
	border-radius: 10px;
	color: #fff;
	letter-spacing: 2pt;
	background: #5091ad;
}

#download img {
	position: absolute;
	left: 50%;
	margin-left: -391.5px;
	margin-top: 270px;
}

#download-button:hover {
	background: #54c1f0;
}

#download-button:active {
	background: #3b687b;
}


#nav-footer-items {
	width: content;
	letter-spacing: 1.5pt;
	text-align: center;
	padding-top: 95px;
}

#nav-footer-items a {
	background: transparent;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	margin-left: 30px;
	margin-right: 30px;
	font-size: 12pt;
	border-bottom: 1px solid transparent;
	padding: 8px 0px 8px 0px;
}

#nav-footer-items a:hover {
	border-bottom: 1px solid rgba(255,255,255,0.3);
}


/* Media Queries ------------------------------------------------------------------------------------ */

/* iPhone 5 ---- */

@media screen and (device-aspect-ratio: 40/71) {

	#nav-footer-items a {margin-left: 15px; margin-right: 15px; font-size: 11px; font-family: "DINWebPro-Medium";}
	#nav-header-bg {width: 1150px;}
	#download-button {font-family: "DINWebPro-Medium";}
	#footer {width: 1150px;}
	#download {width: 1150px;}
	#table {max-height: 800px; width: 1150px;}
	#kitchen {max-height: 800px; width: 1150px;}
	#desk {max-height: 800px; width: 1150px;}
	#steps {max-height: 800px; width: 1150px;}
	h2 {}
}

@media screen and (device-aspect-ratio: 2/3) {
	#nav-footer-items a {margin-left: 15px; margin-right: 15px; font-size: 11px; font-family: "DINWebPro-Medium";}
	#nav-header-bg {width: 1150px;}
	#download-button {font-family: "DINWebPro-Medium";}
	#footer {width: 1150px;}
	#download {width: 1150px;}
	#table {max-height: 800px; width: 1150px;}
	#kitchen {max-height: 800px; width: 1150px;}
	#desk {max-height: 800px; width: 1150px;}
	#steps {max-height: 800px; width: 1150px;}
	h2 {}
}