a-scene{
  position: absolute !important;
}

.a-canvas{
  cursor: pointer !important;
}

@font-face {
  font-family: veneer;
  src: url(../assets/Veneer.otf);
}

.board-container > div:nth-child(1){
  height: 20%;
}

.board-container > div:nth-child(2){
  height: 50%;
}

.board-container > div:nth-child(3){
  height: 30%;
}

.board-head_text{
  text-align: center;
  font-size: 30px;
  width: 100%;
  top: 50%;
  position: relative;
  transform: translateY(-50%);
  letter-spacing: 3px;
  opacity: 0;
}

.board-body_badge{
  width: 90%;
  height: 90%;
  display: block;
  margin: 0 auto;
  top: 50%;
  position: relative;
  transform: translateY(-50%);
  /*background-image: url(../images/like.png);*/
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.board-footer_button:hover{
  font-size: 30px;
}

.data-container{
  position: absolute;
  display: block;
  width: 100%;
  height: auto;
  top: 15%;
  pointer-events: none;
  cursor: none;
  user-select: none;
  opacity: 0;
}

.checkList-container > div:nth-child(1){
  height: 10%
}

.checkList-container > div:nth-child(2){
  height: 90%
}

.checkList-container > div:nth-child(1) > div{
  display: inline-block;
}

.checkList-container > div:nth-child(2)> div{
  overflow: hidden;
}

.toggle:hover{
  border: 2px solid white;
}

.checkList{
  display: block
}

.score-container > span, .timer-container > span{
  position: absolute;
  font-family: veneer;
}

.score-container > span:nth-child(1){
  z-index: 1;
  top: 32px;
  right: 0px;
  color: white;
  text-align: center;
  width: 110px;
}

.glassBG, .timerBG{
  width: 120px;
  height: 120px;
  background-image: url(../images/score-container.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.timerBG{
  background-image: url(../images/time-container.png);
}

.timer-container > span:nth-child(1){
    z-index: 1;
    top: 52px;
    right: 5px;
    color: white;
    text-align: center;
    width: 110px;
}

.board-container{
  border-color: #4085dd;
  width: 0%;
  height: 0%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  display: none;
  background-color: #ffffffe6;
  border-width: 20px !important;
  opacity: 0;
  max-width: 600px;
/*  width: 60%;
  height: 80%;
  display: block;*/
}

.score-container, .timer-container{
  position: fixed;    
  /*float: right;*/
  width: 120px;
  height: 120px;
  font-size: 30px;
  font-weight: bold;
  margin-right: 20px;
}

.timer-container{
  left: calc(100% - 120px);
  margin-left: -130px;
}

.score-container{
  left: calc(99% - 120px);
  margin-left: -10px;
}

.checkList-container{
  border-color: #4085dd;
  background-color: #ffffffbf;
  font-size: 15px;
  margin-left: 10px;
  line-height: 30px;
  width: max-content;
}

.board-footer_button{
  background: #336bb3;
  width: 50%;
  display: block;
  padding: 10px;
  border-radius: 20px;
  font-size: 25px;
  margin: 0 auto;
  top: 50%;
  position: relative;
  transform: translateY(-50%);
  box-shadow: inset 0px 0px 5px 1px;
  color: white;
  text-align: center;
}

.toggle{
  width: 30px;
  height: 30px;
  text-align: center;
  background-color: #4085dd;
  float: right;
  border-radius: 10px;
  color: white;
  margin-left: 10px;
  pointer-events: all;
  cursor: pointer;
  border: 2px solid #dadada00;
  box-sizing: border-box;
}

.containerDesign{
  border-style: solid;
  border-width: 5px;
  color: black;
  padding: 10px;
  font-family: veneer;
  box-sizing: border-box;
  border-radius: 10px;
}

.checkBox{
  background-color: #0056b8;
  width: 25px;
  height: 25px;
  text-align: center;
  border-radius: 4px;
  color: white;
  margin-right: 5px;
}

.checkList > div{
  display: inline-block;
  vertical-align: middle;
}

.preloader{
    position: absolute;
    z-index: 100;
    width: 100%;
    height: 100%;
    background: #232323;
    display: block;
}

.preloader > div:nth-child(1){
  display: block;
}

.preloader > div:nth-child(2){
  display: none;
}

.loadText{
    color: white;
    width: 80%;
    display: block;
    margin: 0 auto;
    text-align: center;
    top: calc(50% - 60px);
    position: relative;
    font-size: 20px;
    font-family: arial;
    font-weight: bold;
    letter-spacing: 3px;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.instructions{
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.66);
  display: none;
}

.panel{
  display: block;
  width: 90%;
  height: 90%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  position: relative;
  background-image: url(../images/instructions/mainInstruction-1.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.instructions > div{
  height: 100%;
  width: 100%;
  transform-origin: center center;
  opacity: 0;
  transform: scale(0);
}

.continueButton, .yesButton, .noButton{
  opacity: 0;
}

.instructions > div > div{
    width: 90%;
    height: auto;
    display: block;
    border: 10px solid gray;
    margin: 0 auto !important;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    box-sizing: border-box;
    background-color: #ffffffba;
    border-radius: 10px;
    max-width: 700px;
}

.instructions > div > div > div{
  width: 100%;
}

.instructions > div > div > div:nth-child(1){
  height: 15%;
  display: inline-flex;
}

.instructions > div > div > div:nth-child(2){
  height: 65%;
  padding: 20px;
  box-sizing: border-box;
  font-size: 25px;
  font-family: helvetica;
  overflow: overlay;
  max-height: 370px;
}

.instructions > div > div > div:nth-child(3){
  height: 20%;
  display: inline-flex;
}

.inst-title{
  width: 70%;
  height: 100%;
  font-size: 60px;
  font-family: veneer;
  vertical-align: middle;
}

.inst-image{
  width: 30%;
  height: auto;
  background-size: contain;
  background-repeat: no-repeat;
  background-origin: border-box;
  background-position: right;
}

/*.continueButton{
  background-image: url(../images/instructions/continueButton.jpg);
}

.noButton{
  background-image: url(../images/instructions/no.jpg);
}

.yesButton{
  background-image: url(../images/instructions/yes.jpg);
}*/

.buttons{
  display: block;
  width: 200px;
  height: 60px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  margin: 0 auto;
  background: grey;
  border-radius: 20px;
  box-shadow: 0px 0px 3px 0.5px;
  color: white;
  text-align: center;
  font-size: 25px;
  font-family: helvetica;
  line-height: 2.3;
  margin-bottom: 10px;
  margin-top: 10px;
  cursor: default;
}

.buttons:hover{
  /*-webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);*/

  filter: brightness(0.75);
}

.timeNum{
  display: block;
  width: max-content;
  left: 50%;
  position: relative;
  transform: translateX(-50%);
}

.button-container{
  width: 150px;
  height: 50px;
  position: absolute;
  display: inline-flex;
  bottom: 1%;
  left: 1%;
}

.button-container > div{
  width: 33.33%;
  height: 100%;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 10px;
}

.music-button{
  background-image: url(../images/musicOn.png);
  
}

.sound-button{
  background-image: url(../images/audioOn.png);
 
}

.fullscreen-button{
  background-image: url(../images/fullscreen-in.png);
}

.soundOff{
  -webkit-filter: brightness(0.6);
  filter: brightness(0.6);
}

.glassBG, .timerBG{
  opacity: 0.8;
}

.miyens-logo{
  background-image: url(../images/miyens-logo.png);
  background-size: 100% 100%;
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 120px;
  height: 20px;
  z-index: 1;
  opacity: 0.9;
}

::-webkit-scrollbar {
  width: 5px;
  /*height: 10px;*/
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f100;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #ffffff73;
  border-radius: 100px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #ffffff99;
}

@media screen and (max-width: 400px) {
  .instructions > div > div > div > .buttons{
    width: 110px !important;
  }
}

@media screen and (max-width: 430px) {
  .timer-container{
    margin-left: -10px;
    margin-top: 130px;
  }
}

@media screen and (max-width: 535px) {

  .instructions > div > div > div:nth-child(1){
    height: 15%;
  }

  .inst-title{
    font-size: 50px;
    width: 80%;
  }

  .inst-image{
    width: 20%;
    background-position: center top;
  }

  .instructions > div > div{
    /*height: 90%;*/
  }

  .inst-text{
    height: 65% !important;
    padding: 10px !important;

  }

  .instructions > div > div > div > .buttons{
    width: 150px;
    height: 40px;
    line-height: 1.5;
    top: 50%;
    /*transform: translateY(-50%);*/
  }

}

@media screen and (max-height: 600px) {
  .inst-text{
    max-height: 250px !important;
  }
}

@media screen and (max-height: 490px) {
  .inst-text{
    max-height: 150px !important;
  }
}

@media screen and (max-height: 375px) {
  .inst-text{
    max-height: 80px !important;
  }
}

