body {
	overflow-x: hidden;
	background-image: url(../img/bg.png);
	background-position: top right;
	background-size: contain;
	background-repeat: no-repeat;
	background-attachment: fixed;
}
a {
	cursor: pointer;
}
.head {
	padding: 100px 0 0 3vmax;
	position: absolute;
	width: 100%;
	max-width: 700px;
	z-index: 100;
	pointer-events: none;
	position: fixed;
}
.head img {
	float: left;
	margin-right: 20px;
}
.head p span {
	font-size: 1.25em;
	font-weight: bold;
	color: #fff;
	text-shadow: 1px 1px 10px #000;
}
@media screen and (max-width:500px) {
	.head p span {
		display: none;
	}
}
#intro{
    max-width: 1100px;
    background-color: rgba(0, 0, 0, 0.83);
    width: 90%;
    left:50%;
    left: 50%;
    z-index: 100;
    transform: translateX(-50%);
    padding: 90px 5% 100px 5%;
    position: absolute;
}
#intro h1 {
    text-align: center;
    margin-bottom: 25px;
	font-family: 'open sans', serif;	
	font-size: 2.7em;
    color: #fff;
    text-shadow: 1px 1px #5f5f5f;
}
#intro h2 {
	font-size: 1.2em;
	font-weight: 200;
	color: #ddd;
}
#intro img{
    width: 100%;
}
@media screen and (min-width:500px) {
	.titulom {
		display: none;
	}
}
@media screen and (max-width:501px) {
	.titulop {
		display: none;
	}
}
#intro p {
	margin-bottom: 20px;
    color: #fff;
    font-size: 16px;
	line-height: 20px;
	font-weight: 400;
}
.pseudo-scroller {
	pointer-events: none;
}
@media screen and (max-width:500px) {
	.pseudo-scroller {
       height: 7800px !important;    
	}
}

.isolayer {
	position: absolute;
	top: 0;
	left: 0;
	-webkit-transform-origin: 50% 100%;
	transform-origin: 50% 100%;
}
@media screen and (max-width:500px) {
	.isolayer {
       -webkit-transform-origin: -1300% 0%;
	   transform-origin: -1300% 0%;    
	}
}

