@charset "UTF-8";
/* CSS Document */

* {
	padding: 0;
	margin: 0
}

body {
	background-color: #000000;
	margin: 0;
	font-family: Raleway, sans-serif;
	font-size: 1em;
}
h1 {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate3d(-50%, -50%, 0);
	z-index: 99;
	text-align: center;
	font-weight: 300;
	text-transform: uppercase;
	background-color: rgba(255, 255, 255, 0.75);
	box-shadow: 0 1em 2em -1em rgba(0, 0, 0, 0.5);
	padding: 1em 2em;
	line-height: 1.5;
	opacity: 0.75;
}
h1:hover {
	opacity: 1;
}
h1 small {
	display: block;
	text-transform: lowercase;
	font-size: .7em;
}
h1 small:first-child {
	border-bottom: 1px solid rgba(0, 0, 0, 0.25);
	padding-bottom: .5em;
}
h1 small:last-child {
	border-top: 1px solid rgba(0, 0, 0, 0.25);
	padding-top: .5em;
}
h5 {
	display: block;
	color: #FFFFFF;
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 20px;
	text-align: center;
	font-weight: 300;
	font-size: .5em;
	opacity: 0.5;
}
h5:hover {
	opacity: 1;
}
h5 a {
	color:#FFFFFF;
}
a {
	text-decoration: none;
	color:#000000;
}


.crossfade > figure {
  animation: imageAnimation 36s linear infinite 0s;
  backface-visibility: hidden;
  background-size: cover;
  background-position: center center;
  color: transparent;
  height: 100%;
  left: 0px;
  opacity: 0;
  position: absolute;
  top: 0px;
  width: 100%;
  z-index: 0;
}

.crossfade > figure:nth-child(1) {
  background-image: url('../img/s_fachada.jpg');
}
.crossfade > figure:nth-child(2) {
  animation-delay: 6s;
  background-image: url(../img/s_rocio.jpg);
}
.crossfade > figure:nth-child(3) {
  animation-delay: 12s;
  background-image: url('../img/s_carro.jpg');
}
.crossfade > figure:nth-child(4) {
  animation-delay: 18s;
  background-image: url(../img/s_merendero.jpg);
}
.crossfade > figure:nth-child(5) {
  animation-delay: 24s;
  background-image: url('../img/s_casa.jpg');
}
.crossfade > figure:nth-child(6) {
  animation-delay: 30s;
  background-image: url('../img/s_sanlorenzo.jpg');
}


@keyframes imageAnimation {
  0% {
    animation-timing-function: ease-in;
    opacity: 0;
  }
  10% {
    animation-timing-function: ease-out;
    opacity: 1;
  }
  17% {
    opacity: 1
  }
  25% {
    opacity: 0
  }
  100% {
    opacity: 0
  }
}

@media only screen and (max-width: 768px) {
	body { 
		font-size: 0.5em; }
}