.candlestick {
  background: #111;
  background: url(images/candlestick.jpg) center no-repeat;
  display: flex;
  margin: 0 auto;
  position: absolute;
  max-width: 1390px;
    width: 100%;
  height: 920px;
  overflow: hidden;
}

.stickpanel {
  height: 900px; display:flex;justify-content: center;
}

.wall {
  background: #111;
  background: url(images/wall.jpg) center no-repeat;
  display: flex;
  margin: 0 auto;
  position: absolute;
  max-width: 1390px;
    width: 100%;
  height: 920px;
  overflow: hidden;
}

.candlewrapper{
  top: 529px;
  zoom: 0.5;
  left: 525px;
  height: 600px;
  position: relative;
}

.candlewrapper.candle1{top: 529px;left: 525px;}
.wall .candlewrapper.candle1{top: 529px;left: 407px;}
.candlewrapper.candle2{top: 609px;left: 825px;}
.candlewrapper.candle3{top: 659px;left: 925px;}
.candlewrapper.candle4{top: 609px;left: 1025px;}
.candlewrapper.candle5{top: 519px;left: 1125px;}
.candlewrapper.candle6{top: 479px;left: 1225px;}
.candlewrapper.candle7{top: 719px;left: 825px;}
.candlewrapper.candle8{top: 489px;left: 925px;}
.candlewrapper.candle9{top: 629px;left: 625px;}
.candlewrapper.candle10{top: 529px;left: 785px;}
.candlewrapper.candle11{top: 629px;left: 825px;}
.candlewrapper.candle12{top: 729px;left: 925px;}
.candlewrapper.candle13{top: 429px;left: 1025px;}
.candlewrapper.candle14{top: 659px;left: 1115px;}
.candlewrapper.candle15{top: 689px;left: 1225px;}
.candlewrapper.candle16{top: 569px;left: 1325px;}
.candlewrapper.candle17{top: 459px;left: 1425px;}
.candlewrapper.candle18{top: 519px;left: 1525px;}
.candlewrapper.candle19{top: 359px;left: 905px;}
.candlewrapper.candle20{top: 429px;left: 725px;}
.candlewrapper.candle21{top: 529px;left: 1025px;}
.candlewrapper.candle22{top: 629px;left: 925px;}
.candlewrapper.candle23{top: 529px;left: 1025px;}
.candlewrapper.candle24{top: 429px;left: 925px;}
.candlewrapper.candle25{top: 479px;left: 925px;}
.candlewrapper.candle26{top: 589px;left: 1225px;}
.candlewrapper.candle27{top: 559px;left: 1025px;}
.candlewrapper.candle28{top: 469px;left: 725px;}
.candlewrapper.candle29{top: 479px;left: 625px;}
.candlewrapper.candle30{top: 529px;left: 525px;}
.candlewrapper.candle31{top: 619px;left: 425px;}
.candlewrapper.candle32{top: 689px;left: 1125px;}
.candlewrapper.candle33{top: 699px;left: 1025px;}
.candlewrapper.candle34{top: 649px;left: 925px;}
.candlewrapper.candle35{top: 629px;left: 1025px;}
.candlewrapper.candle36{top: 619px;left: 925px;}
.candlewrapper.candle37{top: 719px;left: 1025px;}
.candlewrapper.candle38{top: 709px;left: 725px;}
.candlewrapper.candle39{top: 589px;left: 625px;}
.candlewrapper.candle49{top: 599px;left: 825px;}


.overlay {
    display: none;
    position: absolute;
    background: white;
    font-size: 25px;
    top: 225px;
    padding: 22px;
    left: -100px;
    z-index: 1000;
}

.overlay img{
  max-width: 100px;
}

.candlewrapper:hover .overlay{
  display: block;
}



.candlestick .candle {
  width: 34px;
  margin: 30px auto 0 auto;
  position: relative;
  height: 100%;
  align-self: flex-end;
  -webkit-animation: blink 0.1s infinite;
          animation: blink 0.1s infinite;
}

.wall .letter {
  background: url(images/letter.png) center no-repeat;
  width: 34px;
  margin: 30px auto 0 auto;
  position: relative;
  height: 100%;
  align-self: flex-end;
  -webkit-animation: blink 0.1s infinite;
          animation: blink 0.1s infinite;
}

.candlestick .wick {
  position: absolute;
  width: 6px;
  height: 50px;
  background: #23161a;
  top: 110px;
  left: 50%;
  transform: translateX(-50%) skewX(2deg);
  border-radius: 10%;
  box-shadow: 0 0 2px 0px black;
}
.candlestick .wick:before {
  content: "";
  position: absolute;
  width: 0;
  left: 50%;
  height: 10px;
  box-shadow: 0 -14px 10px 8px white, 0 -10px 10px 8px rgba(255, 215, 0, 0.7), 0 -3px 10px 8px rgba(255, 106, 0, 0.7), 0 6px 3px 4px black;
}
.candlestick .wick:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0px;
  height: 0px;
  box-shadow: 0 5px 2px 3px gold, 0 20px 2px 14px gold, 0 -6px 4px 5px rgba(98, 33, 27, 0.8), 0 0px 1px 4px rgba(255, 106, 0, 0.7), 0 0px 3px 4px #ff6a00, 0 5px 3px 4px gold;
}

