* {
  padding: 0;
  margin: 0;
  border: 0;
}

.overlay {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  z-index: 50;
  background-color: black;
}

.flashlight-popup {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50vw;
  font-size: 3vw;
  height: 30vh;
  z-index: 50;
  background-color: rgb(108, 106, 106);
}

.flashlight-button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 6vw;
  margin-top: 3vh;
  width: 30vw;
  height: 10vh;
  z-index: 50;
  background-color: rgb(44, 43, 43);
}

.moving {
  transition: top 0.6s ease, left 0.6s ease;
}

.backdrop {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: black;
  /* background-image: url('concrete_wall.jpg'); */
}

.outer-container {
  position: absolute;
  left: -10000px;
  top: -10000px;
  display: flex;
  flex-direction: column;
  /* background-color: rgb(236, 162, 207); */
  /* border: 1px solid black; */
  width: 20vw;
  height: 10vw;
  /* transform: translate(30%, 30%); */
  z-index: 5;
  opacity: 1;
}

.prompt-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(58, 54, 54, 0.476);
  /* background-color: rgb(0, 200, 255); */
  /* border: 1px solid black; */
  text-shadow: 1px 1px 2px #000000, /* Dark shadow */ -1px -1px 2px #ffffff;
  top: 0px;
  width: auto;
  height: 50%;
  opacity: 0;
}

.prompt-container.visible {
  opacity: 1;
  transition: opacity 0.6s ease-in;
}

.prompt-letter-container {
  display: flex;
  align-items: center;
  justify-content: center;
  /* background-color: rgb(243, 241, 236); */
  /* border: 1px solid black; */
  font-size: 3vw;
  /* width: 2vw; */
  width: auto;
  padding-left: 0.2vw;
  padding-right: 0.2vw;
  height: 75%;
}

.typing-container {
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(6, 6, 6, 0.986);
  /* font-weight: 500; */
  /* background-color: rgb(139, 225, 139); */
  /* border: 1px solid black; */
  text-shadow: 0.5px 0.5px 1px #00000077, -0.5px -0.5px 1px #ffffff4d;
  width: auto;
  height: 50%;
}

.typing-letter-container {
  display: flex;
  align-items: center;
  justify-content: center;
  /* background-color: rgb(231, 231, 244); */
  /* border: 1px solid black; */
  font-size: 3vw;
  color: black;
  /* width: 2vw; */
  width: auto;
  padding-left: 0.2vw;
  padding-right: 0.2vw;
  height: 75%;
  opacity: 1;
}

.current-letter {
  background-color: rgba(255, 255, 0, 0.592);
}

.incorrect-letter {
  color: red;
  opacity: 1;
}

/* .spotlight {
  position: absolute;
  top: -10000px;
  left: -10000px;
  width: 0px;
  height: 0px;
  border: 1px solid red;
  background-color: rgba(216, 241, 21, 0.477);
  background-color: rgba(255, 255, 0, 0.837);
  background-image: url(concrete_wall.jpg);
  background-position: 0px 0px;
  transition: background-position 0.8s ease;
  transition: 0.8s ease;
  pointer-events: none;
  border-radius: 50%;
  box-shadow: 0 0 60px inset black;
  z-index: 3;
} */

.spotlight {
  position: absolute;
  top: -10000px;
  left: -10000px;
  width: 0px;
  height: 0px;
  /* border: 1px solid red; */
  /* background-color: rgba(216, 241, 21, 0.477); */
  background-image: url(concrete_wall.jpg);
  background-position: 0px 0px;
  transition: 0.6s ease, background-position 0.6s ease;
  pointer-events: none;
  border-radius: 50%;
  box-shadow: 0 0 25px 10px inset rgba(0, 0, 0, 0.584),
    0 0 90px 70px rgba(255, 255, 0, 0.226);
  filter: blur(5px);
  z-index: 3;
  overflow: hidden;
}

.spotlight::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(255, 255, 0);
  opacity: 0.3;
  z-index: -1;
}

.placeholder {
  opacity: 0;
}

.hidden {
  display: none;
}
