@font-face {
  font-family: 'Warnes';
  font-style: normal;
  font-weight: 400;
  src: local('Warnes'), local('Warnes-Regular'),
    url('IeM26aZh6wEmm42pWGUMfg.woff2') format('woff2');
}
@font-face {
  font-family: comingsoon;
  src: url('../../../../../fonts/ComingSoon-Regular.ttf');
}
@font-face {
  font-family: pangolin;
  src: url('../../../../../fonts/Pangolin-Regular.ttf');
}

@media screen and (max-width: 768px) {
  * {
    border-width: 1px !important;
  }
}

input {
  cursor: pointer;
}
input:lang(np) {
  font-family: 'kalimati' !important;
}

.my_activity {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  font-size: 1.3em;
  background: #fff;
  box-shadow: inset 0 0 30px #f2f2f2;
}

.my_activity,
.my_activity * {
  position: relative;
  margin: 0;
  padding: 0;
}

.my_activity .nextBtn {
  display: none;
  position: absolute;
  z-index: 1000;
  bottom: 0%;
  right: 0%;
  width: 7%;
  height: 10%;
}

.my_activity .prevBtn {
  display: none;
  position: absolute;
  z-index: 1000;
  bottom: 0%;
  left: 0%;
  width: 7%;
  height: 10%;
}

/*=====================================
 =            common styles            =
 =====================================*/
.board {
  position: relative;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  text-align: center;
}

.vertical-horizontal-center {
  position: relative;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  text-align: center;
}

.vertical-center {
  position: relative;
  top: 45%;
  transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  text-align: center;
}

.coverboardfull {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.bg_story_1 {
  background-image: url('../images/02.png');
  background-size: 100% 75%;
  background-repeat: no-repeat;
}
.main_bg {
  /*background-color: #A8DBA4;*/
  background-color: #9de446;
  /*background: radial-gradient(#80CBC4, #00695C);*/
}
.grassbg {
  background: url('../images/7ae2e7d4cc3bda7c6a61ea10144f3240.jpg');
  background-size: 26% 20%;
}
.main_bg_2 {
  background-color: #78c269;
}
/*=====  End of common styles  ======*/

/*===============================================
 =            general template layout            =
 ===============================================*/

div.generalTemplateblock {
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  /*border   : 1px solid red; */
}

/*===================================
 =            HeaderBlock            =
 ===================================*/

div.headerblock {
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 10%;
  /*border   : 1px solid red;*/
}

div.headerblock p.headertextstyle {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1% 2%;
  font-size: 1.3em;
  font-weight: bold;
  color: rgb(238, 110, 115);
  background-color: rgb(252, 252, 252);
  text-align: center;
}

div.generalTemplateblock[data-templatecontains='hasheaderblock']
  div.headerblock {
  height: 13%;
}

div.generalTemplateblock[data-templatecontains='hasheaderblock']
  div.headerblock
  p.headertextstyle {
  padding: 2%;
}

/*=====  End of HeaderBlock  ======*/

/*====================================
 =            ContentBlock            =
 ====================================*/

div.generalTemplateblock div.contentblock {
  position: absolute;
  width: 100%;
  padding: 1%;
  /*border   : 1px solid blue;*/
}

div.generalTemplateblock[data-templatecontains='hasheaderblock']
  div.contentblock {
  top: 13%;
  height: 87%;
}

div.generalTemplateblock[data-templatecontains='hasonlycontent']
  div.contentblock {
  top: 0%;
  height: 100%;
}

/*=====  End of ContentBlock  ======*/

/*==================================
 =            Text Block            =
 ==================================*/

.its_hidden {
  display: none;
}

/* -------- speech box ends --------- */

/*----------------------------------
 |			Animations			   |
 -------------------------------- */
.fade_in {
  animation: appear 3s;
  -webkit-animation: appear 3s;
}
.fade-in-car {
  animation: appear 1s linear 1.5s both;
  -webkit-animation: appear 1s linear 1.5s both;
}
@-webkit-keyframes appear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes appear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fade_away {
  animation: disappear 3s;
  -webkit-animation: disappear 3s;
}

@-webkit-keyframes disappear {
  100% {
    opacity: 0;
  }
}
@keyframes disappear {
  100% {
    opacity: 0;
  }
}
/*=====  End of Text Block  ======*/

/*===================================
 =            Image Block            =
 ===================================*/

div.imageblock {
  position: absolute;
  /*border     : 1px solid green; */
}

div.imageblock label {
  position: absolute;
}

.horizontal_center {
  left: 50%;
  transform: translate(-50%, 0%);
  -moz-transform: translate(-50%, 0%);
  -webkit-transform: translate(-50%, 0%);
  text-align: center;
}

.cover_full {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* === Activity Specific Image Blocks === */

/*=====  End of Image Block  ======*/

/*============================================
 =            Definition layout               =
 ============================================*/
div.definitionblock > img {
  position: relative;
  width: 50%;
  left: -20%;
}

div.definitionblock > figcaption {
  position: relative;
  margin-top: -8%;
  left: -21%;
  font-size: 2em;
  color: rgb(201, 136, 116);
}

div.definitionblock > p.definitiontextstyle {
  position: relative;
  text-align: left;
  margin-top: 15%;
  font-size: 1.5em;
  padding: 0% 2%;
  /* border  : 1px solid red; */
}

/*=====  End of Definition layout  ======*/

/*=====  End of general template layout  ======*/

.ul {
  text-decoration: underline;
}
.bold {
  font-weight: bold;
}

/* .speechbox{
	position: absolute;
	width: 25%;
	height: 15%;
	font-family: sniglet;
	font-size: 2.1vw;
} */
.speechbg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0%;
  left: 0%;
}
@media (min-aspect-ratio: 4/3) {
  .speechbox {
    font-size: 2.8vh;
  }
}
/* .speechbox > p {
  position: absolute;
  width: 84%;
  left: 8%;
  top: 40%;
  transform: translateY(-50%);
} */
.speechbox > .audioicon {
  position: absolute;
  width: 10%;
  right: 5%;
  top: 12%;
}

/*-------------- For Loading ---------------*/

#loading-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: #222;
}

