html,
body {
  height: 100% !important;
  overflow: hidden;
}

html * {
  -webkit-tap-highlight-color: transparent;
  -moz-tap-highlight-color: transparent;
  -o-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

@media screen and (max-height: 530px) and (max-width: 270px) {
  .instructions.top,
  .credit-txt.info,
  .credit-title,
  .button-txt,
  .credit-txt {
    font-size: 3.2vh !important;
    line-height: 3.2vh;
  }

  .subtitles {
    font-size: 6vh;
    line-height: 6vh;
  }
}

@media screen and (max-height: 350px) and (max-width: 660px) {
  .instructions.top,
  .credit-txt.info,
  .credit-title,
  .button-txt,
  .credit-txt {
    font-size: 5vh !important;
    line-height: 5vh;
  }

  .subtitles {
    font-size: 10vh;
    line-height: 10vh;
  }
}

@media screen and (max-height: 560px) and (min-width: 768px) {
  .playpause-button {
    bottom: 250%;
  }
}

.subtitle-bloc,
.homebutton-container {
  pointer-events: none !important;
}

.btn-container svg {
  z-index: 901;
}

.cls-1 {
  fill: #fff;
}

.chapter-selection {
  cursor: pointer;
}

.info-wrapper {
  display: none;
}

.instructions-wrapper {
  display: flex;
}

.main-container {
  display: none;
  height: 100%;
  /* opacity: 0; */
}

.page-container {
  display: none;
}

.playpause-button {
  transition: all 0.8s ease-in-out;
  opacity: 1;
  cursor: pointer;
}

.playpause-button .hide {
  opacity: 0;
}

/* Animations */

.grow {
  transition: all 0.3s ease-in-out;
  transform: scale(1);
}

.grow:hover {
  transform: scale(1.05);
}

@media screen and (max-width: 900px) {
  .grow:hover {
    transform: scale(1);
  }
}

.grow.shrink {
  transform: scale(0.97);
}

#arrow-instructions {
  animation: bounce 0.7s ease-in-out infinite alternate;
}

@keyframes bounce {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(15px);
  }
}

@-webkit-keyframes bounce {
  from {
    -webkit-transform: translateY(0);
  }
  to {
    -webkit-transform: translateY(15px);
  }
}
