/*
	Typography mixin
 */
/* CSS Document */
#gg_container {
  background-color: #afdff9;
  font-family: twinkl, Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  user-select: none;
}

.foreground-container {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 103;
  position: absolute;
  pointer-events: none;
}

:focus {
  outline: none;
}

.border-radius {
  border-radius: 8px;
}

.text-button.play {
  width: 40%;
  line-height: 1.15;
  padding: 2.5% 1.5% 2.5% 1.5%;
  font-size: 2vw;
  border: none;
}

#lets-go-button {
  width: 20%;
  font-size: 3vw;
  height: 12%;
  padding: 0.6%;
}

.fit-me-button {
  height: 100%;
  width: 80%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  white-space: nowrap !important;
}

#play-again {
  margin: auto;
}

.title-text {
  font-size: 14vw;
  width: 50%;
  left: 25%;
  height: 40%;
  margin-top: 5%;
  top: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  user-select: none;
}

#titlePage {
  width: 100%;
  height: 100%;
}

#subContainer {
  position: absolute;
  height: auto;
  top: 55%;
  width: 100%;
  color: white;
  padding: 1%;
  font-weight: 600;
  font-size: 3vw;
  user-select: none;
}

.jodal .jodal-title {
  font-size: 5vw;
  margin: 0 auto;
}
.jodal .jodal-text {
  font-size: 2.6vw;
}
.jodal .answer-text {
  text-align: center;
  z-index: 100;
  width: 90%;
  height: 15%;
  margin: 0 auto;
  margin-bottom: 5%;
}
.jodal .jodal-sub-text {
  font-size: 2.6vw;
}

#mainPage {
  width: 100%;
  height: 100%;
}

.panel {
  width: 100%;
  height: 100%;
  display: inline-block;
  justify-content: center;
  font-size: 3vw;
}

.fill-span:hover {
  cursor: pointer;
}

.spelling-panel {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 200;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2%;
}

#tInput {
  height: 100%;
  width: 80%;
  font-size: 3vw;
  font-family: Twinkl;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1%;
}

.check-button {
  height: 100%;
  width: 20%;
}

.spelling-box-enter {
  width: 100%;
  height: 20%;
  display: flex;
  flex-direction: row;
}

#keyboard {
  height: 100%;
  width: 100%;
  margin: auto;
  border-radius: 12px;
  font-size: 1.5rem;
}

.keyboard-cont {
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  width: 100%;
  height: 45%;
}

:host {
  height: var(--keyboard-height);
}

#keyboard {
  position: relative;
  user-select: none;
  padding: 2%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#keyboard .row {
  position: relative;
  display: flex;
  flex-direction: row;
  height: 25%;
  max-height: 25%;
  justify-content: center;
  width: 100%;
  margin: 0 auto 8px;
  flex-wrap: nowrap !important;
  /* https://stackoverflow.com/questions/46167604/ios-html-disable-double-tap-to-zoom */
}

#keyboard .row .key-item {
  font-family: inherit;
  font-weight: bold;
  border: 0;
  padding: 1%;
  margin: 0 6px 0 0;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  background-color: white;
  height: 100%;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.3);
  position: relative;
}
#keyboard .row .key-item .inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  text-align: center;
}

#keyboard .row div:focus {
  outline: none;
}

#keyboard .row div.fade {
  transition: background-color 0.1s ease, color 0.1s ease;
}

#keyboard .row div:last-of-type {
  margin: 0;
}

.half {
  flex: 0.5;
}

.one {
  flex: 1;
}

.one-and-a-half {
  flex: 1.5;
  font-size: 12px;
}

.two {
  flex: 2;
}

.red-word {
  color: red;
}

.correct-word {
  color: green;
}

.line-panel {
  height: 80%;
  width: 90%;
  background-color: white;
  padding: 2%;
  margin: 2%;
  position: relative;
  border-radius: 12px;
}

.word-to-replace {
  height: 100%;
  width: 100%;
  max-height: 100%;
  color: white;
  text-align: center;
  font-weight: bold;
  overflow: hidden;
}

.shake {
  animation: shake 0.7s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }
  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }
  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}
.pop-in {
  animation: pop-in 0.5s ease-out;
}

@keyframes pop-in {
  0% {
    opacity: 0;
    margin-top: 30%;
  }
  100% {
    opacity: 1;
    margin-top: 0;
  }
}
.button-cont-bottom {
  padding: 0 3%;
  width: 93.5%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  bottom: 0;
  height: 10%;
}

.reveal-button {
  padding: 1%;
  width: 20%;
}

.total-mistake-counter {
  font-weight: bold;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 1%;
}

.close-spelling-panel {
  width: 10%;
  height: 100%;
  align-items: center;
  align-content: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.top-area-spell {
  width: 100%;
  height: 15%;
  padding: 0.5%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  overflow: hidden;
  margin-bottom: 2%;
}

.optional-image-cont {
  width: 90%;
  height: 50%;
  margin: 1% auto;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

[data-key=space] {
  /* Styles */
  width: 70% !important;
}

.loading-bar {
  width: 95.5%;
  height: 10px;
  background-color: gainsboro;
  bottom: 4%;
  position: absolute;
}

.loading-bar-inner {
  width: 0%;
  height: 100%;
  transition: width;
}

.shift-arrow {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}
.shift-arrow svg {
  width: auto;
  height: 70%;
}

.has-image .sentence-text-cont {
  height: 40%;
  overflow: auto;
}

.sentence-text-cont {
  height: 90%;
  overflow: auto;
}

.audio-play-button {
  position: relative;
  width: 20%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  margin-right: 50%;
}

.play-audio-text {
  width: 60%;
  height: 100%;
  font-weight: 500;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin-right: 2%;
}

.audio-play-icon {
  height: 80%;
  position: relative;
  margin: auto 5%;
}

.icon-holder {
  width: 25%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/*# sourceMappingURL=spot-the-mistake.css.map */