#loading-text {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  color: #999;
  text-align: center;
  transform: translate(-50%, -50%);
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 3vmin;
}

#loading-content {
  display: block;
  position: absolute;
  left: 40%;
  top: 33.35%;
  width: 20%;
  height: 33.3%;
  transform: translate(-50%, -50%);
  border: 3px solid #f00;
}

#loading-content:after {
  content: '';
  position: absolute;
  border: 3px solid #0f0;
  left: 15%;
  right: 15%;
  top: 15%;
  bottom: 15%;
}

#loading-content:before {
  content: '';
  position: absolute;
  border: 3px solid #00f;
  left: 5%;
  right: 5%;
  top: 5%;
  bottom: 5%;
}

#loading-content {
  border: 3px solid transparent;
  border-top-color: #4d658d;
  border-bottom-color: #4d658d;
  border-radius: 50%;
  -webkit-animation: loader 2s linear infinite;
  -moz-animation: loader 2s linear infinite;
  -o-animation: loader 2s linear infinite;
  animation: loader 2s linear infinite;
}

#loading-content:before {
  border: 3px solid transparent;
  border-top-color: #d4cc6a;
  border-bottom-color: #d4cc6a;
  border-radius: 50%;
  -webkit-animation: loader 3s linear infinite;
  -moz-animation: loader 2s linear infinite;
  -o-animation: loader 2s linear infinite;
  animation: loader 3s linear infinite;
}

#loading-content:after {
  border: 3px solid transparent;
  border-top-color: #84417c;
  border-bottom-color: #84417c;
  border-radius: 50%;
  -webkit-animation: loader 1.5s linear infinite;
  animation: loader 1.5s linear infinite;
  -moz-animation: loader 2s linear infinite;
  -o-animation: loader 2s linear infinite;
}

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

@keyframes loader {
  0% {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.blurin {
  animation: blurin 1s forwards;
}

@keyframes blurin {
  0% {
    opacity: 0;
    filter: blur(5px);
  }
  100% {
    opacity: 1;
  }
}
.fadein {
  animation: fadein 1s ease-in forwards;
}
@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body:lang(np),
body:lang(np) * {
  font-family: laila !important;
}

/*-------------- For Loading ---------------*/

.chapter {
  position: relative;
  width: 100%;
  height: 100%;
}

#loading-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: #222;
}

#loading-text {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  color: #999;
  text-align: center;
  transform: translate(-50%, -50%);
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 3vmin;
}

#loading-content {
  display: block;
  position: absolute;
  left: 40%;
  top: 33.35%;
  width: 20%;
  height: 33.3%;
  transform: translate(-50%, -50%);
  border: 3px solid #f00;
}

#loading-content:after {
  content: '';
  position: absolute;
  border: 3px solid #0f0;
  left: 15%;
  right: 15%;
  top: 15%;
  bottom: 15%;
}

#loading-content:before {
  content: '';
  position: absolute;
  border: 3px solid #00f;
  left: 5%;
  right: 5%;
  top: 5%;
  bottom: 5%;
}

#loading-content {
  border: 3px solid transparent;
  border-top-color: #4d658d;
  border-bottom-color: #4d658d;
  border-radius: 50%;
  -webkit-animation: loader 2s linear infinite;
  -moz-animation: loader 2s linear infinite;
  -o-animation: loader 2s linear infinite;
  animation: loader 2s linear infinite;
}

#loading-content:before {
  border: 3px solid transparent;
  border-top-color: #d4cc6a;
  border-bottom-color: #d4cc6a;
  border-radius: 50%;
  -webkit-animation: loader 3s linear infinite;
  -moz-animation: loader 2s linear infinite;
  -o-animation: loader 2s linear infinite;
  animation: loader 3s linear infinite;
}

