@font-face {
  font-family: KoreanCalligraphy;
  src: url("./korean_calligraphy.ttf");
}

@font-face {
  font-family: JapestylePlain;
  src: url("./japestyle_plain.ttf");
}

body {
  font-family: KoreanCalligraphy;
  margin: 0;
  padding: 0;
  background: radial-gradient(red 50%, rgba(0, 0, 0, 0) 50.3%) no-repeat;
  background-size: 86vh 86vh;
  background-position: 16% 50vh;
}

figure {
  margin: 0;
}

.secondary-font {
  font-family: JapestylePlain;
}

.font-conflict-repair {
  margin-top: 1.5vh;
}

.hidden {
  display: none;
}

.red {
  color: red;
  cursor: pointer;
}

#dragon-head {
  width: 30vmin;
  height: 30vmin;
  left: -22vmin;
  top: -22vmin;
  -webkit-transition: 0.6s;
  transition: 0.6s;
  position: fixed;
  background: url("./dragonHead.png");
  background-size: 100% 100%;
}

#dragon-head.active {
  top: 0;
  left: 0;
}

#dragon-paw {
  width: 20vmin;
  height: 20vmin;
  position: fixed;
  left: -20vmin;
  top: 18vmin;
  -webkit-transition: 0.6s;
  transition: 0.6s;
  background: url("./dragonPaw0.png");
  background-size: 100% 100%;
}

#dragon-paw.active {
  left: 0;
}

#dragon-paw.clock-ticking {
  -webkit-transition: 8s;
  transition: 8s;
}

#dragon-paw #time-orb {
  width: 10vmin;
  height: 10vmin;
  display: block;
  color: white;
  font-size: 6vmin;
  text-align: center;
  padding: 2.44vmin 0 0 6.25vmin;
}

#alphabet-choice-menu {
  position: absolute;
  bottom: 3vmin;
  left: 3vmin;
}

#alphabet-choice-menu .label {
  font-size: 2.66vmin;
  display: block;
  margin-bottom: 1.8vmin;
}

#alphabet-choice-menu .choose-alphabet {
  display: block;
  font-size: 4.2vmin;
  color: #fff;
  text-shadow: 2px 1px 1px #000, -1px 1px #000, 1px -1px #000, -1px -1px #000;
  cursor: pointer;
}

#alphabet-choice-menu .choose-alphabet.first {
  margin-bottom: 0.3vmin;
}

#alphabet-choice-menu .choose-alphabet.active {
  color: red;
}

#alphabet-choice-menu .choose-alphabet:hover {
  color: red;
}

#game-start-button {
  background: url("./titleUpperBg.jpg");
  background-size: 100% 100%;
  width: 65vmin;
  font-size: 5.5vh;
  margin: 0 auto;
  text-align: center;
  padding: 1.6vmin 2vmin;
  cursor: pointer;
  color: white;
}

#stats {
  background: url("./titleBottomBg.jpg");
  background-size: 100% 100%;
  width: 50vmin;
  height: 7vmin;
  margin: 0.6vh auto 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: white;
  position: relative;
}

#stats #correct {
  position: absolute;
  height: 100%;
  width: 8%;
  margin: 0;
  left: 0;
  color: blue;
  text-shadow: 0.09vw 0.09vw white, 0.09vw -0.09vw white, -0.09vw 0.09vw white, -0.09vw -0.09vw white;
  background: rgba(0, 0, 255, 0.4);
}

#stats #correct .text {
  display: block;
  margin: 1.2vh 0 0 0.5vw;
  text-align: left;
}

#stats #incorrect {
  position: absolute;
  height: 100%;
  width: 8%;
  margin: 0;
  right: 0;
  color: red;
  text-shadow: 0.09vw 0.09vw white, 0.09vw -0.09vw white, -0.09vw 0.09vw white, -0.09vw -0.09vw white;
  background: rgba(255, 0, 0, 0.4);
}

#stats #incorrect .text {
  display: block;
  margin: 1.2vh 0.5vh 0 0;
  text-align: right;
}

#stats #ratio {
  position: absolute;
  left: 46%;
}

#stats .counters {
  font-size: 5vmin;
}

#show-correct-popup {
  width: 50vmin;
  height: 50vmin;
  position: absolute;
  margin: 0 auto;
  top: calc((50vmin - 50vmin) / 2);
  right: calc((50vmin - 50vmin) / 2);
  background: white;
  border: 2px red solid;
  font-size: 3vmin;
  text-align: center;
}

#show-correct-popup h2 {
  margin: 0;
  padding: 1.5vmin 0;
  border-bottom: 1px dotted red;
}

#show-correct-popup .small {
  font-size: 3vmin;
}

#show-correct-popup .smaller {
  font-size: 2.2vmin;
}

#show-correct-popup .correct-char.romaji {
  margin-top: 1.5vmin;
  font-size: 6.66vmin;
}

#show-correct-popup .correct-char.japanese {
  margin: -4.5vmin 0;
  font-size: 20vmin;
}

#char-table {
  position: relative;
  width: 50vmin;
  height: 50vmin;
  margin: 0 auto;
  margin-top: 10vmin;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

#char-table .cell {
  margin: 0.2vw;
  width: 20%;
  height: 20%;
  font-size: 8vmin;
  text-align: center;
  border-radius: 12%;
  cursor: pointer;
}

