@import url(http://fonts.googleapis.com/css?family=Nunito);

@font-face {
    font-family: Lobster;
    src: url(FONTS/Lobster_1.3.otf);
}

@font-face {
    font-family: Romanserif;
    src: url(FONTS/romanserif_regular.ttf);
}

html {
	height: 100%;
	overflow: hidden;
}

body {
	margin: 0;
	padding: 0;
	perspective: 1px;
	transform-style: preserve-3d;
	height: 100%;
	overflow-y: scroll;
	overflow-x: hidden;
	font-family: Romanserif;
}




p,h2 {
	font-size: 140%;
	line-height: 150%;
	color: #333;
}

h1,h2 {
	font-size: 250%;
	font-family: Lobster;
}

.slide {
	position: relative;
	padding: 25vh 10%;
	min-height: 100vh;
	width: 100vw;
	box-sizing: border-box;
	box-shadow: 0 -1px 10px rgba(0, 0, 0, .7);
	transform-style: inherit;
}

.slide:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

.title {
	width: 70%;
	padding: 5%;
	border-radius: 5px;
	background: rgba(240, 230, 220, .7);
	
}

.slide:nth-child(2n) .title {
	margin-left: 0;
	margin-right: auto;
}

.slide:nth-child(2n+1) .title {
	margin-left: auto;
	margin-right: 0;
}

.slide,
.slide:before {
	background: 50% 50% / cover;
}

.header {
	text-align: center;
	font-size: 175%;
	color: #fff;
	text-shadow: 0 2px 2px #000;
}

img {
	width: 50%;
}

#title {
	background-image: url("IMG/img1.jpg");
	background-attachment: fixed;
}

#slide1:before {
	background-image: url("IMG/img2.jpg");
	transform: translateZ(-1px) scale(2);
	z-index: -1;
}

#slide2 {
	background-image: url("IMG/img3.jpg");
	background-attachment: fixed;
}

#slide3:before {
	background-image: url("IMG/img4.jpg");
	transform: translateZ(-1px) scale(2);
	z-index: -1;
}

#slide4 {
	background: #222;
}