@keyframes gaming-animation {
  to {
    background-position-x: 200%;
  }
}
body {
  display: flex;
  flex-flow: column;
  min-height: 100vh;
}

header {
  padding-top: 1rem;
  text-align: center;
  background-color: #f9f5ff;
  display: none;
}

main {
  flex: 1;
}
main nav {
  width: 1000px;
  margin: 3px auto;
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  align-items: center;
}
main nav .score {
  display: flex;
}
main nav .score p {
  margin-left: 1rem;
}
main nav .link {
  margin-right: 1rem;
  color: #3f3f3f;
}
main nav .difficulty {
  display: flex;
  align-items: center;
}
main nav .difficulty .difficulty-btn {
  width: 50px;
  background-color: #f9f5ff;
  outline: none;
  margin-left: 10px;
  border-radius: 10px;
}
main .game-area {
  width: 1000px;
  height: 200px;
  margin: 0 auto;
  padding: 10px 0;
  font-size: large;
  text-align: center;
  border-radius: 10px;
  box-shadow: 5px 5px 2px 1px rgba(0, 0, 0, 0.2);
}
main .game-area .result-area {
  height: 100%;
  display: flex;
  justify-content: space-around;
}
main .game-area .result-area > div {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  text-align: left;
  padding: 0 1rem;
}
main .game-area .result-area__left {
  width: 50%;
}
main .game-area .result-area__right {
  width: 50%;
}
main .game-area .result-area #current-rank,
main .game-area .result-area #current-score {
  font-size: 2rem;
  font-weight: bold;
}
main .game-area .result-area #js-diff-score {
  font-size: 1rem;
  position: relative;
}
main .game-area .result-area #js-diff-score.score-up {
  color: blue;
}
main .game-area .result-area #js-diff-score.score-down {
  color: red;
}
main .game-area .result-area #js-diff-score.new-record:before {
  font-size: 1rem;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  content: "New Record!";
  font-weight: bold;
  white-space: nowrap;
  background: linear-gradient(to right, Magenta, yellow, Cyan, Magenta) 0% center/200%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gaming-animation 2s linear infinite;
}
main .game-area .result-area .status-area {
  display: flex;
  flex-direction: column;
}
main .game-area .result-area .status-area__row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
}
main .game-area .result-area .status-area__item {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: bold;
}
main .game-area .result-area .score-frame {
  font-size: 1.4rem;
  font-weight: bold;
  border-radius: 10px;
  padding: 0.2rem 1rem;
}
main .game-area .result-area .control-area {
  display: flex;
  justify-content: flex-end;
}
main .game-area .result-area .control-area__button {
  font-weight: bold;
  background-color: #f9f5ff;
  border-radius: 10px;
  padding: 0 2rem;
}
main .game-area .play-area {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
main .game-area .play-area .seq {
  font-size: 2rem;
}
main .game-area .play-area .keys {
  font-size: 2rem;
  font-weight: bold;
  -moz-tab-size: 4;
    -o-tab-size: 4;
       tab-size: 4;
}
main .game-area .play-area .disp {
  font-size: 3rem;
  font-weight: bold;
}
main .game-area .play-area .key-candidates {
  opacity: 0.01;
}
main .romaji-list__heading {
  text-align: center;
  padding: 1rem 0 0.5rem;
  font-size: 2rem;
}
main .romaji-list__list > div {
  display: flex;
  justify-content: center;
}
main .romaji-list__list > div:nth-child(2) {
  margin-top: 0.5rem;
}
main .romaji-list__line div {
  border: solid 1px #5141b7;
  margin-bottom: -1px;
  margin-right: -1px;
  width: 60px;
  height: 60px;
  color: #f9f5ff;
  display: flex;
  flex-direction: column;
}
main .romaji-list__line div p {
  height: 50%;
  font-size: 1.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
main .romaji-list__line div.next p {
  font-weight: bold;
}

footer {
  text-align: center;
  color: #5141b7;
}
footer small {
  font-size: 0.5rem;
}

.hidden {
  display: none !important;
}

body {
  background-color: #f9f5ff;
}
body.normal {
  color: #5141b7;
}
body.normal main nav .difficulty-btn {
  border-color: #5141b7;
}
body.normal .game-area {
  border: solid 5px #5141b7;
}
body.normal .score-frame {
  border: solid 3px #5141b7;
}
body.normal .control-area__button {
  color: #5141b7;
  border: solid 3px #5141b7;
}
body.normal .seq__done {
  color: #6a5cc5;
}
body.normal .romaji-list__line div {
  border: solid 1px #5141b7;
}
body.normal .romaji-list__line div p.kana {
  background-color: #6a5cc5;
}
body.normal .romaji-list__line div p.roman {
  background-color: #867ad0;
}
body.normal .romaji-list__line div.next p.kana {
  background-color: #e559f9;
}
body.normal .romaji-list__line div.next p.roman {
  background-color: #ea76fa;
}
body.normal footer {
  color: #5141b7;
}
body.pro {
  color: #161616;
}
body.pro .difficulty-btn {
  border-color: #161616;
}
body.pro .game-area {
  border: solid 5px #161616;
}
body.pro .score-frame {
  border: solid 3px #161616;
}
body.pro .control-area__button {
  color: #161616;
  border: solid 3px #161616;
}
body.pro .seq__done {
  color: #2a2a2a;
}
body.pro .romaji-list__line div {
  border: solid 1px #161616;
}
body.pro .romaji-list__line div p.kana {
  background-color: #2a2a2a;
}
body.pro .romaji-list__line div p.roman {
  background-color: #3f3f3f;
}
body.pro .romaji-list__line div.next p.kana {
  background-color: #6a5cc5;
}
body.pro .romaji-list__line div.next p.roman {
  background-color: #867ad0;
}
body.pro footer {
  color: #161616;
}/*# sourceMappingURL=style.css.map */