@import url('https://fonts.googleapis.com/css?family=Kristi');
@import url('https://fonts.googleapis.com/css?family=Philosopher');
/*@font-face {
	font-family: 'codropsicons';
	font-weight: normal;
	font-style: normal;
	src:	url('codropsicons/codropsicons.eot');
	src:	url('codropsicons/codropsicons.eot?#iefix') format('embedded-opentype'),
			url('codropsicons/codropsicons.woff') format('woff'),
			url('codropsicons/codropsicons.ttf') format('truetype'),
			url('codropsicons/codropsicons.svg#codropsicons') format('svg');
}*/

*,
*::after,
*::before {-webkit-box-sizing: border-box;box-sizing: border-box;}

body {
	font-family: "Philosopher", Arial, sans-serif;
	overflow-x: hidden!important;
	color: #a5aeb5;
	background: #ebcddc;
	position: relative;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {text-decoration: none;color: #df2d70;outline: none;}
a:hover, a:focus {color: #03a9f4;}
.content {padding: 3em 0;}

.js body {overflow: hidden;}
.js body.overflow {overflow: auto;}

.header {
	position: absolute;
	z-index: 1000;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-webkit-align-items: flex-start;
	align-items: flex-start;
	width: 100%;
	padding: 2.5em;
	pointer-events: none;
}

/* the page (header background) that is being moved up (initial view) */
.page--mover {
	position: fixed;
	width: 100%;
	height: 100vh;
	pointer-events: none;
	background: #ebcddc;
}

/* the title of the initial view */
.title-wrap {
	position: absolute;
	z-index: 101;
	width: 100%;
	margin: 10vh 0 0 0;
	text-align: center;
	pointer-events: none;
}
.title {
	line-height: 1;
	position: relative;
	text-indent: 0.2em;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.title--main {
  color: #df2d70;
  font-size: 7.5vw;
  margin: 0 auto;
  font-family: 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.title--sub {
	font-size: 1.15em;
	font-weight: 700;
	display: block;
	margin: 0;
	color: #565f73;
}

@media screen and (min-width: 100em) {
	.title--main {font-size: 7vw;}
	.title--sub {font-size: 1.35vw;}
}

/* static page with grid */
.page--static {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-align-items: center;
	align-items: center;
	max-width: 1220px;
	margin: 0 auto;
	padding:0;
	text-align: center;
}
.page__title {padding: 0 2em;}
.page__title-main {
  font-family: 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1.3em;
  text-transform: uppercase;
}
.page__title-sub {color: #fff;font-size: 1.05em;margin: 0.5em 0 4em;}

.device {
	position: fixed;
	z-index: 1000;
	bottom: 0;
	left: 50%;
	width: 45vh;
	height: 77vh;
	margin: 0 0 0 -22.5vh;
	background: url(deviceCB.png) no-repeat 50% 0%;
	background-size: 100%;
}
.device__screen {
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-size: 100% auto;
  height: 100%;
  left: 11.8%;
  position: absolute;
  top: 19.3%;
  width: 76.5%;
}

/* Button */
.button {
	margin: 0;
	padding: 0;
	border: none;
	background: none;
}
.button--view {
	position: fixed;
	z-index: 1000;
	bottom: 1.5em;
	left: 50%;
	width: 3em;
	height: 1.75em;
	margin: 0 0 0 -1.5em;
	-webkit-animation: pointDown 0.6s 0.6s ease-in infinite alternate forwards;
	animation: pointDown 0.6s 0.6s ease-in infinite alternate forwards;
	fill: #c90f50;
}

@-webkit-keyframes pointDown {
	from {
		-webkit-transform: translate3d(0,-10px,0);
		transform: translate3d(0,-10px,0);
	}
	to {
		-webkit-transform: translate3d(0,0,0);
		transform: translate3d(0,0,0);
	}
}

@keyframes pointDown {
	from {
		-webkit-transform: translate3d(0,-10px,0);
		transform: translate3d(0,-10px,0);
	}
	to {
		-webkit-transform: translate3d(0,0,0);
		transform: translate3d(0,0,0);
	}
}

.button--view path {
	-webkit-transition: fill 0.3s;
	transition: fill 0.3s;
	fill: inherit;
}
.button--view:hover,
.button--view:focus {
	outline: none;
	fill: #03a9f4;
}
.button--load {width: 7em;color: #fff;z-index: 999999;}
.button--load svg {width: 2.5em;}
.button__text {
	font-size: 0.65em;
	font-weight: bold;
	display: block;
	margin: -8px 0 0 0;
	text-indent: 3px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: inherit;
	-webkit-transition: color 0.3s;
	transition: color 0.3s;
}

.polaroid__base,
.polaroid__loader {
	-webkit-transition: fill 0.3s;
	transition: fill 0.3s;
	fill: #007abc;
}
.polaroid__inner {fill: #e9ecef;}

.button--load:hover,
.button--load:focus {color: #03a9f4;outline: none;}
.button:hover .polaroid__base,
.button:focus .polaroid__base,
.button:hover .polaroid__loader,
.button:focus .polaroid__loader {fill: #03a9f4;}

.button--loading .polaroid__loader circle {
	-webkit-animation: fadeInOut 0.3s ease-in infinite alternate forwards;
	animation: fadeInOut 0.3s ease-in infinite alternate forwards;
}
.button--loading .polaroid__loader circle:nth-child(2) {
	-webkit-animation-delay: 0.1s;
	animation-delay: 0.1s;
}
.button--loading .polaroid__loader circle:nth-child(3) {
	-webkit-animation-delay: 0.2s;
	animation-delay: 0.2s;
}

@-webkit-keyframes fadeInOut {
	from {opacity: 0;}
	to {opacity: 1;}
}
@keyframes fadeInOut {
	from {opacity: 0;}
	to {opacity: 1;}
}

.button--hidden {
	pointer-events: none;
	opacity: 0;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.grid {
	position: relative;
	z-index: 100;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: center;
	justify-content: center;
	max-width: 100%;
	margin: 0 auto;
	padding: 0 0 6em;
	list-style: none;
	top:-25px;
}
.grid__item {
	display: block;
	-webkit-flex: none;
	flex: none;
	width: 33.33%;
	padding: 10px;
}

.js .grid__item {opacity: 0;}
.grid__item--hidden {opacity: 0;}
.grid__link {
  background: #fff;
  border-radius: 3px;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  display: block;
  padding: 13px 13px 0;
}

.rot-1 {transform: translate(2%) rotate(3deg);}
.rot-2 {transform: translate(-1%) rotate(3deg);}
.rot-3 {transform: translate(1%) rotate(-1deg);}

.grid__img {display: block;width: 100%;}

/*---el titular H3 determina el tamaño de la polaroid----*/
.grid__item-title {
  color: #007abc;
  font-family: "Kristi",cursive;
  font-size: 2.3em;
  line-height: 1;
  margin: 0;
  min-width: 250px;
  overflow: hidden;
  padding: 0.1em 0 0.4em 0.2em;
  position: relative;
  text-align: left;
  text-overflow: ellipsis;
  transform: rotate(-1.8deg);
  white-space: nowrap;
  width: inherit;
}

/* Loader (styles defined in square-loader.min.css) */
.la-square-loader {
	position: absolute;
	top: 60%;
	left: 50%;
	color: #565f73;
	opacity: 0;
	-webkit-transform: translate3d(-50%,-50%,0) scale3d(1.35,1.35,1);
	transform: translate3d(-50%,-50%,0) scale3d(1.35,1.35,1);
}

.la-square-loader > div {border-radius: 2px;}

.js .la-square-loader {
	opacity: 1;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.view--loaded .la-square-loader {opacity: 0;}

/* Visibility/pointer events of items depending on state (loaded) */
.js .grid,
.js .device,
.js .button--view {opacity: 0;}

.view--loaded .grid,
.view--loaded .device,
.view--loaded .button--view {opacity: 1;}

.view--loaded .button--view {-webkit-transition: opacity 0.3s;transition: opacity 0.3s;}

.js .page--static {pointer-events: none;}

.view--grid .page--static {pointer-events: auto;}

.extra-content {
  background-color: #fff;
  font-size: 2em;
  margin: 30px auto;
  outline: 1px solid;
  outline-offset: 4px;
  padding: 30px;
  text-align: center;
  width: 70vw;
}
.extra-content > h1 {
  color: #c90f50;
  font-family: Kristi;
  font-size: 15vw;
  font-weight: lighter;
  margin: 0;
  text-shadow: 7px 5px 20px #ebcddc;
}
.extra-content > h2 {
  color: #007abc;
  font-family: Georgia,serif;
  font-size: 2.9vw;
  font-weight: lighter;
  text-transform: uppercase;
}
.extra-content > p {
  color: #000;
  font-family: trebuchet ms;
  font-size: 2.2vw;
  text-transform: uppercase;
}
.extra-content span {
  display: block;
  font-size: 1.7vw;
  letter-spacing: 1.5vw;
}
/* Media query for smaller screens */
@media screen and (max-width: 41em) {
	.header {padding: 1em;}
	.title-wrap {font-size: 2.2vw;margin: 10% 0 0;}
	.page__title-main {font-size: 1.3em;text-transform: uppercase;}
	.page__title-sub {margin:-0.3em 0 1em;}
	.grid__item {width: 50%;max-width: none;}
	.grid__item-title {font-size: 1.3em;min-width:110px;}
}