html {
	height: 100%;
}
body, p, h2 {
	margin: 0;
	padding: 0;
}
body {
	background-image: url(img/sep.png);
	background-position: center center;
	height: 100%;
	color: #999;
}
a {
	color: inherit;
	text-decoration: none;
}
.demo1, .demo2 {
	display: block;
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-ms-transition: 0.5s;
	-o-transition: 0.5s;
	transition: 0.5s;
	text-align: center;
	width: 50%;
}
.demo1:hover, .demo2:hover {
	background: #f2f2f2;
}
.demo-content img {
	max-width: 100%;
	width:50%;
}
.demo-content p {
	font-family: "Georgia";
	font-size: 14px;
	font-style: italic;
	line-height: 22px;
}
.demo-content h2 {
	margin-bottom: 9px;
	font-family: "Raleway", Sans-serif;
	font-size: 19px;
	font-weight: 800;
	color: #000;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-top:30px;
}

@media all and ( orientation: landscape ) {
	body {
		display: table;
		width: 100%;
		background-repeat: repeat-y;
	}
	.demo1, .demo2 {
		display: table-cell;
		vertical-align: middle;
	}
}

@media all and ( orientation: portrait ) {
	body {
		display: table;
		width: 100%;
		background-repeat: repeat-x;
	}
	.demo1, .demo2 {
		display: table;
		height: 50%;
		width: 100%;
	}
	.demo-content {
		display: table-cell;
		vertical-align: middle;
	}
	.demo-content img {
		max-height: 50%;
	}
}
