/* @font-face {
  font-family: 'Apple II Screen Typeface';
  font-style: normal;
  font-weight: 400;
  src: local('Apple II Screen Typeface'), url('PrintChar21.woff2') format('woff2');
} */

html {
  position: fixed;
  
  width: 100%;
  height: 100%;
  font-family: monospace;

  --font-size: 40px;
  --font-color: #08b916;
  text-shadow: 0 0 5px #00bd10;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  --bg-shadow-color: rgba(0, 46, 12, 0.61);
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;

  padding: 0 20px;

  background: #00180b;
  color: var(--font-color);

  box-shadow: inset 0 0 200px var(--bg-shadow-color), 0 0 100px var(--bg-shadow-color), 0 0 50px var(--bg-shadow-color);
}

#amt-correct {
  width: 100px;
}

#possible-words {
  max-height: 60vh;
  overflow-y: auto;
}

.typed-sentence-container {
  position: absolute;

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

  flex-wrap: wrap;

  width: 100%;
  height: 100%;
}

.typing-indicator {
  position: absolute;
  width: 36px;
  height: 35px;
  
  border-top: 4px solid var(--font-color);
  transition: opacity 0.0167s ease-in-out !important;
  animation: typing-indicator-pulse 1s infinite;
}

@keyframes typing-indicator-pulse {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.typed-text-container {
  position: relative;

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

  flex-wrap: wrap;

  width: 80%;
  height: 50%;
}

/* .typed-text-container  * {
  opacity: 1 !important;
} */

.typed-letter {
  position: relative;

  display: inline-block;

  opacity: 0;
  font-size: var(--font-size);

  /* transform: translateY(20px); */
  /* transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; */

  padding: 4px 0;
  color: var(--font-color);
  text-shadow: 0 0 10px #00bd10;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

.hide {
  opacity: 0;
  transform: translateY(20px);
}

@keyframes bg-shadow-pulse {
  0% {
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
  }
  50% {
    box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.5);
  }
  100% {
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
  }
}

@media (max-width: 768px) {
  .typed-text-container {
    width: 100%;
    height: 100%;
  }
}