.shop-pillow-img {
	height:510px;
	text-align: center;
	z-index: 4;
	position: absolute;
	top:0;
	left:30px;
}

.shop-pillow-img img {
	padding-top: 53px;
    
}

.cloud-img {
	text-align: center;
    /*margin-top: -60px;*/
    z-index:1;
    width:100%;
    position: absolute;
    top:0;
    right:0;
    transform:translateY(-25%);
}

.cloud2-img {
	text-align: center;
    /*margin-top: -60px;*/
    z-index:1;
    width:100%;
    position: absolute;
    bottom:-216px;
    right:0;
    transform:translateY(-25%);
}

.arrow {
	text-align: center;
    z-index:2;
    width:100%;
    position: absolute;
    bottom:-27px;
    right:0;
    transform:translateY(-25%);
}

.glass-avatar {
	text-align: center;
    z-index:2;
    width: 25%;
    position: absolute;
    bottom: 0;
    left: 37%;
    transform: translateX(-50%) translateY(50%);
}

.glass-avatar img {
	max-width: 100%;
	max-height: 100%;
}

.cloud-img-style {
	width:100%;
}

.arrow-img-style {
	width:90px;
}

.pillow-avatar {
	margin-top: 120px;
    padding: 10px;
    text-align: left;
}

.pillow-avatar-text {
	margin-top: 120px;
	margin-bottom:20px;
    padding: 20px;
    text-align: center;
}

.pillow-avatar img {
	width:420px;
}

.pillow-border-pink {
	margin-right:auto;
	margin-left:auto;
	background-color: #E64360;
	height:5px;
	width:414px;
}

.pillow-avatar-description {
	position: relative;
	width: 60%;
	padding: 3%;
	border-top: 5px solid #E64360;
	border-bottom: 5px solid #E64360;
	left: 50%;
	transform: translateX(-50%);
	font-size: 20px;
    //padding: 20px 146px;
}

.temper-foam-wrap {
	text-align: center;
	padding-top: 150px;
}

.temper-foam-wrap img {
	width:280px;
}

.foam-pillow-wrap {
	text-align: center;
	padding-top: 20px;
}

.form-pillow-text {
	padding: 0 20rem;
	font-size: 18px;
	text-align: center;
	margin-bottom: 50px;
}

.night-bg {
	background-image: url(../img/pillow/night-bg-new.png);
 	background-size: cover;
 	background-position: bottom;
	margin-top: -5px;
}

.pillow-intro-container{
	position: relative; 
	margin-bottom: -250px;
}

.pillow2 {
	text-align: center;
	padding-top:148px;
}

.pillow2-text {
	text-align: center;
	padding-top: 10px;
	padding-bottom:40px;
}

.pillow2-text img {
	width:300px;
}

.foam-bg {
	position: relative;
	background-image: url(../img/product/foam-bg.png);
 	background-size: cover;
 	background-position: top;
 	height: 1000px;
}





.foam-title
{
	position: absolute;
	width: 35%;
	left: 50%;
	top: 40%;
	transform: translateX(10%);
}

.foam-title img
{
	max-width: 100%;
	max-height: 100%;
}

.cloud-parallax
{
	position: relative;
	width: 100%;
	left: 50%;
	transform: translateX(-50%);
}
.cloud-parallax2
{
	transform: translateX(-50%) translateY(-35%)
}
.cloud-parallax3
{
	position: absolute;
	bottom: -10vh;
	z-index: 2;
}

.cloud-parallax .cloud-spacer
{
	position: relative;
	max-width: 100%;
	max-height: 100%;
	opacity: 0;
	pointer-events: none;
}

.cloud-parallax .cloud-layer
{
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	transform: translateY(5%);
	overflow: hidden;
}

.cloud-parallax .cloud-layer img
{
	position: relative;
	max-width: 110%;
	max-height: 100%;
	left: 50%;
	transform: translateX(-50%);
}

.pillow-shop-box-container{
	padding-top: 150px;
}

.mountain
{
    position: absolute;
    width: 100%;
    bottom: 0;
	left: 0;
}

.mountain .bg
{
	position: relative;
	max-width: 100%;
	max-height: 100%;
}

.mountain .ornament
{
	position: absolute;
	width: 5.25%;
	bottom: 80%;
	left: 20.5%;
	transform: translate(-50%, 50%);
}

.mountain .ornament.rocket
{
	position: absolute;
	width: 6.25%;
	bottom: 75%;
	left: 51.5%;
}

.mountain .ornament.shuttle
{
	position: absolute;
	width: 9.5%;
	bottom: 45.5%;
	left: 71.75%;
}

.debug-line
{
	position: absolute;
	background-color: red;
	width: 100%;
	height: 2px;
	top: 0;
	left: 0;
	z-index: 99999;
}
.debug-line.l2
{
	background-color: yellow;
}
.debug-line.l3
{
	background-color: green;
}
.debug-line.l4
{
	background-color: purple;
}
.debug-line.l5
{
	background-color: aqua;
}

