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

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: Nunito;
	background-color: #666;
	color: white;
}

h1 {
   	font-size: 250%
}

p {
  	font-size: 140%;
  	line-height: 150%;
}

.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 {
  	position: absolute;
  	top: 0;
  	bottom: 0;
  	left:0;
  	right:0;
}

.title {
  	width: 50%;
  	padding: 5%;
  	border-radius: 5px;
  	background: rgba(44,44,44, .7);
  	box-shadow: 0 0 8px rgba(0, 0, 0, .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;
}

#title {
  	background-image: url("../source/android-wallpaper.png");
   	background-attachment: fixed;  
}

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

#slide1 {
  	background-image: url("../source/android-wallpaper2.jpg");
	background-attachment: fixed;
}

#slide2 {
  	background-image: url("../source/android-wallpaper3.jpg");
  	background-attachment: fixed;
}

#slide3:before {
  	background-image: url("../source/android-wallpaper4.png");
  	transform: translateZ(-1px) scale(2);
	-webkit-transform: translateZ(-1px) scale(2);
  	z-index:-1;
}

#slide3 {
  	background-image: url("../source/android-wallpaper4.png");
	background-attachment: fixed;
}


#slide5:before {
  	background-image: url("../source/android-wallpaper5.jpg");
  	transform: translateZ(-1px) scale(2);
	-webkit-transform: translateZ(-1px) scale(2);
  	z-index:-1;
}

#slide5 {
  	background-image: url("../source/android-wallpaper5.jpg");
  	background-attachment: fixed;
}

#slide4 {
  	background: #444;
}

a {
	color: black;
	background-color: transparent;
	border: 2px solid black;
	padding: 2px;
	text-decoration: none;
	
	transition-duration: .5s;
	-webkit-transition-duration: .5s;
	-moz-transition-duration: .5s;
}

a:hover {
	color: lightblue;
	background-color: transparent;
	border: 2px solid lightblue;
	padding: 2px;
	text-decoration: none;
	
	transition-duration: .5s;
	-webkit-transition-duration: .5s;
	-moz-transition-duration: .5s;
	transform: color;
}

nav {
	margin: 1px;
	padding: 5px;
	text-align: center;
}

footer {
	margin: 1px;
	padding: 5px;
	text-align: center;
}

.footer {
	color: black;
	background-color: transparent;
	border: none;
	padding: 10px;
	text-decoration: none;
	
	transition-duration: .5s;
	-webkit-transition-duration: .5s;
	-moz-transition-duration: .5s;
}

.footer:hover {
	color: lightblue;
	background-color: transparent;
	border: none;
	padding: 10px;
	text-decoration: none;
	
	transition-duration: .5s;
	-webkit-transition-duration: .5s;
	-moz-transition-duration: .5s;
	transform: color;
}

a.derecha {
	border: none;
	transition-duration: .5s;
}

a.derecha:hover {
	border: none;
	filter: brightness(40%);
	transition-duration: .5s;
}
