

.tilt {
	overflow: hidden;
	position: relative;
	width: 100%;
	height: 100%;
	margin: 0 auto;
}

.tilt__back,
.tilt__front {
	width: 100%;
	height: 100%;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.tilt__back {
	position: relative;
}

.tilt__front {
	position: absolute;
	top: 0;
	left: 0;
}


.tiltBox {
	height:100%;
	width:100%;
	position:absolute;
	height:100vh;
}





*, *:after, *:before { -webkit-box-sizing: border-box; box-sizing: border-box; }
.clearfix:before, .clearfix:after {display: table;  content: ''; }
.clearfix:after { clear: both; }


.tiltImg {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	overflow: hidden;
}

.tiltImg__imgwrap {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.tiltImg__imgwrap::after {
	content: '';
	position: absolute;
	background: rgba(76,0,1,0.1);
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.tiltImg__img {
	position: absolute;
	top: 50%;
	left: 50%;
	width: auto;
	height: 100vh;
	-webkit-transform: translate3d(-50%,-50%,0);
	transform: translate3d(-50%,-50%,0);
}

.tiltImg__imgwrap .tilt__back,
.tiltImg__imgwrap .tilt__front {
	background-size: auto 100vh;
}


@media screen and (min-aspect-ratio: 1566/1176) {
	.tiltImg__imgwrap .tilt__back, .tiltImg__imgwrap .tilt__front {
		background-size: 100vw auto;
	}
	.tiltImg__img {
		width: 100vw;
		height: auto;
	}
}