* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
font-family: Roboto, sans-serif;
}

html,
body {}
  background-color: rgb(235, 235, 240);
}

canvas {
    border:0px solid gray;
    background: white;
}

userText {
    border:1px solid black;
    background: white;
}


button {
  background-color: #40c040;
  border: 1px solid #ffffff;
  color: white;
  padding: 2px ;
  text-align: center;
  font-size: 22px;
  width: 50px;
  height: 50px;
  text-decoration: none;
  display: inline-block;
  margin: 2px 2px;
  cursor: pointer;
}

.hetero1 {
  background-color: #ffffff;
  border: 0px solid #000000;
  color: black;
  padding: 5px ;
  text-align: right;
  vertical-align: middle;
  font-size: 20px;
  width: 250px;
  height: 35px;
  text-decoration: none;
  display: inline-block;
  margin: 2px 2px;
  cursor: pointer;
}

.hetero2 {
  background-color: #ffffff;
  border: 1px solid #000000;
  color: black;
  padding: 2px ;
  text-align: center;
  vertical-align: middle;
  font-size: 20px;
  width: 180px;
  height: 35px;
  text-decoration: none;
  display: inline-block;
  margin: 2px 2px;
  cursor: pointer;
}

.hetero3 {
  background-color: #ffffff;
  border: 0px solid #000000;
  color: black;
  padding: 5px ;
  text-align: left;
  vertical-align: middle;
  font-size: 20px;
  width: 250px;
  height: 35px;
  text-decoration: none;
  display: inline-block;
  margin: 2px 2px;
  cursor: pointer;
}

.day23a {
  background-color: #ffffff;
  border: 1px solid #000000;
  color: black;
  padding: 2px ;
  text-align: center;
  vertical-align: middle;
  font-size: 20px;
  width: 50px;
  height: 50px;
  text-decoration: none;
  display: inline-block;
  margin: 2px 2px;
  cursor: pointer;
}

.day23b {
  background-color: #ffffff;
  border: 1px solid #000000;
  color: black;
  padding: 2px ;
  text-align: center;
  vertical-align: middle;
  font-size: 20px;
  width: 50px;
  height: 50px;
  text-decoration: none;
  display: inline-block;
  margin: 2px 2px;
  cursor: pointer;
  user-select: none;
  -moz-user-select: none;
      -khtml-user-select: none;
      -webkit-user-select: none;
      -o-user-select: none;
}

.day23c {
  background-color: gray;
  border: 1px solid #000000;
  color: black;
  padding: 2px ;
  text-align: center;
  vertical-align: middle;
  font-size: 20px;
  width: 50px;
  height: 50px;
  text-decoration: none;
  display: inline-block;
  margin: 2px 2px;
  cursor: pointer;
}

.day23d {
  background-color: red;
  border: 1px solid #000000;
  color: black;
  padding: 2px ;
  text-align: center;
  vertical-align: middle;
  font-size: 20px;
  width: 50px;
  height: 50px;
  text-decoration: none;
  display: inline-block;
  margin: 2px 2px;
  cursor: pointer;
}

.alpha {
  background-color: #ffffff;
  border: 1px solid #000000;
  color: black;
  padding: 2px ;
  text-align: center;
  font-size: 26px;
  width: 60px;
  height: 60px;
  text-decoration: none;
  display: inline-block;
  margin: 2px 2px;
  cursor: pointer;
}

.alpha2 {
  background-color: #ffffff;
  border: 0px solid #ffffff;
  color: black;
  padding: 2px ;
  text-align: center;
  font-size: 32px;
  width: 60px;
  height: 60px;
  text-decoration: none;
  display: inline-block;
  margin: 2px 2px;
  cursor: pointer;
}

.button-day4 {
  background-color: #ffffff;
  border: 1px solid #ffffff;
  color: white;
  padding: 2px ;
  text-align: center;
  font-size: 22px;
  width: 66px;
  height: 83px;
  text-decoration: none;
  display: inline-block;
  margin: 2px 2px;
  cursor: pointer;
}

.button-word {
  background-color: #4040c0;
  border: 1px solid #ffffff;
  color: back;
  padding: 2px ;
  text-align: center;
  font-size: 18px;
  width: 50px;
  height: 50px;
  text-decoration: none;
  display: inline-block;
  margin: 2px 2px;
  cursor: pointer;
}

.bg-red {
  background-color: red;
  border: 3px solid white;
}
.bg-blue {
  background-color: blue;
  border: 3px solid white;
}
.bg-green {
  background-color: green;
  border: 3px solid white;
}
.bg-yellow {
  background-color: yellow;
  border: 3px solid white;
}
.bg-purple {
  background-color: purple;
  border: 3px solid white;
}
.bg-black {
  background-color: black;
  border: 3px solid white;
}
.bg-white2 {
  background-color: white;
  border: 1px solid black;
  text-align: center;
  vertical-align: middle;
  color: black;
}
.bg-black2 {
  background-color: black;
  border: 1px solid black;
  text-align: center;
  vertical-align: middle;
  color: white;
}