.foam-text
{
	position: absolute;
	display: inline-block;
	background-color: rgba(255, 255, 255, .63);
	width: 65%;
	padding: 3rem;
	border-radius: 10px;
	bottom: 3rem;
	left: 50%;
	transform: translateX(-50%);
	font-family: gothamBook;
	font-size: 1.5rem;
	color: #08253d;
	text-align: center;
}

.fabric-bg
{
	position: relative;
	//background-image: url(../img/pillow/fabric_bg.png);
 	background-size: auto 100%;
 	background-position: top right;
	background-repeat: no-repeat;
	height: 100vh;
	padding: 2rem;
}

.fabric-content
{
	position: absolute;
	display: block;
	width: 90vh;
	max-width: 85vw;
	top: 50%;
	right: 22.5%;
	transform: translateY(-58%);
}

.toouch-fabric
{
	position: relative;
	display: block;
	width: 100%;
}

.toouch-fabric-textonly
{
	display: none;
}

.fabric-text
{
	display: block;
	width: 50%;
	margin-top: -12.5%;
	font-family: gothamBook;
	font-size: 1.7rem;
	color: #08253d;
}

.pillow-anim
{
	position: relative;
	padding-bottom: 42.5%;
}

.pillow-anim-desc
{
	padding: 0 20rem;
	margin-top: 13rem;
	font-size: 18px;
	color: white;
	text-align: center;
}

.fabric-bg .bg
{
	position: absolute;
	height: 100%;
	top: 0;
	right: 0;
}

.floaty-cartoon
{
	animation: floatyCartoon 2s ease-in-out infinite;
}

@keyframes floatyCartoon
{
	0%
	{
		margin-top: 10rem;
		margin-bottom: 0;
	}
	50%
	{
		margin-top: 0;
		margin-bottom: 10rem;
	}
	100%
	{
		margin-top: 10rem;
		margin-bottom: 0;
	}
}

.form-group-padding2
{
	padding-left: 20px;
	padding-right: 60px;
}

/* Tablet Style */
@media (max-width: 992px)
{
	.pillow-avatar {
		position: relative;
		margin-top: 0;
		margin-bottom: 0;
		text-align: center;
	}

	.pillow-avatar img {
		width: 65%;
		max-width: 30rem;
	}
	
	.pillow-avatar-text {
		margin-top: 0;
		margin-bottom: 0;
	}
	
	.pillow-avatar-text img {
		width: 65%;
		max-width: 30rem;
	}
	
	.pillow-anim-desc
	{
		padding: 0 15rem;
	}

	.cloud-parallax .cloud-layer
	{
		transform: translateY(-30vh);
		height: 35vh;
	}
}

/* Mobile Style */
@media (max-width: 768px)
{
	.cloud-parallax2
	{
		transform: translateX(-50%) translateY(30vh)
	}

	.cloud-parallax {
		transform: translateX(-50%) translateY(35vh);
	}

	.cloud-parallax3 {
		transform: translateX(-50%) translateY(15vh);
	}

	.mountain .ornament{
		transform: translate(-50%, -20vh);
	}

	.pillowAnim .top-text img{
		padding: 0 !important;
	}

	.form-pillow-text{
		padding: 0;
	}

	.pillow-intro-container{
		margin-bottom: 0;
		padding-top: 12vh !important;
	}
	
	.foam-title
	{
		width: 65%;
		left: 50%;
		top: 28%;
		transform: translateX(-35%);
	}

	.shop-pillow-img {
		left: 0;
	}
	.shop-pillow-img img {
		padding-top: 0;
	}
	
	.foam-text
	{
		width: 95%;
	}
	
	.fabric-content
	{
		position: relative;
		width: 100%;
		max-width: none;
		top: auto;
		right: auto;
		transform: none;
		text-align: center;
	}

	.toouch-fabric
	{
		display: none;
	}

	.toouch-fabric-textonly
	{
		position: relative;
		display: inline-block;
		width: 65%;
	}

	.fabric-text
	{
		width: 100%;
		margin-top: 5%;
	}
	
	.pillow-avatar-description {
		width: 90%;
	}

	.pillow-anim-desc
	{
		background-color: rgba(140, 140, 140, .6);
		padding: 1rem 4rem;
		border-radius: 10px;
		margin-top: 5rem;
		font-size: 16px;
		line-height: 130%;
		text-shadow: 0 0 5px rgba(0, 0, 0, .5);
	}
	
	.glass-avatar {
		width: 40%;
	}
	
	.pillow2 {
		padding-top: 70px;
	}

	.cloud-parallax .cloud-layer img
	{
		width: 250%;
		max-width: none;
	}

	.fabric-bg
	{
		padding-top: 33rem;
		height: auto;
	}

	.fabric-bg .bg
	{
		height: 30rem;
	}

	.form-group-padding2
	{
		padding-left: 15px;
		padding-right: 15px;
	}
}

/* Mobile Style */
@media (max-width: 576px)
{
	.foam-title
	{
		top: 22%;
	}
}