.flame {
  width: 20px;
  height: 150px;
  margin: 0px auto;
  position: relative;
  -webkit-animation: move 3s infinite, move-left 3s infinite;
          animation: move 3s infinite, move-left 3s infinite;
  transform-origin: 50% 90%;
}
.flame .top {
  width: 20px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: white;
  border-top-left-radius: 500%;
  border-bottom-left-radius: 50px;
  border-top-right-radius: 500%;
  border-bottom-right-radius: 50px;
  transform: skewY(-10deg);
  box-shadow: 0 0px 0px 3px white, 0 -20px 1px 4px white, 0 -25px 2px 3px gold, 0 -30px 5px 4px #ff6a00, 0 0px 150px 10px #ff6a00, 0 -10px 2px 4px white, 0 -5px 3px 3px white;
  -webkit-animation: flame-up 4s infinite;
          animation: flame-up 4s infinite;
}
.flame .shadows {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 5px 20px 15px gold, 0 0px 100px 20px #ff6a00, 0 15px 50px 15px #ff6a00, 5px 30px 5px 13px #ff6a00, 5px 50px 5px 13px #ff6a00, 0 75px 50px 30px black;
}
.flame .bottom {
  transform: scale(0.9);
  position: absolute;
  bottom: 6px;
  left: 9px;
  width: 1px;
  height: 8px;
  border-radius: 1%;
  background: #2c2b39;
  box-shadow: 0 6px 10px 12px rgba(60, 76, 125, 0.3), 0 0px 4px 8px #2c2b39, 0 -12px 10px 8px rgba(255, 106, 0, 0.5), 0 5px 7px 12px #2c2b39, 0 -3px 10px 12px #2c2b39, 5px -10px 10px 5px red, 0 -15px 10px 10px gold, 5px -25px 10px 5px gold, 0 2px 5px 10px #30537d, 0 -2px 2px 14px #76daff, 0 2px 10px 12px #76daff;
}

.wax {
  position: relative;
  top: 15px;
  width: 100%;
  height: 100%;
  background: #ff9224;
  /* FF3.6-15 */
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #ff9224 0px, #ff9224 20px, #58523a 50px);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#ff9224", endColorstr="#58523a",GradientType=0 );
  /* IE6-9 */
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  /* box-shadow: inset 0 7px 12px -2px #fbf348, inset 0 9px 57px -3px rgba(255, 0, 0, 0.4), inset 0 -5px 8px 2px black, 0 0 3px 0px #ff6a00; */
  box-shadow: inset 0 7px 12px -2px #fbf348, inset 0 9px 57px -3px rgba(255, 0, 0, 0.4), inset 0 0px 8px 2px #241c1c, 0 0 3px 0px #ff6a00;
}

@-webkit-keyframes move {
  0% {
    transform: skewX(2deg) skewY(5deg);
  }
  50% {
    transform: skewX(-2deg) skewY(0deg);
  }
  100% {
    transform: skewX(2deg) skewY(5deg);
  }
}

@keyframes move {
  0% {
    transform: skewX(2deg) skewY(5deg);
  }
  50% {
    transform: skewX(-2deg) skewY(0deg);
  }
  100% {
    transform: skewX(2deg) skewY(5deg);
  }
}
@-webkit-keyframes move-left {
  50% {
    transform: skewX(3deg);
  }
}
@keyframes move-left {
  50% {
    transform: skewX(3deg);
  }
}
@-webkit-keyframes flame-up {
  50% {
    box-shadow: 0 0px 0px 3px white, 0 -38px 1px 2px white, 0 -41px 2px 3px gold, 0 -50px 5px 4px #ff6a00, 0 0px 150px 10px #ff6a00, 0 -10px 2px 4px white, 0 -5px 3px 3px white;
  }
}
@keyframes flame-up {
  50% {
    box-shadow: 0 0px 0px 3px white, 0 -38px 1px 2px white, 0 -41px 2px 3px gold, 0 -50px 5px 4px #ff6a00, 0 0px 150px 10px #ff6a00, 0 -10px 2px 4px white, 0 -5px 3px 3px white;
  }
}
@-webkit-keyframes blink {
  50% {
    opacity: 0.95;
  }
}
@keyframes blink {
  50% {
    opacity: 0.95;
  }
}


@media screen and (min-width: 320px) and (max-width: 480px) and (orientation: portrait) {
    .candlestick {
      zoom: 0.3;
    }
    .stickpanel{
      height: 200px;
    }
}

@media screen and (min-width: 480px) and (max-width: 800px) and (orientation: landscape) {
    .candlestick {
      zoom: 0.5;
    }
     .stickpanel{
      height: 500px;
    }
}