@font-face {
  font-family: roadrage;
  src: url('../../../../../../fonts/Road_Rage/RoadRage-Regular.ttf');
}

@font-face {
  font-family: inter;
  src: url('../../../../../../fonts/inter/Inter-VariableFont_slnt\,wght.ttf');
}

.coverboardfull {
  font-family: roadrage;
  color: #7ad3ff;
  background: #000b26;
}

.instruction {
  top: 20%;
  font-size: 3.5vw;
  line-height: 1em;
}

svg#number-line {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%);
}

svg .tick-group:not([data-num='0']) .tick-circle {
  display: none;
}

.coverboardfull > *:not(svg, .bg-full, .road) {
  z-index: 5;
}

.road {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translateX(-50%);
  display: none;
}

svg :is(#west, #east) {
  display: none;
}

svg.arrow-line {
  position: absolute;
  text-transform: uppercase;
}

.explanation-container {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 80%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10%;
  padding: 1%;
  /* display: none; */
  z-index: 1000 !important;
}

.explanation-container::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 210%;
  background-color: rgba(14 14 14/.9);
  z-index: -1;
}

.explanation {
  width: 40%;
  height: 100%;
  font-family: inter;
  padding: 1%;
}

.explanation img {
  height: 100%;
  width: 100%;
  object-fit: fill;
  position: absolute;
  inset: 0 auto auto 0;
  margin: auto;
}

.explanation .explanation-headerbg {
  top: 5%;
  width: 80%;
  height: 20%;
  left: 50%;
  transform: translate(-50%);
}

.explanation .explanation-detailbg {
  height: 39%;
  top: unset;
  bottom: 3%;
}

:is(.explanation-title, .explanation-header) {
  color: #fff;
  font-size: 0.8em;
  width: 45%;
  padding: 1%;
  margin: auto;
  clip-path: polygon(5% 0%, 95% 0%, 100% 50%, 95% 100%, 5% 100%, 0% 50%);
  background-color: var(--highlight-color);
  top: 3.5%;
}

:is(.explanation-title, .explanation-header)::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: -1;
  inset: 50% 50% auto auto;
  transform: translate(50%, -50%);
  width: 99%;
  height: 94%;
  background-color: var(--main-color);
  clip-path: inherit;
}

.explanation-title {
  position: absolute;
  top: unset;
  bottom: 36%;
  left: 50%;
  transform: translate(-50%);
  display: none;
}

.explanation .explanation-header {
  color: #7ad3ff;
  width: 90%;
  height: max-content;
  padding: 1% 3%;
  margin: 1em auto;
  font-size: 2vw;
  inline-size: 28ch;
}

.explanation .explanation-header span {
  text-transform: capitalize;
}

.explanation .explanation-definition {
  color: #74aae8;
  font-size: 1.6vw;
  margin-bottom: 1em;
}

.explanation :is(.explanation-detail, .explanation-value) {
  color: #fff;
  font-size: 1.2vw;
}

.explanation .explanation-detail {
  margin-top: 1.2em;
  font-size: 1.4vw;
  position: absolute;
  top: 62%;
  left: 50%;
  transform: translate(-50%);
  width: 70%;
  display: none;
}

.explanation-detailbg,
.explanation-container,
.displacement-exp,
.alt-title,
.alt-detail {
  display: none;
}

.btn.show-expmodal {
  font-size: 1.4em;
  position: absolute;
  left: 50%;
  bottom: 2%;
  transform: translateX(-50%);
  display: none;
}
.btn.show-expmodal:lang(np){
  font-size: 1.2em;
}

.btn.btn-close__modal {
  position: absolute;
  height: 1.2em;
  width: auto;
  top: 0%;
  left: unset;
  right: 3%; 
}

.help-tutorial{
  --_icon-size: 1.5em;
  background-color: #454653;
  border: 0.1em solid #fff;
  font-size: 2em;
  width: var(--_icon-size); 
  height: var(--_icon-size);
  display: grid;
  place-content: center;
  border-radius: 50%;
  position: absolute;
  top: 5%;
  right: 5%;
  cursor: pointer;
}

@media (min-aspect-ratio: 4/3) {
  .instruction {
    font-size: 5vh;
  }
  .instruction:lang(np) {
    font-size: 4vh;
  }
  .explanation .explanation-header {
    font-size: 2.5vh;
  }
  .explanation .explanation-definition {
    font-size: 2vh;
  }
  .explanation .explanation-detail {
    font-size: 1.8vh;
  }
  .explanation .explanation-value {
    font-size: 2vh;
  }
}



.coverboardfull > .help-video {
  border: 1px solid;
  height: 100%;
  width: 100%;
  position: absolute;
  inset: 0;
  margin: auto;
  display: grid;
  place-content: center;
  background-color: rgb(14 14 14 / 0.5);
  backdrop-filter: blur(4px);
  display: none;
  z-index: 1000;
}
 

.help-video video {
  width: 90%;
  height: 95%;
  margin: auto;
}
.coverboardfull > .close-btn {
  position: absolute;
  z-index: 10000;
  height: 8%;
  width: auto;
  right: 3%;
  top: 2%;
  display: none;
  cursor: pointer;
}