label {
  background-color: lightgray;
  border: 0px solid white;
  color: black;
  padding: 0px ;
  text-align: center;
  vertical-align: middle;
  font-size: 24px;
  width: 150px;
  height: 30px;
  text-decoration: none;
  margin: 2px 2px;
  cursor: pointer;
  display:inline-block;
}

.labelCB {
  background-color: white;
  border: 0px solid white;
  color: black;
  padding: 0px ;
  text-align: left;
  vertical-align: middle;
  font-size: 20px;
  width: 10px;
  height: 20px;
  text-decoration: none;
  margin: 5px 5px;
  cursor: pointer;
  display:inline-block;
}

.checkboxS {
  background-color: green;
  border: 0px solid white;
  color: black;
  padding: 0px ;
  text-align: center;
  vertical-align: middle;
  font-size: 10px;
  width: 15px;
  height: 20px;
  text-decoration: none;
  margin: 0px 0px 0px 20px;
  cursor: pointer;
  display:inline-block;
}

.label-set {
  background-color: white;
  border: 0px solid white;
  color: black;
  padding: 2px ;
  text-align: left;
  vertical-align: middle;
  font-size: 20px;
  width: 150px;
  height: 30px;
  text-decoration: none;
  margin: 2px 2px;
  cursor: pointer;
  display:inline-block;
}

.labelX {
  background-color: white;
  border: 0px solid white;
  color: red;
  padding: 3px;
  text-align: left;
  vertical-align: middle;
  font-size: 20px;
  width: 10px;
  height: 30px;
  text-decoration: none;
  margin: 2px 2px;
  display:inline-block;
}

.day14 {
  background-color: gray;
  border: 1px solid black;
  color: black;
  padding: 0px ;
  text-align: center;
  vertical-align: middle;
  font-size: 24px;
  width: 48px;
  cursor: pointer;
  display:inline-block;
}

.day14c {
  background-color: white;
  border: 0px solid black;
  color: black;
  padding: 0px ;
  text-align: center;
  vertical-align: middle;
  font-size: 24px;
  width: 48px;
  cursor: pointer;
  display:inline-block;
}

.day14a {
  background-color: white;
  border: 0px solid black;
  color: black;
  padding: 0px ;
  text-align: center;
  vertical-align: middle;
  font-size: 24px;
  width: 35px;
  cursor: pointer;
  display:inline-block;
}

.day14b {
  background-color: white;
  border: 0px solid black;
  color: black;
  padding: 0px ;
  text-align: center;
  vertical-align: middle;
  font-size: 24px;
  width: 48px;
  cursor: pointer;
  display:inline-block;
}

label-input {
  background-color: lightgray;
  border: 0px solid black;
  color: black;
  padding: 0px ;
  text-align: center;
  vertical-align: middle;
  font-size: 24px;
  width: 200px;
  height: 30px;
  text-decoration: none;
  margin: 2px 2px;
  cursor: pointer;
  display:inline-block;
}

.label-radio {
  background-color: #ffffff;
  border: 1px solid #ffffff;
  color: black;
  padding: 4px ;
  text-align: center;
  vertical-align: middle;
  font-size: 18px;
  width: 350px;
  height: 25px;
  text-decoration: none;
  margin: 2px 2px;
  cursor: pointer;
  display:inline-block;
}

.label-problem {
  background-color: lightgrey;
  border: 0px solid black;
  color: black;
  padding: 0px ;
  text-align: center;
  vertical-align: middle;
  font-size: 22px;
  width: 130px;
  height: 26px;
  text-decoration: none;
  margin: 2px 2px;
  cursor: pointer;
  display:inline-block;
}

.label-limit {
  background-color: lightgrey;
  border: 0px solid #ffffff;
  color: black;
  padding: 4px ;
  text-align: center;
  vertical-align: middle;
  font-size: 22px;
  width: 50px;
  height: 24px;
  text-decoration: none;
  margin: 2px 2px;
  cursor: pointer;
  display:inline-block;
}

.label-arrow {
  background-color: lightgrey;
  border: 0px solid #ffffff;
  color: black;
  padding: 4px ;
  text-align: center;
  vertical-align: middle;
  font-size: 12px;
  width: 50px;
  height: 20px;
  text-decoration: none;
  margin: 2px 2px;
  cursor: pointer;
  display:inline-block;
}

