body {
  font-family: monospace;
  font-size: 18px;
  background: #111;
  color: #666;
  margin: 0;
  background-image: url(../images/bgr.jpg);
  background-repeat: no-repeat;
  background-color: #000;
  background-size: 100% auto;
  background-position: top center;
}

img {
  display: block;
  width: 100%;
}

input[type=checkbox] {
  display: none;
}

label {
  display: inline-block;
  margin-right: 1em;
  padding: 0.4em 0;
  cursor: pointer;
}

button {
  border: 10px solid #00FFAA;
  font-family: monospace;
  position: absolute;
  line-height: 60px;
  text-align: right;
  padding: 0 1.2em;
  background: #444;
  font-size: 24px;
  cursor: pointer;
  display: block;
  outline: none;
  height: 80px;
  width: 80%;
  top: 260px;
  margin: 0;
  left: 10%;
}

button:hover {
  background: #00FFAA;
}

input[type=checkbox] + label:before {
  display: inline-block;
  position: relative;
  background: #444;
  margin-right: 8px;
  content: "";
  height: 16px;
  width: 16px;
  top: 1px;
}

input[type=checkbox]:checked + label:before {
  background: #00FFAA;
}
/*
.container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding: 5%;
}
*/
.wrapper {
    min-height: 460px;
    position: absolute;
    overflow: hidden;
    display: table;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;


}    
.scene {
  padding: 0;
  margin: 0;
}

.fill {
  position: absolute;
  bottom: 5%;
  right: 5%;
  left: 5%;
  top: 5%;
}

.expand-width {
  width: 100%;
}

.border {
  border: 2px dashed #00FFAA;
}

.aspect {
  opacity: 0.2;
}

.scene {
  display: block;
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
}

.layer {
  display: block;
  background-repeat: no-repeat;
  position: absolute;
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
}

.layer_in{
  background-repeat: no-repeat;
}

#scene {
  margin:0;
  padding:0;
}

.scene {
  min-height: 460px;
  position: absolute;
  overflow: hidden;
}

.menu_btn {
  display: block;
  cursor: pointer;
  background-image: url(../images/btn_menu.png);
  background-position: center bottom;
  background-size: auto 65%;
  background-repeat: no-repeat;  
  width: 60px;
  height: 60px;
  position: absolute;
  top: 25px;
  right: 55px;
  z-index: 40;
}

.cs_close {
  display: block;
  cursor: pointer;
  background-image: url(../images/btn_x.png);
  background-position: center bottom;
  background-size: auto 65%;
  background-repeat: no-repeat;
  width: 80px;
  height: 80px;
  position: absolute;
  top: 370px;
  right: 225px;
  z-index: 42;
}

.cs_balloon{
  display: none;
  background-image: url(../images/text_balloon.png);
  background-position: center;
  background-size: auto 65%;
  background-repeat: no-repeat;
  width: 600px;
  height: 530px;
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: 30;
}

.cs_text{
  background-image: url(../images/text.png);
  background-position: center;
  background-size: auto 65%;
  background-repeat: no-repeat;
  width: 500px;
  height: 222px;
  position: absolute;
  top: 181px;
  right: 50px;
}

.city {
  bottom: 0px !important;
  background-image: url(../images/city_wide.png);
  background-position: center bottom;
  background-size: auto 65%;
  background-repeat: no-repeat;
  background-repeat-x: repeat;
  margin: 0 -4% -2% -4%;
  width: 108%;
  height: 100%;
}


.mouse {
    background-image: url(../images/mouse.png);
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center bottom;
    bottom: 0px !important;
    position: absolute;
    left: 21% !important;
    width: 300px;
    height: 11%;
}

.moon {
  background-image: url(../images/layer2.png);
  background-size: auto 100%;
  background-repeat: no-repeat;
  top: -10px !important;
  left: 17.5% !important;
  position: absolute !important;
  width: 150%;
  height: 60%;
}

.logo {
  background-image: url(../images/logo_framed.png);
  background-size: auto 100%;
  -webkit-animation: logomove 4s 0.1s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
  -moz-animation: logomove 4s 0.1s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
  animation: logomove 4s 0.1s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
  top: calc(4% + 160px) !important;
  left: 19% !important;
  top: -10px !important;
  left: 18% !important;
  position: absolute;  
  width: 100%;
  height: 60%;
}

.witch {
  background-image: url(../images/witch_framed.png);
  background-size: auto 100%;
  -webkit-animation: whichmove 4s 0.1s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
  -moz-animation: whichmove 4s 0.1s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
  animation: whichmove 4s 0.1s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
  top: -10px !important;
  left: 18% !important;
  position: absolute;
  width: 100%;
  height: 60%;
}

.owl.nine {
  top: 115px !important;
  left: 52% !important;
  position: absolute;
  width: 350px;
  height: auto;  
}

.owl{
  -webkit-animation: owlmove50 4s 0.1s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
  -moz-animation: owlmove50 4s 0.1s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
  animation: owlmove50 4s 0.1s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
}


@-webkit-keyframes owlmove50 {
  50% {
     transform: translate(50px, 0);
  }
}

@keyframes owlmove50 {
  50% {
     transform: translate(50px, 0);
  }
}