#loading-content:after {
  border: 3px solid transparent;
  border-top-color: #84417c;
  border-bottom-color: #84417c;
  border-radius: 50%;
  -webkit-animation: loader 1.5s linear infinite;
  animation: loader 1.5s linear infinite;
  -moz-animation: loader 2s linear infinite;
  -o-animation: loader 2s linear infinite;
}

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

@keyframes loader {
  0% {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.blurin {
  animation: blurin 1s forwards;
}

@keyframes blurin {
  0% {
    opacity: 0;
    filter: blur(5px);
  }
  100% {
    opacity: 1;
  }
}
.fadein {
  animation: fadein 1s ease-in forwards;
}
@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.girl {
  width: auto;
  position: absolute;
  bottom: 0;
  left: 20%;
  height: 65%;
  object-fit: contain;
}

.speechbox {
  position: absolute;
  left: 45%;
  bottom: 40%;
  display: grid;
  place-content: center;
  width: 40%;
  aspect-ratio: 2/1;
  z-index: 100;
}

.speech-img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: -8%;
  object-fit: contain;
  left: -4%;
}

.speech-text {
  z-index: 1;
  text-align: center;
  width: 80%;
  margin: auto;
  /* font-size: 1.5svw; */
  /* padding-left: 3%; */
  justify-self: center;
}

.dishcontainer {
  position: absolute;
  bottom: 25%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5em;
}

.dishcontainer .dish {
  position: relative;
}

.dish {
  height: 100%;
}

.dish img {
  max-height: 100%;
  object-fit: cover;
}

.two-dish {
  height: 30%;
  bottom: 10%;
  left: 60%;
  justify-content: center;
}

.unit {
  position: absolute;
  left: 50%;
  top: 50%;
  /* translate: -50%; */
  transform: translate(-50%);
  font-weight: 600;
  font-size: 1.4svw;
  padding: 0.2em;
  border: 3px solid transparent;
  transition: all 1000ms ease;
}

.highlight-liter {
  border: 3px solid #ff0000;
}

.unit:has(.pointer) {
  left: 75%;
  top: 38%;
  width: 60%;
}

.dish img.pointer {
  position: relative;
}

.unit:has(.pointer)::after,
.dish.ripple:has(.pointer)::after {
  content: '';
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 3px solid #085151;
  position: absolute;
  inset: 0;
  z-index: -1;
  animation: fadeIn 1000ms infinite linear;
}

.question-answer__container {
  position: absolute;
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  gap: 2em;
}

.question,
.answer,
.correct-ans,
.incorrect-ans {
  --bg-color: #ffecfb;
  --border-color: #d477c0;
  --radius: 1em;
  --size: 1.7svw;
  background-color: var(--bg-color);
  border: 2px solid var(--border-color);
  padding: 5%;
  font-size: var(--size);
  border-radius: var(--radius);
}

.answer,
.correct-ans,
.incorrect-ans {
  --bg-color: #def8ff;
  --border-color: #1155cc;
  --radius: 0.5em;
  --size: 1.6svw;
  user-select: none;
  cursor: pointer;
  position: relative;
}

.correct-ans {
  --bg-color: #d9ead3;
  --border-color: #6aa84f;
}

.incorrect-ans {
  --bg-color: #f4cccc;
  --border-color: #cc0000;
}

.check-img {
  height: 40%;
  position: absolute;
  right: -5%;
  top: 0;
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  background-color: #eafe9f;
  font-size: 2em;
  padding: 0.2em 1em;
  color: rgb(68, 64, 64);
  border-bottom: 8px solid #cef04d;
}

.zoomIn {
  animation: zoomIn 1000ms linear forwards;
}
.zoomInReverted {
  animation: zoomInReverted 1000ms linear forwards;
}

.pulse {
  animation: fadeIn 1000ms 3 linear reverse;
}

:is(.question, .answer):has(.speaker) {
  position: relative;
  cursor: pointer;
}

.speaker {
  position: absolute;
  width: 3svw;
  top: 50%;
  translate: 0 -50%;
  right: 3%;
}

.speaker img {
  width: 100%;
}

@keyframes zoomIn {
  0% {
    scale: 1;
  }
  100% {
    scale: 1.3;
  }
}
@keyframes zoomInReverted {
  0% {
    scale: -1 1;
  }
  100% {
    scale: -1.3 1.3;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    scale: 0;
  }
  100% {
    opacity: 1;
    scale: 1;
  }
}

@media screen and (max-width: 768px) {
  .header {
    font-size: 1em;
    border-width: 2px;
  }
}

@media (min-aspect-ratio: 4/3) {
  .speech-text,
  body:lang(np) .speech-text {
    font-size: 2.5vh;
  }
}
