@charset "utf-8";
/* CSS Document */

body {
	width: 1500px;
	height: 700px;
	background-color: hsla(0,0%,0%,0.75);
}

.nav-item {
	width:50%;
}



.container{
	height: 400px;
	widows: 350px;
	/*position: absolute;*/
	margin: auto;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	transform: scale(0.3);
}

.envelope {
	background-color: #d74443;
	height: 150px;
	width: 270px;
	/*position: relative;
	left: 40px;
	top: 160px;*/
	float: left;
}

.paper{
	background-color: white;
	height: 150px;
	width: 250px;
	position: relative;
	left: 10px;
}

.inner1{
	width: 0;
	height: 0;
	border-bottom: 150px solid #e15349;
	border-right: 270px solid transparent;
	position: relative;
	bottom: 150px;
}

.inner2{
	width: 0;
	height: 0;
	border-bottom: 150px solid #e95e55;
	border-left: 270px solid transparent;
	
}

.cover{
	width: 0;
	height: 0;
	border-top: 75px solid #e74443;
	border-right: 135px solid transparent;
	border-left: 135px solid transparent;
	position: relative;
	bottom: 300px;
	transform-origin: top;
}



.mailer {
	float: left;
	margin-right: 50px;
}


.envelope:hover .cover{
	transform: rotateX(180deg);
	z-index: -1;
}

.envelope:hover .paper{
	transform: translateY(-50px);
}

.mailer:hover~ .envelope .cover {
	transform: rotateX(180deg);
	z-index: -1;
}

.mailer:hover~ .envelope .paper {
	transform: translateY(-50px);
}



