@font-face {
  font-family: andika;
  src: url('../../../../../fonts/Andika-Regular.ttf');
}
.my_activity {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  font-size: 1.3em;
  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;
  font-family: andika !important;
}

.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%;
}

/*=====  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%;
  z-index: 5;
}

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  ======*/
.speechbox {
  background-color: #ffffffff;
  top: 25%;
  left: 42%;
  width: 35%;
  height: auto;
  padding: 3% 2%;
  border: 0.15em solid #3c78d8;
  border-radius: 1em;
  position: relative;
  color: #3c78d8;
  font-size: 2vmin;
  box-shadow: 0 0.2em 0.1em #1155cc;
}

.speechbox::after,
.speechbox::before {
  --caret-unit: 2.4em;
  content: '';
  display: block;
  position: absolute;
  border-bottom: var(--caret-unit) solid #fff;
  border-right: var(--caret-unit) solid transparent;
  right: calc(-0.99 * var(--caret-unit));
  bottom: calc(var(--caret-unit) / 3);
  transform-origin: center;
  transform: skewY(10deg);
}

.speechbox::before {
  --caret-unit: 2.7em;
  right: calc(-1 * var(--caret-unit));
  bottom: calc(var(--caret-unit) / 4);
  border-bottom: var(--caret-unit) solid #3c78d8;
}
/*-------------- 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-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);
  }
}

.textblock {
  height: 100%;
  width: 100%;
}

.bg-full {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
}

.inverted {
  transform: scale(-1, 1);
}

.headerblock {
  background-color: #3c78d8ff;
  color: #fff;
  font-size: 2.5vmin;
  font-weight: 800;
  min-height: 10%;
  display: grid;
  place-content: center; 
  box-shadow: 0 0.2em 0.1em rgba(28 69 135/.7);
}
 

.character {
  position: absolute;
  height: 50%;
  left: 35%;
  bottom: 5%;
}

.sabina {
  top: unset;
  left: 45%;
  height: 70%;
  bottom: -15%;
  z-index: 50;
}

.sabina-zoomed {
  left: 50%;
  height: 120%;
  bottom: -50%;
}
.sabina-left {
  left: 0%;
}
.qna-container {
  width: 100%;
  height: 90%;
  top: 10%;
  display: flex;
  justify-content: space-between;
}

.qna-container .question-content {
  flex: 3;
  height: 55%; 
}

.qna-container .qimg-container {
  flex: 2;
  display: grid;
  place-content: center;
  padding: 5%;
  height: 100%;
}

.qimg-container img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.options-container{
  height: 100%;
}

.option {
  --opt-bg: #3c78d8ff;
  --opt-border__color: transparent;
  --opt-color: #fff;
  width: 80%;
  height: 30%;
  margin: 5% auto;
  background-color: var(--opt-bg);
  border-radius: 0.5em;
  box-shadow: 0.1em 0.1em 0.1em rgb(19 79 92/0.5);
  color: var(--opt-color);
  font-size: 3vmin;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.2em;
  flex-wrap: wrap;
  padding: 1%;
  border: 0.1em solid var(--opt-border__color);
  transition: all 500ms ease;
  cursor: pointer;
  pointer-events: none;
  user-select: none;
}

.option:is(:hover, :focus, :active) {
  --opt-color: #fff;
  --opt-border__color: #bf9000;
  --opt-bg: #f1c232ff;
  transform: translate(-0.05em, -0.2em);
}

.option.correctans {
  --opt-color: #fff;
  --opt-border__color: #274e13;
  --opt-bg: #54a531ff;
}
.option.incorrectans {
  --opt-color: #fff;
  --opt-border__color: #990000;
  --opt-bg: #d73e3eff;
}

.pointer {
  position: absolute;
  bottom: 0%;
  left: 10%;
  width: 5%;
  display: none;
  cursor: pointer;
}

@media (min-aspect-ratio: 4/3) {
  .speechbox {
    font-size: 3vh;
  }
  
  div.headerblock {
    font-size: 2.9vh;
  }
}
