/*
* AnyGlass Page Stylesheet
*
*/

* {
	padding: 0;
	margin: 0;
}

body { 
	background: url('../images/bg_MobileHMI_blue.png') no-repeat;
	background-size: cover;
	background-position: left bottom;
	font-family: 'Segoe UI', 'Open Sans', Tahoma, sans-serif;
}
#main {
	background: #F7FCFF;
	text-align: center;
	box-sizing: border-box;
	width: 800px;
	border-radius: 16px;
	margin: 20px auto;
	padding: 20px;
	-webkit-box-shadow: 4px 8px 20px 0px rgba(204,204,204,1);
	-moz-box-shadow: 4px 8px 20px 0px rgba(204,204,204,1);
	box-shadow: 4px 8px 20px 0px rgba(192,214,225,1);
}
h1, h2, p, a {
	color: #1D8AC2;
}

h1, h2 {
	font-weight: 500;
}
h1 {
	font-size: 1.75em;
	margin: 24px 0;
}
h2 {
	font-size: 1.25em;
	margin-bottom: 12px;
}
a {
	text-decoration: none;
}
p {
	font-size: 0.875em;
}

.section {
	margin: 0 auto;
	padding: 8px 0;
}

.logo {
	width: 225px;
	margin: 0 auto;
}
.logo img {
	width: 100%;
}

.row {
	display: flex;
	justify-content: space-between;
	margin: 12px auto;
}
.row.appbuttons {
	width: 63%;
}
.row.appbuttons.mobile {
	display: none;
}
.row.demos {
	width: 82%;
}
.row.stores {
	width: 60%;
}

.button {
	background: #CBE7F7;
	box-sizing: border-box;
	border-radius: 8px;
	text-align: left;
	transition: 0.4s all;
}
.button.demo {
	background: rgba(203, 231, 247, 0.65);
}
.button:hover {
	background: #A9D8F1;
}
.button p {
	font-size: 1em;
	text-align: left;
	display: inline-block;
	margin-left: 12px;
}

/*** Top buttons ***/

.button.app a {
	box-sizing: border-box;
	padding: 14px 28px;
	display: flex;
	align-items: center;
}

/*** Demo buttons ***/

.button.demo, .button.demo.empty {
	box-sizing: border-box;
	width: 200px;
}
.button.demo a {
	padding: 10px 20px;
	display: flex;
	align-items: center;
}
.button.demo img {
	width: 42px;
}
.button.demo.empty {
	background: none;
}

/*** Learn More button ***/

.button.website {
	display: inline-block;
	width: 280px;
	padding: 12px 20px;
	margin: 12px auto 0;
	font-size: 0.875em;
	text-align: center;
}
.button.website a {
	padding: 12px 28px;
}

/*** Misc ***/

.description p {
	color: #606060;
	margin: 16px 0;
}

.badge {
	height: 40px;
}

p.copyright {
	text-align: center;
	margin-bottom: 24px;
}

/*** Responsive Settings ***/

@media (max-width: 1199px) {
	body {
		height: 100vh;
	}
	#main {
		position: relative;
		//width: 90%;
		height: 92vh;
		padding: 24px;
	}
	.container {
		position: relative;
		top: 50%;
		transform: perspective(1px) translateY(-50%);
	}
	.logo {
		width: 275px;
	}
}

@media (max-width: 960px) {
	#main {
		width: 90%;
	}
	.button.app {
		width: 196px;
	}
	.button.demo, .button.demo.empty {
		width: 168px;
	}
	.button.demo p {
		font-size: 0.75em;
	}
}

@media (max-width: 767px) {
	body {
		height: initial;
		background: none;
		background-color: #F8FDFF;
	}
	#main {
		background: #F8FDFF;
		width: 100%;
		height: initial;
		margin: 0;
		padding: 20px;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
		position: initial;
		transform: none;
	}
	.container {
		position: initial;
		transform: none;
	}
	.section {
		padding: 0 0 12px;
	}
	
	.logo {
		width: 225px;
	}
	
	.row.appbuttons {
		display: none;
	}
	#middle {
		display: none;
	}
	
	h1 {
		margin: 24px 0 18px;
	}
	h2 {
		font-weight: normal;
		font-size: 1.125em;
		margin-bottom: 18px;
	}
	h2 span {
		display: block;
	}
	
	.row.stores {
		flex-direction: column;
		width: 100%;
		margin: 0;
	}
	.row.appbuttons.mobile {
		display: flex;
		width: 100%;
	}
	.button.app {
		width: 48%;
	}
	.button.app a {
		padding: 6% 12%;
	}
	.badge {
		height: 56px;
		margin-bottom: 12px;
	}
}