.label-checkbox {
  background-color: lightgrey;
  border: 0px solid #ffffff;
  color: black;
  padding: 4px ;
  text-align: left;
  vertical-align: middle;
  font-size: 12px;
  width: 70px;
  height: 20px;
  text-decoration: none;
  margin: 2px 2px;
  cursor: pointer;
  display:inline-block;
}


table {
  border: 0px solid #000000;
  border-spacing: 0;
  border-collapse: collapse;
  transition: all 0.5s;
}

ul {
  list-style-type: none;
}

td {
  border: 0px solid #000000;
  text-align: left;
  vertical-align: middle;
}

td input {
  color: #000000;
  padding: 0;
  border: 0;
  text-align: left;
  width: 48px;
  height: 48px;
  font-size: 16px;
  background-color: #ffffff;
  outline: none;
  text-transform: uppercase;
  transition: all 0.5s;
}

input:disabled {
  background-color: #bbdefb;
}

tr:nth-child(3n) {
  border-bottom: 0px solid #000000;
}

tr:nth-child(3n + 1) {
  border-top: 0px solid #000000;
}

td:nth-child(3n) {
  border-right: 0px solid #000000;
}

td:nth-child(3n + 1) {
  border-left: 0px solid #000000;
}

.right-cell {
  box-shadow: inset 0px 0px 20px 3px forestgreen;
}

.wrong-cell {
  box-shadow: inset 0px 0px 20px 3px tomato;
}

.worning-cell {
  box-shadow: inset 0px 0px 20px 3px goldenrod;
}

/*Material Design*/

.app-bar {
  background: #30e030; /* #49599a; */
  width: 100%;
  position: fixed;
  height: 64px;
  color: #fff;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.14);
  z-index: 5;
  top: 0;
}

.bar-button {
  position: relative;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  vertical-align: middle;
  padding: 0 22px;
  transition: all 0.5s;
}

.bar-button span {
  line-height: 64px;
  display: inline-block;
  vertical-align: middle;
}

.hamburger-button {
  float: left;
  left: 4px;
}

.bar-font {
  font-size: 18px;
  line-height: 64px;
}

.title {
  position: relative;
  float: left;
  left: 18px;
}

.more-button {
  float: right;
  /*right: 18px;*/
}

.hamburger-menu {
  background: rgba(0, 0, 0, 0.4);
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 25;
  width: 100vw;
  height: 100vh;
  display: none;
  opacity: 0;
  transition: 0.1s all;
}

.nav-menu {
  border-right: 1px solid rgba(0, 0, 0, 0.4);
  background: #fff;
  color: #212121;
  position: fixed;
  left: -256px;
  top: 0;
  bottom: 0;
  width: 256px;
  z-index: 26;
  font-size: 15px;
  box-shadow: 16px 0 24px 2px rgba(0, 0, 0, 0.14);
  transition: all 0.3s;
}

.nav-menu-blank {
  position: relative;
  left: 256px;
  width: 100%;
  height: 100%;
}

.nav-head {
  height: 172px;
  background: #02c020;
  position: relative;
}

.nav-head-img {
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  width: 96px;
  height: 96px;
  top: 16px;
  left: 16px;
  overflow: hidden;
}

.nav-head-img img {
  width: 100%;
  height: 100%;
}

.nav-head-title {
  color: #fff;
  position: absolute;
  bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  left: 0px;
  right: 0;
  font-size: 22px;
  display: block;
  text-align: center;
}

.nav-items {
  margin-top: 12px;
}

.nav-item {
  font-weight: 700;
  display: block;
  color: #333;
  background: #0000;
  padding: 15px 0 15px 22px;
  letter-spacing: 1px;
  outline: none;
  border: none;
  width: 100%;
  text-align: left;
  margin: 0 !important;
}

.bar-footer {
  position: fixed;
  bottom: 12px;
  left: 10px;
}

.bar-footer-link {
  font-size: 12px;
  display: inline-block;
  margin: 0 8px;
  text-decoration: none;
  color: gray;
}

.body {
  width: 95%;
  max-width: 55%;
  margin: 96px auto 80px auto;
  display: flex;
}

.card {
  background: #fff;
  float: left;
  padding: 32px 32px 16px 32px;
  width: fit-content;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.14);
}

.status {
  margin-left: 32px;
  padding-top: 10px;
  padding-left: 10px;
}

#game-number {
  font-size: 12px;
  color: gray;
}

.game-status {
  /*display: flex;
    flex-direction: column;
    justify-content: center;
    flex-flow: column;*/
  margin: 0 0 0 22px;
  height: 100%;
}

.game-status li {
  margin: 18px 0 0 0;
}

.vertical-adjust {
  margin: 12px 0;
}

