/*test*/



.red{
  background-color: red;
}


#popup{
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 50px;
  background-color: rgba(0,0,0,.9); 
}

#popup p{
  margin-top: 5px;
  font-size: .8em;
}

#popup .button-gold{
  font-size: .8em;
  padding: 10px 20px;
}
.button-popup{
  margin-left: 30px;
  margin-top: 5px !important;
}


/*TO DO KASOWANIA */

.backbox{
  position: absolute;
  width: 100%;
  height: 100%;
  left:100%;
  background-color: #0d0d0d;

  animation-name: box_reveal;
  animation-duration: 1s;
  animation-delay: 1.85s;
  -webkit-animation-fill-mode: forwards;
  animation-direction: alternate;
  animation-timing-function: cubic-bezier(.59,.02,.47,1);

}
@keyframes box_reveal {
  0% {
    /*opacity: .75;*/
    -ms-transform: translate(0%,0%); /* IE 9 */
    -webkit-transform: translate(0%,0%); /* Safari */
    transform: translate(0%,0%); /* Standard syntax */
  }


  100% {
    /*opacity: 1;*/
    -ms-transform: translate(-100%,0%); /* IE 9 */
    -webkit-transform: translate(-100%,0%); /* Safari */
    transform: translate(-100%,0%); /* Standard syntax */
  }
}

.bottle{
  position: absolute;
  z-index: 10;
  opacity: 0;
  transform: scale(.9,.9);
  animation-name: bottle;
  animation-duration: 3.6s;
  animation-delay: .78s;
  -webkit-animation-fill-mode: forwards;
  animation-direction: alternate;
  animation-timing-function: cubic-bezier(.59,.02,.47,1);
}

@keyframes bottle{
  0% {
    transform: scale(.9,.9);
    opacity: 0;
  }

  35%{
    opacity: .15;
  }

  100% {
    opacity: 1;
    transform: scale(1,1);
  }
}

.knight{
  position: absolute;
  background-size: auto;
  background-attachment: fixed;
  background-position: center;
  overflow: hidden;
  width: auto;
  height: 95%;
  opacity: 0;
  z-index: 0;
  /*transform: scale(1.25,1.25);*/
  animation-name: knight;
  animation-duration: 2.3s;
  animation-delay: 3.78s;
  -webkit-animation-fill-mode: forwards;
  animation-direction: alternate;
  animation-timing-function: cubic-bezier(.59,.02,.47,1);
}

@keyframes knight{
  0% {
    opacity: 0;
    transform: translateY(15px);
    /*transform: scale(1.25,1.25);*/
  }

  100% {
    opacity: .4;
    transform: translateY(0);
    /*transform: scale(1.25,1.25);*/
  }
}

.hello-box{
  position: absolute;
  width: 500px;
  background-color: #14151A;
  z-index: 400;
  padding: 100px 50px;
  opacity: 0;
  animation-name: hello-box;
  animation-duration: 1s;
  animation-delay: 9s;
  -webkit-animation-fill-mode: forwards;
  animation-direction: alternate;
  animation-timing-function: cubic-bezier(.59,.02,.47,1);
}

@keyframes hello-box{
  0% {
    transform: translateY(24px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);    
    opacity: 1;
  }
}

.text-up{
  opacity: 0; 
  transform: translate(0,30px);
  animation-name: text-up;
  animation-duration: 1.2s;
  -webkit-animation-fill-mode: forwards;
  animation-direction: alternate;
  animation-timing-function: ease;
}

.text-up-menu{
  animation-duration: 1.9s !important;  
  animation-delay: .75s;
}

.text-up-1{
  animation-delay: 1.5s;
}

.text-up-2{
  animation-delay: 1.8s;
}

.text-up-3{
  animation-delay: 2.2s;
}

.text-up-4{
  animation-delay: 2.6s;
}

@keyframes text-up{
  0% {
  opacity: 0;
  transform: translate(0,30px);
  }

  100% {
  opacity: 1;
  transform: translate(0,0);
  }
}

.wrap-scrolldownhoney {
  left: calc(50% - 15px);
  position: absolute;
  text-align: center;
  bottom: 50px;
  /*transform: translateX(-50%);*/
}
.wrap-scrolldownhoney .scrolldownhoney {
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 30px;
  height: 46px;
  margin: 0 auto 8px;
  text-align: center;
  width: 30px;
}
.wrap-scrolldownhoney .scrolldownhoney .scrolldownhoney-c1,
.wrap-scrolldownhoney .scrolldownhoney .scrolldownhoney-c2 {
  animation-duration: 1.5s;
  animation-name: scrolldownhoney;
  animation-iteration-count: infinite;
  fill: #fff;
}
.wrap-scrolldownhoney .scrolldownhoney-c2 {
  animation-delay: 0.75s;
}
@-moz-keyframes scrolldownhoney {
  0% {
    opacity: 0;
    transform: translate(0, -8px);
  }
  50% {
    opacity: 1;
    transform: translate(0, 0);
  }
  100% {
    opacity: 0;
    transform: translate(0, 8px);
  }
}
@-webkit-keyframes scrolldownhoney {
  0% {
    opacity: 0;
    transform: translate(0, -8px);
  }
  50% {
    opacity: 1;
    transform: translate(0, 0);
  }
  100% {
    opacity: 0;
    transform: translate(0, 8px);
  }
}
@-o-keyframes scrolldownhoney {
  0% {
    opacity: 0;
    transform: translate(0, -8px);
  }
  50% {
    opacity: 1;
    transform: translate(0, 0);
  }
  100% {
    opacity: 0;
    transform: translate(0, 8px);
  }
}
@keyframes scrolldownhoney {
  0% {
    opacity: 0;
    transform: translate(0, -8px);
  }
  50% {
    opacity: 1;
    transform: translate(0, 0);
  }
  100% {
    opacity: 0;
    transform: translate(0, 8px);
  }
}

/*back to top*/

.cd-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 40px;
  right: 30px;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
          box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: rgba(189, 146, 107, 0.8) url(../images/cd-top-arrow.svg) no-repeat center 50%;
  visibility: hidden;
  opacity: 0;

    -webkit-transition: opacity .3s 0s, visibility 0s .3s, background-color .3s 0s;
    transition: opacity .3s 0s, visibility 0s .3s, background-color .3s 0s;
}

.cd-top.cd-top--show,
.cd-top.cd-top--fade-out,
.cd-top:hover {
    -webkit-transition: opacity .3s 0s, visibility 0s 0s, background-color .3s 0s;
    transition: opacity .3s 0s, visibility 0s 0s, background-color .3s 0s;
}

.cd-top.cd-top--show {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}

.cd-top.cd-top--fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}

.cd-top:hover {
  background-color: #bd926b;
  opacity: 1;
}

@media only screen and (min-width: 768px) {
  .cd-top {
/*    right: 20px;
    bottom: 20px;*/
  }
}

@media only screen and (min-width: 1024px) {
  .cd-top {
    height: 50px;
    width: 50px;
/*    right: 30px;
    bottom: 30px;*/
  }
}

.bbt{

}


.bbt-fixed{
  position: absolute;
  right: 30px;
  bottom: 75px;

}