* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
@font-face {
  font-family: SassoonSans;
  src: url(fonts/SassoonSansCJFTwo-Regular_EDIT.ttf), url(fonts/SassoonSansCJFTwo-Regular_EDIT.eot);
  font-size: 1vh;
}
html,body {
  height: 100%;
  max-height: 100%;
}
body {
  font-family: SassoonSans;
}
.transparent {
  opacity: 0;
}
.hidden {
  display: none !important;
}
#stage {
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.content {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  border: 0.6vh solid #3865c6;
  border-radius: 0.6vh;
}

.batton-small, .text {
  width: 80%;
  height: 70%;
  position: relative;
  top: -15%;
  display: none;
  z-index: 1;
  left: 10%;
  overflow: hidden;
}

.batton-img {
  box-shadow: 2px 2px 2px #888888;
  z-index: 3;
  position: absolute;
  background: url("../images/SL_T06_BATTON.png") no-repeat;
  background-size: cover;
  height: 4%;
  width: 100%;
}
.batton {
  width: 100%;
  height: 2%;
  background: url("../images/SL_T06_BATTON.png") no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.page {
  background-color: white;
  display: none;
  z-index: 2;
  border-bottom-left-radius: 8%;
  border-bottom-right-radius: 8%;
  height: 100%;
  width: 90%;
  left: 5%;
  position: absolute;
  box-shadow: 3px 3px 2px #888888;
}
/*.text, .game-image {*/
  /*height: 30%;*/
  /*display: none;*/
  /*z-index: 4;*/
  /*text-align: center;*/
  /*position: relative;*/
  /*top: 15%;*/
/*}*/
/*.game-image {*/
  /*height: 45%;*/
  /*margin-top: 3%;*/
/*}*/

.poem {
  position: absolute;
  top: 7%;
  left: 5%;
  width: 90%;
  height: 90%;
  opacity: 0;
}
.control-panel {
  position: absolute;
  top: -15%;
  opacity: 0.2;
  right: 1%;
  height: 11%;
  width: 33%;
  background: url("../images/TOOLBAR_4BTN.png") no-repeat;
  background-size: contain;
  text-align: center;
  z-index: 2;
}
.play, .sound, .mute, .pause, .retry, .fullscreen {
  display: inline-block;
  width: 16.1%;
  height: 36.5%;
  position: relative;
  top: 10%;
}

/*loader section*/
#loader {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s;
}

@-webkit-keyframes animatebottom {
  from { bottom:-100px; opacity:0 }
  to { bottom:0px; opacity:1 }
}

@keyframes animatebottom {
  from{ bottom:-100px; opacity:0 }
  to{ bottom:0; opacity:1 }
}

#start-game {
  display: none;
  position: relative;
  top: 46%;
  left: 43%;
  width: 15%;
  height: 19%;
  z-index: 500;
  color: white;
}

.btn {
  display: block;
  background-size: 100%;
  background-repeat: no-repeat;
}
.control-panel .btn {
  width: 21%;
  height: 78%;
  display: inline-block;
  position: relative;
  top: 12%;
  margin-right: 2%;
}
[data-btn-id="playintro"] {
  background-image: url("../images/btn.playintro.static.png");
  background-size: 100%;
  position: absolute;
  z-index: 500;
  border-radius: 50%;
  width: 15%;
  height: 21%;
  top: 44.8%;
  left: 42.6%;
}
[data-btn-id="mute"] {
  background: url("../images/btn.mute.static.png") no-repeat;
  background-size: 100%;
}
[data-btn-id="retry"] {
  background: url("../images/btn.retry.static.png") no-repeat;
  background-size: 100%;
}
[data-btn-id="unmute"] {
  background-image: url("../images/btn.unmute.static.png");
}
[data-btn-id="pause"] {
  background: url("../images/btn.pause.static.png") no-repeat;
  background-size: contain;
}
[data-btn-id="play"] {
  background: url("../images/btn.play.static.png") no-repeat;
  background-size: contain;
}
[data-btn-id="swapleft"] {
  background: url("../images/btn.swapleft.static.png") no-repeat;
  background-size: contain;
}
[data-btn-id="fullscreen"] {
  background: url("../images/btn.fullscreen.static.png") no-repeat;
  background-size: contain;
}
div.btn.swap {
  border-radius: 1%;
  width: 13%;
  left: 3%;
  position: absolute;
}
.full-screen {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
svg {
  width: 100%;
  height: 100%;
}
.btn-wrapper{
  width: 75%;
  height: 100%;
  position: absolute;
  top: 5%;
  left: 21%;
  display: flex;
  justify-content: center;
}

.logo {
  position: absolute;
  width: 9.5%;
  height: 5%;
  top: 4%;
  left: 2.5%;
  background: url("../images/00_LOGO_CJF.png") no-repeat;
  background-size: contain;
  z-index: 1;
}

/* unit ribbon section start*/
.unit-wrapper {
    position: absolute;
    display: block;
    bottom: 18%;
    left: 34%;
    width: 33.5%;
    height: 12.8%;
    background: url(../images/orientation_banner.png) no-repeat;
    background-size: contain;
    opacity: 0;
    text-align: center;
    color: white;
}
.unit-text {
    position: absolute;
    display: flex;
    top: 0%;
    left: 13.5%;
    width: 70%;
    height: 65%;
    font-size: 3vh;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}
/* unit section ribbon end*/