.vertical-adjust span,
.footer a {
  line-height: 24px;
  display: inline-block;
  vertical-align: middle;
  font-size: 18px;
}

.option-button {
  display: block;
  margin: 16px 8px 16px 30px;
  width: 130px;
  padding: 8px 10px;
  font-size: 16px;
  border: none;
  outline: none;
  box-shadow: 0 6px 10px 1px rgba(0, 0, 0, 0.14);
  border-radius: 2px;
  transition: all 0.5s;
  text-align: left;
}

.button {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.button-red {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: red;
}

.button-white {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: white;
}

.option-button:hover {
  background: #1565c0;
}

.option-button:active {
  background: #3d7df4;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.24);
}

.option-button span {
  vertical-align: middle;
  line-height: 24px;
}

.ripple {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  animation: ripple-effect 1.1s 1 cubic-bezier(0.42, 0, 0.58, 1);
  opacity: 0;
}

@keyframes ripple-effect {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }
  100% {
    transform: scale(100);
    opacity: 0;
  }
}

.timer {
  color: #1565c0;
  font-size: 32px;
  padding: 4px;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.14);
  text-align: center;
}

.remain-table {
  position: relative;
  left: 0;
  right: 0;
  display: inline-block;
  margin: auto;
}

.remain-column {
  float: left;
  max-width: 64px;
}

.remain-cell {
  margin: 10px;
  text-align: center;
  border: solid 1px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.14);
}

.remain-cell div {
  padding: 5px 12px;
}

.remain-cell-header {
  background-color: #1565c0;
  color: white;
  font-weight: bold;
  border-bottom: solid 2px rgba(0, 0, 0, 0.2);
}

.red {
  background: #ff6659;
  color: #9a0007;
}

.gray {
  background: #808080;
  color: #404040;
}

.floating {
  position: fixed;
  bottom: 64px;
  right: 64px;
  z-index: 20;
}

.floating-btn {
  position: fixed;
  bottom: 48px;
  right: 48px;
  border-radius: 50%;
  padding: 12px;
  border: none;
  background-color: #30c030;
  color: #fff;
  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14);
  outline: none;
  z-index: 21;
}

.dialog {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 50;
  display: none;
  transition: all 0.2s;
}

.dialog-content {
  top: -200px;
  background: #fff;
  width: 90%;
  max-width: 800px;
  height: fit-content;
  margin: auto;
  vertical-align: middle;
  box-shadow: 0 24px 38px 3px rgba(0, 0, 0, 0.14);
  z-index: 51;
  transition: all 0.5s;
}

.dialog-header {
  font-size: 20px;
  font-weight: bold;
  padding: 16px 32px;
  border-bottom: solid 1px #30c030;
}

.dialog-body {
  margin: 16px 20px 4px 28px;
  color: black;
}

.day1-body {
  margin: 16px 20px 16px 28px;
  color: black;
}

.radio-option {
  padding: 0 20px;
  list-style-type: none;
  text-align: left;
  position: relative;
}

.radio-option input {
  outline: none;
  margin-right: 12px;
}

.radio-option label {
  display: block;
  height: 24px;
  text-align: left;
  cursor: pointer;
  padding: 1.0em 0;
}

.dialog-footer {
  border-top: solid 1px #30c030;
  margin-top: 24px;
  text-align: right;
  padding-right: 16px;
}

.dialog-btn {
  background: transparent;
  border: none;
  color: #30c030;
  font-size: 16px;
  margin: 8px 0;
  padding: 8px 16px;
  outline: none;
  min-width: 96px;
  display: inline-block;
}

.footer {
  text-align: center;
  color: white;
  background-color: #30c030;
  margin: 44px 0 0 0;
  padding: 8px;
}

.footer a {
  color: white;
}

.about-dialog-content {
  max-width: 720px;
}

.card-group {
  overflow: hidden;
  width: fit-content;
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
}

.dialog-card {
  padding: 16px;
  margin: 8px;
  text-align: center;
  max-width: 240px;
}

.about-card-quote {
  color: #606060;
  font-size: 14px;
  margin-top: 16px;
}

.about-card-img {
  margin: 16px auto;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.14);
  width: fit-content;
}

.about-card-img img {
  width: 96px;
  height: auto;
}

.about-card-title {
  font-size: 16px;
  margin: 8px 0;
}

.about-card-content {
  font-size: 15px;
  margin: 4px 0;
}

.more-option-div {
  position: static;
  display: inline-block;
  margin-right: 16px;
}

.more-option-list {
  display: block;
  position: absolute;
  background-color: #fff;
  overflow: hidden;
  box-shadow: 0px 8px 10px 1px rgba(0, 0, 0, 0.14);
  right: 18px;
  z-index: 25;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.6, 1);
}