@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: Rubric;
  font-style: normal;
  font-weight: normal;
  src: url(../__fonts/Cabin-Bold.ttf);
}

@font-face {
  font-family: Ans;
  font-style: normal;
  src: url(../__fonts/Roboto-Regular.ttf);
}

@font-face {
  font-family: playy;
  font-style: normal;
  font-weight: normal;
  src: url(../__fonts/SpookyGhoster.ttf);
}

div,
input {
  font-variant-ligatures: none;
}

@font-face {
  font-family: Title;
  font-style: normal;
  font-weight: normal;
  src: url(../__fonts/MyriadPro-Semibold_2.otf);
}

body {
  background-image: url(../Assets/images/bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
  background-attachment: fixed;
  background-position: bottom;
  overflow: hidden;
}


#main {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100vh;
  align-items: center;
}

#mMain {
  background-image: url(../Assets/images/1.png);
  background-repeat: no-repeat;
  width: 700px;
  min-height: 934px;
  /* position: absolute; */
  overflow: hidden;
  border: 5px solid #848479;
  border-radius: 10px;
  background-position-y: -155px;
}

#mdiv {
  /*  background-image: url(../Assets/images/1.png);
  background-repeat: no-repeat; */
  width: 700px;
  min-height: 934px;
  /* position: absolute; */
  overflow: hidden;
  /* background-position-y: -347px; */
  transition: all 2s;
  /* background-position-x: 5px; */
}

#myDiv {
  /* background-image: url(../Assets/images/img1.png);
	background-repeat: no-repeat; */
  width: 700px;
  min-height: 791px;
  position: absolute;
}

#jumpObj {
  /* background-image: url(../Assets/images/boy1.png); */
  /* background-repeat: no-repeat; */
  width: 160px;
  height: 220px;
  position: absolute;
  /* transition: all ease 2s; */
  transition: all linear 0.8s;
  top: 704.5px;
  left: 272px;
  z-index: 99;
  pointer-events: none;
}

#jumpObj canvas{
  transform: scale(0.8);
}

#rubricTxt {
  /* background-image: url(../Assets/images/tag.png); */
  background-size: 90%;
  background-repeat: no-repeat;
  background-position: center;
}

#rubricAud {
  display: none;
  /*inline-block;*/
  width: 45px;
  height: 45px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  background-size: 90%;
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid #f29b34;
  box-shadow: 1px 2px 2px 0 rgba(0, 0, 0, 0.14),
    0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.2);
}

.txtformat {
  /*   -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none; */
  background: transparent;
  border: 0;
  border-bottom: 2px solid black;
  pointer-events: none;
}

.optionDesign {
  /* background:#ffff99; */
  background-image: url(../Assets/images/block.png);
  padding: 10px;
  background-size: 100% auto;
  height: 135px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 27px;
  transform: scale(0.9);
  transition: all 0.2s;
  line-height: 25px;
  font-size: 1.2rem !important;
}