.js .grid,
.js .grid__item,
.js .grid__link {
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.grid {
	position: relative;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.grid__item {
	width: 300px;
}

.js .grid__item {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid__link {
	position: relative;
	z-index: 1;
	display: block;
}

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

.grid__title {
	font-size: 0.65em;
	font-weight: 600;
	position: absolute;
	z-index: -1;
	bottom: 0;
	width: 100%;
	text-align: center;
	letter-spacing: 2px;
	text-transform: uppercase;
	opacity: 0;
	color: #fff;
	-webkit-transform: translate3d(0,-20px,0);
	transform: translate3d(0,-20px,0);
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
	transition: transform 0.3s, opacity 0.3s;
}

.grid__item:hover .grid__title {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

.layer {
	position: relative;
	display: block;
}

.layer:not(:first-child) {
	position: absolute;
	top: 0;
	left: 0;
}



/* All individual isometric grid layouts (static and scrollable) */
.isolayer--scroll1 {
	width: 70vw;
	max-width: 1200px;
	height: calc(100vh - 280px);
}

.isolayer--scroll1 .grid__item {
	width: 300px;
	padding: 15px;
}

.isolayer--deco1 {
	width: 1200px;
	height: 900px;
}

.isolayer--deco1 .grid__link .layer:first-child:not(img) {
	background: #ac5cf5;
}

.isolayer--deco1 .grid__link .layer:nth-child(2):not(img) {
	background: #5db4eb;
}

.isolayer--deco1 .grid__link .layer:nth-child(3):not(img) {
	background: #5debb4;
}

.isolayer--deco1 .grid__link div.layer {
	width: 370px;
	height: 270px;
	opacity: 0.4;
}

.isolayer--deco1 .grid__item {
	width: 400px;
	height: 300px;
	padding: 15px;
}

.isolayer--deco1 .grid__item:nth-child(2) {
	margin-top: 150px;
}

.isolayer--deco2 {
	width: 1200px;
	height: 100vh;
}

.isolayer--deco2 .grid__item {
	padding: 20px;
}

.isolayer--deco2 .grid__link .layer {
	border: 20px solid #fff;
	border-width: 40px 20px;
	box-shadow: -1px 1px 5px rgba(0,0,0,0.08);
}

.isolayer--deco3 {
	width: 960px;
	height: 500px;
}

.isolayer--deco3 .grid__item {
	width: 240px;
	height: 320px;
	padding: 0;
}

.isolayer--deco3 .grid__item:nth-child(2),
.isolayer--deco3 .grid__item:nth-child(4) {
	margin-top: -160px;
}

.isolayer--deco3 .grid__link,
.isolayer--deco3 .layer {
	width: 100%;
	height: 100%;
}

.isolayer--deco3 .layer {
	text-align: center;
	background: #fff;
	-webkit-transform-origin: 0% 50%;
	transform-origin: 0% 50%;
}

.isolayer--deco3 .grid__link:hover .layer:not(:first-child) {
	box-shadow: 2px 0 2px rgba(0,0,0,0.1);
}

.isolayer--deco3 .grid__item:nth-child(2n) .layer {
	background: #f7d2dc;
}

.isolayer--deco3 .grid__item:nth-child(3n) .layer {
	background: #fff0f3;
}

.isolayer--deco3 .grid__item:nth-child(4n) .layer {
	background: #e9c5cc;
}

.isolayer--deco3 .grid__item:nth-child(5n) .layer {
	background: #d6cbcd;
}

.isolayer--deco3 .grid__item:nth-child(7n) .layer {
	background: #ffc9d8;
}

.isolayer--deco3 .layer {
	width: 100%;
	height: 100%;
}

.isolayer--deco3 .decoletter {
	font-size: 6em;
	font-weight: 900;
	line-height: 1;
	display: block;
	padding: 70px 0 0 0;
	color: #000;
	color: #000;
}

.isolayer--deco3 .deconumber {
	font-size: 3em;
	display: block;
	color: #000;
}

.isolayer--deco4 {
	width: 1000px;
	height: 900px;
}

.isolayer--deco4 .grid__item {
	padding: 15px;
}

.isolayer--deco4 .grid__link .layer:first-child:not(img) {
	background: #ac5cf5;
}

.isolayer--deco4 .grid__link .layer:nth-child(2):not(img) {
	background: #5db4eb;
}

.isolayer--deco4 .grid__link .layer:nth-child(3):not(img) {
	background: #5debb4;
}

.isolayer--deco4 .grid__link .layer {
	-webkit-transform-origin: 50% 100%;
	transform-origin: 50% 100%;
}

.isolayer--deco4 .grid__link div.layer {
	width: 270px;
	height: 203px;
	opacity: 0.4;
}

.isolayer--deco4 .grid__item {
	width: 300px;
	height: 225px;
	padding: 15px;
}

/* Flip effect for the scrollable grid */

.js .grid--effect-flip .grid__item {
	opacity: 0;
}

.js .grid--effect-flip .grid__item.shown {
	opacity: 1;
}

.grid--effect-flip .grid__item.animate {
	-webkit-transform: translateY(800px);
	transform: translateY(800px);
	-webkit-animation: moveUp 1s cubic-bezier(0.2,1,0.3,1) forwards;
	animation: moveUp 1s cubic-bezier(0.2,1,0.3,1) forwards;
}

@-webkit-keyframes moveUp {
	100% {
		opacity: 1; 
		-webkit-transform: translateY(0px);
		transform: translateY(0px);
	}
}

@keyframes moveUp {
	100% {
		opacity: 1; 
		-webkit-transform: translateY(0px);
		transform: translateY(0px);
	}
}

/* Loading effect */
.js .grid {
	opacity: 0;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.js .grid.grid--loaded {
	opacity: 1;
}

.js body::after {
	content: '';
	position: fixed;
	z-index: 1000;
	top: 50%;
	left: 50%;
	width: 70px;
	height: 70px;
	margin: -35px 0 0 -35px;
	pointer-events: none;
	border: 3px solid #fff;
	border-right-color: #323f5c;
	border-radius: 50%;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
	-webkit-animation: rotateCircle 0.7s linear infinite forwards;
	animation: rotateCircle 0.7s linear infinite forwards;
}

@-webkit-keyframes rotateCircle {
	to {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@keyframes rotateCircle {
	to {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}


.js body.grid-loaded::after {
	opacity: 0;
}
/* ARROW */
.arrow {
    width: 50px;
    height: 50px;
    display: block;
    margin-top: 20px;
    margin: auto;
    border: 2px dashed #ffffff;
    background-color: #000;
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: .5;
    transition: all .2s ease;
}
.arrow.down {
    background-image: url(../svg/arrow_down.svg);
}
.arrow:hover {
    opacity: 1;
}
.button a {
	height: 50px;
	display: block;
	margin: 0 auto 30px auto;
	font-weight: 600;
	color: #313131;
	line-height: 50px;
	text-align: center;
	letter-spacing: 2px;
	border: 3px dashed #ffffff;
	transition: all 0.3s ease;
}


