* {
  z-index: 0;
  --user-select: none;
}

body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  background: #35c2e6;
  display: flex;
  justify-content: center;
  align-items: center;
}
body > div {
  position: relative;
  background: white;
  width: 200px;
  height: 200px;
  display: block;
  outline: 1px solid #000;
  border-radius: 5px;
  box-shadow: 0 0 10px #000;
  margin: 10px;
  text-align: center;
}
body > div > #correct {
  color: blue;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 110px;
  line-height: 110px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 5px;
  z-index: 3;
}
body > div > #correct > p {
  font-size: 16px;
  line-height: 16px;
}
body > div > #canvDiv {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: white;
  border-radius: 5px;
}
body > div > #canvDiv > div {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: white;
  border-radius: 5px;
}
body > div > #canvDiv > canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
body > div > #clearButton {
  position: absolute;
  cursor: pointer;
  bottom: 0px;
  left: 0;
  width: 190px;
  border-radius: 5px;
  outline: 1px solid #000;
  background: #f00;
  color: white;
  cursor: pointer;
  height: 20px;
  padding: 5px;
  transition: 0.5s bottom;
  z-index: 1;
  text-align: center;
}
body > div .clearButtonShow {
  bottom: -40px !important;
}
body #taskDiv {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
body #taskDiv button {
  height: 30px;
  border-radius: 5px;
  background: blue;
  color: white;
  outline: 1px solid #000;
  border: none;
  cursor: pointer;
  margin: 5px;
}
body #taskDiv button.bigButton {
  width: 100px;
}
body #taskDiv button.smallButton {
  width: 50px;
}
body #taskDiv button.mediumButton {
  width: 75px;
}
body #taskDiv button:hover {
  background: #09099b;
}
body #taskDiv > div {
  margin: 3px;
}
body #taskDiv #alphabetSelection {
  display: flex;
  height: 100%;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
}
body #taskDiv > .japChar {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 30px;
  line-height: 30px;
}
body #taskDiv > #detected {
  height: 20px;
  line-height: 16px;
}
body .loading {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  border-radius: 5px;
  outline: 1px solid black;
}
body .loading > i {
  display: flex;
  animation: spin 2s linear infinite;
  font-size: 100px;
  color: blue;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.good {
  outline: 3px solid green !important;
}

.bad {
  outline: 3px solid red !important;
}

.shake {
  animation: shake 0.5s linear;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-20%);
  }
  50% {
    transform: translateX(20%);
  }
  75% {
    transform: translateX(-20%);
  }
  100% {
    transform: translateX(0);
  }
}/*# sourceMappingURL=style.css.map */