#submit {
  font-size: 21px;
  font-family: Ans, sans-serif;
  display: block;
  width: 145px;
  font-weight: bold;
  text-align: center;
  background: -webkit-linear-gradient(#fcfcfc, #bcbcbc);
  background: -o-linear-gradient(#fcfcfc, #bcbcbc);
  background: -moz-linear-gradient(#fcfcfc, #bcbcbc);
  background: linear-gradient(#fcfcfc, #bcbcbc);
  color: #151515;
  cursor: pointer;
  padding: 7px 0 7px 0;
  border-radius: 10px;
  border-bottom: 1px solid #9c9999;
  box-shadow: 2px 2px 5px 1px #3e3e3e;
  visibility: hidden;
}

#answer {
  position: relative;
  font-size: 21px;
  font-family: Ans, sans-serif;
  display: block;
  width: 145px;
  font-weight: bold;
  text-align: center;
  background: -webkit-linear-gradient(#fcfcfc, #bcbcbc);
  background: -o-linear-gradient(#fcfcfc, #bcbcbc);
  background: -moz-linear-gradient(#fcfcfc, #bcbcbc);
  background: linear-gradient(#fcfcfc, #bcbcbc);
  color: #151515;
  cursor: pointer;
  padding: 7px 0 7px 0;
  border-radius: 10px;
  border-bottom: 1px solid #9c9999;
  box-shadow: 2px 2px 5px 1px #3e3e3e;
  float: right;
  visibility: hidden;
}

#checkSolution {
  position: absolute;
  width: 350px;
  top: 525px;
  left: 260px;
  z-index: 1;
}

.nextpreNav {
  width: 540px;
  position: absolute;
  display: inline-block;
}

#nextBtn {
  background: url(../../__images/arrow.png);
  background-size: 61px 61px;
  width: 61px;
  height: 61px;
  float: right;
  cursor: pointer;
}

#preBtn {
  background: url(../../__images/arrow2.png);
  background-size: 61px 61px;
  float: left;
  width: 61px;
  height: 61px;
  cursor: pointer;
}

#activityText {
  position: absolute;
  left: 200px;
  top: 65px;
  -webkit-animation-name: activityTextAnim;
  -webkit-animation-duration: 1s;
  animation-name: activityTextAnim;
  animation-duration: 1s;
}

@-webkit-keyframes activityTextAnim {
  0% {
    left: 200px;
    top: -100px;
  }

  50% {
    left: 200px;
    top: 95px;
  }

  100% {
    left: 200px;
    top: 65px;
  }
}

@keyframes activityTextAnim {
  0% {
    left: 200px;
    top: -100px;
  }

  50% {
    left: 200px;
    top: 95px;
  }

  100% {
    left: 200px;
    top: 65px;
  }
}

#completedText {
  position: absolute;
  left: 600px;
  top: 65px;
  -webkit-animation-name: completedTextAnim;
  -webkit-animation-duration: 1s;
  animation-name: completedTextAnim;
  animation-duration: 1s;
}

@-webkit-keyframes completedTextAnim {
  0% {
    left: 600px;
    top: 225px;
  }

  50% {
    left: 600px;
    top: 35px;
  }

  100% {
    left: 600px;
    top: 65px;
  }
}

@keyframes completedTextAnim {
  0% {
    left: 600px;
    top: 225px;
  }

  50% {
    left: 600px;
    top: 35px;
  }

  100% {
    left: 600px;
    top: 65px;
  }
}

.rmoveOP {
  transform: scale(0.1) !important;
}

.coverDiv {
  display: flex;
  justify-content: center;
  align-content: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  background-attachment: fixed;
}

#stBtn {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: playy, sans-serif;
  font-size: 40px;
}

/* @media (max-width: 710px) {
	#mdiv{
		transform: scale(0.99);
		top: 0% !important;
		left: 0% !important;
		transform: scale(0.9);
	}
  }
 */
/*   
@media (orientation: portrait) {
	#mdiv{
		 top: 50%;
		left: 50%;
		transform: translate(-50%, -50%) scale(1.7);
		background-repeat: no-repeat;
		background-size: contain !important; 
		background: url(../Assets/images/bg1.png) left  no-repeat, url(../Assets/images/bg2.png) right  no-repeat, url(../Assets/images/bg3.png) bottom  no-repeat;
		height: 100vh;
		width: 100%;  
	}
  } */

/* @media (max-width: 630px) {
	#mdiv{
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%) scale(0.9);

	}
  } */

/* 
  @media (max-width: 820px) {
	#mdiv{
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%) scale(0.9);

	}
  }
 */






.rubcontainer {
  display: flex;
  justify-content: center;
  /*  position: absolute;
  bottom: 0;
  font-size: 2rem; */
}

#actCompImg {
  width: 100%
}

#rubText {
  padding: 30px;
  display: inline-block;
  background: #00000096;
  text-align: center;
}

#rubricTxt {
  font-size: 32px;
}

@media only screen and (max-width: 500px) {
  #rubricTxt {
    font-size: 25px;
  }
}

.quesTitle {
  /* display: flex; */
  justify-content: center;
  align-items: center;
  bottom: 0;
  font-size: 1.9rem;
  width: 95%;
  padding: 1px 5px;
  margin-left: 2.5%;
  color: #fff;
  z-index: 100;
  background-color: #000000a3;

  bottom: 15px;
  text-shadow: 2px 2px 1px #000;
  
}

#actComp {
  z-index: 999 !important;
}

#gameOver {
  font-size: 3.4rem;
  color: #842620;
  position: absolute;
  top: 72.5%;
  left: 29%;
  transform: translate(-50%, -50%);
  font-family: Rubric, sans-serif;
  font-weight: bold;
  white-space: nowrap;
  transform: rotate(-4deg);

}

@media only screen and (max-width: 1000px) {
  #rubText {
    font-size: 1.5rem;
    padding: 10px !important;
  }

  #stBtn {
    top: unset;
    bottom: -10px;
  }

  #rubricTxt {
    width: 90vw !important;
  }
}

@media only screen and (max-width: 900px) {
  #rubText {
    font-size: 1.3rem;
  }

  #rubricTxt {
    width: 95vw !important;
  }
}

@media only screen and (max-width: 700px) {
  #rubText {
    font-size: 1.1rem;
    padding: 5px !important;
  }

  #stBtn {
    top: unset;
    bottom: 0px;
  }

  #rubricTxt {
    width: 95vw !important;
  }
}

@media (hover: none) and (pointer: coarse) {
  #gameOver{
    font-size: 2.5rem;
  }
}