/*
-----------------------------------------------
imarketsolutions.com 
Stylesheet: Halloween.css
Organization:	iMarket Solutions

----------------------------------------------- */
.pumpkin {
    position: relative;
    display: block;
    width: 560px;
    height: 450px;
    margin: 50px auto auto;
    opacity: 1;
}

.layer {
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    height: 420px;
    background-color: #fa7614;
    border-right: 10px solid #f26419;
    border-left: 10px solid #fa850d;
}

.layer:nth-child(1) {
    width: 580px;
    border-radius: 560px;
}

.layer:nth-child(2) {
    width: 520px;
    border-radius: 600px/620px;
}

.layer:nth-child(3) {
    width: 440px;
    border-radius: 560px/620px;
}

.layer:nth-child(4) {
    width: 320px;
    border-radius: 750px/920px;
}

.layer:nth-child(5) {
    width: 200px;
    border-radius: 1020px/1830px;
}

.layer:nth-child(6) {
    width: 70px;
    border-radius: 750px/2930px;
}

.eye {
	display:block; 
	width: 126px; 
	height: 180px; 
	background-color: #FFA500; 
	-webkit-border-radius: 63px 63px 63px 63px / 108px 108px 72px 72px; 
	border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
	position: absolute;
}
.eye.left {
	-ms-transform: rotate(45deg); /* IE 9 */
    -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
    transform: rotate(45deg);
    left: 30%;
}
.eye.left:after {
	display:block; 
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#8c0e05+0,ffbb00+100 */
	background: #8c0e05; /* Old browsers */
	background: -moz-linear-gradient(-45deg,  #380202 0%, #BA8E00 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(-45deg,  #380202 0%,#BA8E00 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(135deg,  #380202 0%,#BA8E00 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#380202', endColorstr='#BA8E00',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

	-webkit-border-radius: 63px 63px 63px 63px / 108px 108px 72px 72px; 
	border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  	bottom: 0;
    content: "";
    display: block;
    height: 158px;
    left: 0;
    position: absolute;
    width: 126px;
}
.eye.right {
	-ms-transform: rotate(-45deg); /* IE 9 */
    -webkit-transform: rotate(-45deg); /* Chrome, Safari, Opera */
    transform: rotate(-45deg);
    right: 13%;
}
.eye.right:after {
	display:block; 
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#8c0e05+0,ffbb00+100 */
	background: #8c0e05; /* Old browsers */
	background: -moz-linear-gradient(45deg,  #380202 0%, #BA8E00 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(45deg,  #380202 0%,#BA8E00 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(-115deg,  #380202 0%,#BA8E00 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#380202', endColorstr='#BA8E00',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */ 
	-webkit-border-radius: 63px 63px 63px 63px / 108px 108px 72px 72px; 
	border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  	top: 0;
    content: "";
    display: block;
    height: 180px;
    left: 0;
    position: absolute;
    width: 105px;
}

.mouth {
  background: #FFA500 none repeat scroll 0 0;
  border-radius: 100px / 50px;
  bottom: 80px;
  height: 100px;
  left: 40%;
  position: absolute;
  width: 200px;
  overflow: hidden;
}
.mouth:after {
	content: "";
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ba8e00+0,380202+100 */
	background: #ba8e00; /* Old browsers */
	background: -moz-linear-gradient(top,  #ba8e00 0%, #380202 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #ba8e00 0%,#380202 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #ba8e00 0%,#380202 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ba8e00', endColorstr='#380202',GradientType=0 ); /* IE6-9 */


	border-radius: 100px / 50px;
  	bottom: 80px;
    content: "";
    height: 102px;
    left: 0;
    position: absolute;
    top: 0;
    width: 185px;
}

body{
  background:black;
}

.flame-container {
  margin:80px auto;
  width: 60px;
  height: 60px;
  position:relative;
  transform-origin:center bottom;
  animation-name: flame;
  animation-duration:3ms;
  animation-delay:200ms;
  animation-timing-function: ease-in;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  z-index: 2;
  opacity: 0.4;
  bottom:0px;
}

.flame{
  bottom:0;
  position:absolute;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
  border-top-left-radius: 50%;
  transform:rotate(-45deg) scale(1.5,1.5);
}

.yellow{
  left:15px; 
  width: 30px;
  height: 30px;
  background:gold;
  box-shadow: 0px 0px 9px 4px gold;
}

.orange{
  left:10px; 
  width: 40px;
  height: 40px;
  background:orange;
  box-shadow: 0px 0px 9px 4px orange;
}

.red{
  left:5px;
  width: 50px;
  height: 50px;
  background:OrangeRed;
  box-shadow: 0px 0px 5px 4px OrangeRed;
}

.white{
  left:15px; 
  bottom:-4px;
  width: 30px;
  height: 30px;
  background:white;
  box-shadow: 0px 0px 9px 4px white;
}

.circle{
  border-radius: 50%;
  position:absolute;  
}

.blue{
  width: 10px;
  height: 10px;
  left:25px;
  bottom:-25px; 
  background: SlateBlue;
  box-shadow: 0px 0px 15px 10px SlateBlue;
}

.black{
  width: 40px;
  height: 40px;
  left:10px;
  bottom:-60px;  
  background: black;
  box-shadow: 0px 0px 15px 10px black;
}

@keyframes flame{
  0%   {transform: rotate(-1deg);}
  20%  {transform: rotate(1deg);}
  40%  {transform: rotate(-1deg);}
  60%  {transform: rotate(1deg) scaleY(1.04);}
  80%  {transform: rotate(-2deg) scaleY(0.92);}
  100% {transform: rotate(1deg);}
}