@-webkit-keyframes whichmove {
  50% {
     transform: translate(0, 20px);
  }
}

@keyframes whichmove {
  50% {
     transform: translate(0, 20px);
  }
}


@-webkit-keyframes logomove {
  50% {
     transform: scale(1.05,1.05);
  }
}

@keyframes logomove {
  50% {
   transform: scale(1.05,1.05);
  }
}


.owl.eight {
  top: 220px !important;
  left: 74% !important;
  position: absolute;
  width: 160px;
  height: auto;
}

.owl.three {
  top: 210px !important;
  left: 90% !important;
  position: absolute;
  width: 190px;
  height: auto;
}
.owl.two {
  top: 395px !important;
  left: 82% !important;
  position: absolute;
  width: 70px;
  height: auto;
}
.owl.four {
  top: 380px !important;
  left: 65% !important;
  position: absolute;
  width: 60px;
  height: auto;
}
.owl.seven {
  top: 240px !important;
  left: 56% !important;
  position: absolute;
  width: 50px;
  height: auto;
}
.owl.five {
  top: 330px !important;
  left: 76% !important;
  position: absolute;
  width: 30px;
  height: auto;
}
.owl.six {
    top: 330px !important;
    left: 28% !important;
    position: absolute;
    width: 40px;
    height: auto;
}
.owl.one {
  top: 360px !important;
  left: 34% !important;
  position: absolute;
  width: 45px;
  height: auto;
}


/* Custom, iPhone Retina */ 
@media (min-width : 320px) {
  body{
    background-size: 300% auto;
    background-position: center top;
  }
  .moon, .logo, .witch {
    left: -17% !important;
    top: -5% !important;
  }

  .owl.two   { left: 41% !important; }
  .owl.four  { left: 32% !important; }
  .owl.seven { left: 28% !important; }
  .owl.five  { left: 38% !important; }
  .owl.six   { left: 14% !important; }
  .owl.one   { left: 17% !important; }

  .cs_text {
    background-size: auto 50%;
    width: 100%;
    top: 141px;
    right: 0px;
  }  

  .cs_close {
    top: 310px;
    right: 45%;
  }

  .cs_balloon{
    background-size: auto 50%;
    width: 100%;
    height: 480px;
    top: 0px;
    right: 0px;
  }
}

/* Extra Small Devices, Phones */ 
@media (min-width : 480px) {
  body{
    background-position: top center;
  }
  .moon, .logo, .witch {
    left: 4% !important;
  }

  .owl.two   { left: 41% !important; }
  .owl.four  { left: 32% !important; }
  .owl.seven { left: 28% !important; }
  .owl.five  { left: 38% !important; }
  .owl.six   { left: 14% !important; }
  .owl.one   { left: 17% !important; }
}

/* Small Devices, Tablets */
@media (min-width : 768px) {
  body{
    background-size: 120% auto;
    background-position: top center;
  }
  .moon, .logo, .witch {
    left: 11.5% !important;
  }

  .owl.eight { left: 74% !important; }
  .owl.three { left: 90% !important; }
  .owl.two   { left: 82% !important; }
  .owl.four  { left: 65% !important; }
  .owl.seven { left: 56% !important; }
  .owl.five  { left: 76% !important; }
  .owl.six   { left: 28% !important; }
  .owl.one   { left: 34% !important; }
}

/* Medium Devices, Desktops */
@media (min-width : 992px) {
  body{
    background-size: 110% auto;
    background-position: top center;
  }
  .moon, .logo, .witch {
      left: 15.5% !important;
  }
  .owl.nine  { left: 52% !important; }
  .owl.eight { left: 74% !important; }
  .owl.three { left: 90% !important; }
  .owl.two   { left: 82% !important; }
  .owl.four  { left: 65% !important; }
  .owl.seven { left: 56% !important; }
  .owl.five  { left: 76% !important; }
  .owl.six   { left: 28% !important; }
  .owl.one   { left: 34% !important; }

  .cs_text{
    background-size: auto 65%;
    width: 500px;
    top: 181px;
    right: 50px;
  }

  .cs_close {
    top: 370px;
    right: 225px;
  }

  .cs_balloon{
    background-size: auto 65%;
    width: 600px;
    height: 530px;
    top: 0px;
    right: 0px;
  }

}

/* Large Devices, Wide Screens */
@media (min-width : 1200px) {
  body{
    background-size: 100% auto;
    background-position: top center;
  }
  .moon, .logo, .witch {
    left: 17.5% !important;
  }

  .owl.nine  { left: 52% !important; }
  .owl.eight { left: 74% !important; }
  .owl.three { left: 90% !important; }
  .owl.two   { left: 82% !important; }
  .owl.four  { left: 65% !important; }
  .owl.seven { left: 56% !important; }
  .owl.five  { left: 76% !important; }
  .owl.six   { left: 28% !important; }
  .owl.one   { left: 34% !important; }
}


.flinks {
  color: #fff !important;
  text-decoration: none;
}


.flinks:visited {
  color: #fff !important;
  text-decoration: none;
}

.flinks:hover {
  color: #fff !important;
  text-decoration: underline;
}
