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

----------------------------------------------- */

#holiday-banner h1 a, #holiday-banner h1 a:link, 
#holiday-banner h1 a:active, #holiday-banner h1 a:visited {
  color: red;
	font-style: oblique;
	font-weight: 100;
	border-bottom: 2px groove green;
  transition: color 2s ease-out, border-bottom 1s ease-out, font-size 2s ease-out;
}

#holiday-banner h1 a:hover {
	color: green;
	border-bottom: 1px groove red;
  font-size: 200%;
}

.tree {
  position: relative;
  margin: 120px auto;
  width: 100%;
}

.tree_item {
  margin: 0 auto;
  width: 0;
  height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 150px solid #5f9c2d;
}
  
.tree_item:nth-child(2) {
    margin-top: -60px;
    border-left-width: 140px;
    border-right-width: 140px;
    border-bottom-width: 190px;
  }
  
.tree_item:nth-child(3) {
    margin-top: -80px;
    border-left-width: 200px;
    border-right-width: 200px;
    border-bottom-width: 250px;
  }

.tree_stump {
  margin: 0 auto;
  width: 50px;
  height: 60px;
  background: #8c370f;
  background: linear-gradient(#8c370f, #5c240a);
}

#topOfTree {
  transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
  position: relative;
  left: 0;
  animation-name: straightenTop;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in;
  animation-delay: 4s; 
}

@keyframes straightenTop {
  0% { 
    transform: rotate(0deg);
    left: 10px;
  }
  12.5% {
    transform: rotate(15deg);
    left: 25px; 
  }
  25% {
    transform: rotate(30deg); 
    left: 50px;
  }
  37.5% {
    transform: rotate(30deg);
    left: 50px;
  }
  50% {
    transform: rotate(30deg);
    left: 50px;
  }
  62.5% {
    transform: rotate(30deg);
    left: 50px;
  }
  75% {
    transform: rotate(30deg);
    left: 50px;
  }
  87.5% {
    transform: rotate(15deg);
    left: 25px;
  }
  100% {
    transform: rotate(0deg);
    left: 10px;
  }
} 

#secondLevelOfTree {
  transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
  position: relative;
  left: 0;
  animation-name: straightenSecondLevel;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in;
  animation-delay: 4s; 
}

@keyframes straightenSecondLevel {
  0% { 
    transform: rotate(0deg);
    left: 0;
  }
  12.5% {
    transform: rotate(7.5deg);
    left: 10px; 
  }
  25% {
    transform: rotate(15deg); 
    left: 20px;
  }
  37.5% {
    transform: rotate(15deg);
    left: 20px;
  }
  50% {
    transform: rotate(15deg);
    left: 20px;
  }
  62.5% {
    transform: rotate(15deg);
    left: 20px;
  }
  75% {
    transform: rotate(15deg);
    left: 20px;
  }
  87.5% {
    transform: rotate(7.5deg);
    left: 10px;
  }
  100% {
    transform: rotate(0deg);
    left: 5px;
  }
} 

div#container-content::after {
  position: absolute;
  bottom: 82%;
  left: 43%;
  z-index: 2;
  animation-name: droop;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-delay: 4s;
  animation-timing-function: ease-in; 
}

@media (min-width: 800px) {
	div#container-content::after {
		left: 46%;
	}
}

@media (min-width: 1600px) {
	div#container-content::after {
		left: 48%;
	}
}

@keyframes droop {
  0% {bottom: 80%;}
  12.5% {bottom: 78%;}
  25% {bottom: 76%;}
  37.5% {bottom: 76%;}
  50% {bottom: 76%;}
  62.5% {bottom: 76%;}
  75% {bottom: 76%;}
  87.5% {bottom: 78%;}
  100% {bottom: 80%;}
}

div#container-content::before {
  margin-bottom: 10vh;
}

.ornament {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: relative;
}

#ornament-1 { 
  background: red;
  top: 200px;
  right: 120px; 
}

#ornament-2 { 
  background: blue;
  top: 130px;
  right: 20px; 
}

#ornament-3 { 
  background: purple;
  top: 160px;
  left: 50px; 
}

#ornament-4 { 
  background: orange; 
  top: 80px;
  left: 80px;
}
#ornament-5 { 
  background: brown;
  top: 30px;
  right: 65px; 
}

#ornament-6 { 
  background: blue;
  top: -30px;
  left: 20px; 
}

#ornament-7 { 
  background: purple;
  top: 130px;
  left: 50px; 
}

#ornament-8 { 
  background: brown; 
  top: 45px;
  left: 10px;
}
#ornament-9 { 
  background: red;
  top: 100px;
  right: 60px; 
}

#ornament-10 { 
  background: blue;
  top: 30px;
  right: 20px; 
}

#ornament-11 { 
  background: purple;
  top: 60px;
  left: 35px; 
}

#ornament-12 { 
  background: orange; 
  top: 40px;
  right: 25px;
}