#char-table .cell:hover {
  color: white;
  text-shadow: 0.09vw 0.09vw 0.075vw black, -0.09vw 0.09vw 0.075vw black, 0.09vw -0.09vw 0.075vw black, -0.09vw -0.09vw 0.075vw black;
}

#char-table .a {
  background: url("./tileBgA.jpg") no-repeat;
  background-size: 100% 100%;
}

#char-table .b {
  background: url("./tileBgB.jpg") no-repeat;
  background-size: 100% 100%;
}

#guessed-char-zone {
  width: 50vmin;
  height: 10vh;
  background: url("./bottomInfo.jpg");
  background-size: 100% 100%;
  margin: 3.5vh auto 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#guessed-char-zone .label {
  font-size: 7vmin;
  padding-left: 16px;
}

#guessed-char-zone .content {
  font-size: 12vmin;
  text-transform: uppercase;
}

#settings {
  width: 22%;
  max-width: 25vmin;
  height: 100%;
  background: url("./bambooBg.jpg") repeat-y;
  background-size: auto 50%;
  position: fixed;
  top: 0;
  right: 0;
  -webkit-transition: 0.6;
  transition: 0.6;
}

#settings.gray {
  -webkit-filter: saturate(0);
          filter: saturate(0);
}

#settings .info {
  position: absolute;
  left: -81%;
  top: 55%;
  font-size: 3.5vmin;
  -webkit-transform: rotate(-90deg);
          transform: rotate(-90deg);
}

#settings .button {
  width: 80%;
  height: 12vmin;
  border: 0;
  font-family: KoreanCalligraphy;
  font-size: 3.6vmin;
  text-align: center;
  background: url("./settingBg.png") no-repeat;
  background-size: 100% 100%;
  margin: -3vmin 0 4vmin 3vmin;
  color: #72972d;
  text-shadow: 0.09vw 0.09vw black, 0.09vw -0.09vw black, -0.09vw 0.09vw black, -0.09vw -0.09vw black;
  cursor: pointer;
}

#settings .button.gray {
  -webkit-filter: saturate(0);
          filter: saturate(0);
}

#settings .button.gray:hover {
  color: #72972d;
}

#settings .button.first {
  margin-top: 2vmin;
}

#settings .button:hover {
  color: #d18b46;
}

#settings .button:focus {
  outline: none;
}

#settings .button .inner {
  display: block;
  margin-top: -1.44vmin;
}

#settings .button .inner .top {
  line-height: 5.5vmin;
}

#settings .button .inner .bottom {
  line-height: 4px;
  font-size: 4.33vmin;
}

#settings .leaves {
  position: absolute;
}

#settings .leaves.g1 {
  width: 100%;
  height: 22%;
  right: 78%;
  bottom: 0;
  background: url(./leaves02.png) no-repeat;
  background-size: 100% 100%;
}

#settings .leaves.g2 {
  width: 170%;
  height: 37%;
  right: -13%;
  bottom: -3.8%;
  background: url(./leaves01.png) no-repeat;
  background-size: 100% 100%;
}

#settings .leaves.g3 {
  width: 18%;
  height: 36%;
  right: 6%;
  bottom: -6.8%;
  background: url(./leaf01.png) no-repeat;
  background-size: 100% 100%;
  -webkit-transform: rotate(10deg);
          transform: rotate(10deg);
}

#settings .leaves.g4 {
  width: 15%;
  height: 30%;
  right: 23%;
  bottom: -13.8%;
  background: url(./leaf01.png) no-repeat;
  background-size: 100% 100%;
  -webkit-transform: rotate(-11deg);
          transform: rotate(-11deg);
}

#settings .leaves.g5 {
  width: 81%;
  height: 19%;
  right: 82%;
  bottom: 73.6%;
  background: url(./leaves02.png) no-repeat;
  background-size: 100% 100%;
  -webkit-transform: rotate(-10deg);
          transform: rotate(-10deg);
}

#settings .leaves.g6 {
  width: 57%;
  height: 13%;
  right: 80%;
  bottom: 63.6%;
  background: url(./leaves01.png) no-repeat;
  background-size: 100% 100%;
  -webkit-transform: rotate(-10deg);
  transform: rotate(-70deg);
}

#settings .leaves.g7 {
  width: 17%;
  height: 26%;
  right: 6.33%;
  bottom: 46.078%;
  background: url(./leaf01.png) no-repeat;
  background-size: 100% 100%;
  -webkit-transform: rotate(-22deg);
          transform: rotate(-22deg);
}

#settings .leaves.g8 {
  width: 14%;
  height: 19%;
  right: 10%;
  bottom: 42%;
  background: url(./leaf02.png) no-repeat;
  background-size: 100% 100%;
  -webkit-transform: rotate(-41.104deg);
          transform: rotate(-41.104deg);
}

#settings .leaves.blur1 {
  -webkit-filter: blur(4px);
          filter: blur(4px);
}

#settings .leaves.blur2 {
  -webkit-filter: blur(12.5px);
          filter: blur(12.5px);
}

footer.offline-signature {
  width: 60%;
  margin: 12px auto;
}

footer.offline-signature a {
  text-decoration: none;
  color: red;
  background: #fff;
  padding: 2px;
}
/*# sourceMappingURL=japanese-styles.css.map */