/* Normalize */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
    display: block;
}
span {
  content: "\00D7";
}
html {
    -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
}
body {
    margin: 0;
    overscroll-behavior: contain; /*prevent scroll down refresh*/
}
::-moz-selection {
    background-color: hsla(0,0%,0%,.5);
    color: #fff;
    text-shadow: none;
}
::selection {
    background-color: hsla(0,0%,0%,.5);
    color: #fff;
    text-shadow: none;
}
a:focus {
    outline: thin dotted;
}
a:active,
a:hover {
    outline: 0;
}
strong {
    font-weight: bold;
}
mark {
    background: #ff6;
    color: #444;
}
code,
pre {
    font-family: monospace, serif;
    font-size: 1em;
}
pre {
    white-space: pre;
}
img {
    border: 0;
    max-width: 100%;
    vertical-align: top;
}
figure {
    margin: 0;
}
button,
input,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
}
button,
input {
    line-height: normal;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    cursor: pointer;
    -webkit-appearance: button;
}
input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}
textarea {
    overflow: auto;
    vertical-align: top;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* PROJECT */

html {
  background: #eee;
  color: #111;
  font-family: "Open Sans", sans-serif;
  text-align: center;
}
h1 {
  background: #fff500;
  background: #4064af;
  color: #fff;
  margin-bottom: 0;
  margin-top: 0;
  padding: 36px 24px;
  text-align: center;
  text-transform: uppercase;
  font-family: oswald,serif;
}
#Stats_div div {


}
.lightning-app {
  padding: 0;
  margin-top: 50px;
}
.app-options {
  background: #bbc1e2;
  margin-bottom: 60px;
  margin-top: 0;
  padding: 12px 24px 36px;
  text-align: center;
}
.button {
  appearance: none;
  background: #3c3d3c;
  border: 3px solid #1a1a1a;
  border-radius: 6px;
  box-shadow: 0 4px 0 #1a1a1a;
  color: #fff500;
  cursor: pointer;
  display: inline-block;
  font-weight: bold;
  margin-top: 24px;
  outline: 0;
  padding: 10px 22px;
  position: relative;
  text-shadow: 0 -1px 0 #1a1a1a;
  text-transform: uppercase;
  top: -3px;
  transition: background 0.15s;
}
.button:hover,
.button:focus {
  //background: #2b2b2b;
}
.button:disabled {
  opacity: 0.75;
}
.button:disabled:hover,
.button:disabled:focus {
  background: #3c3d3c;
  cursor: default;
}
.button:active,
.button:disabled {
  box-shadow: 0 2px 0 #1a1a1a;
  outline: 0;
  top: -1px;
}
.set-card-value {
  margin-left: 4px;
  margin-right: 24px;
}
.app-output {
  display: inline-block;
  margin-bottom: 24px;
  max-width: 600px;
  padding-left: 24px;
  position: relative;
  text-align: center;
  vertical-align: top;
}
.card {
  background-color: #c8c9cb;
  background-image: url('/images/20carddash/Lightning%20Multiplication%20card%20front%20(thicker%20lines%20yellow%20lightning).png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  border-radius: 6px;
  box-shadow: 0 2px 2px hsla(0,0%,0%,0.25);
  display: inline-block;
  height: 200px;
  margin-right: 24px;
  position: relative;
  width: 148px;
  vertical-align: top;
}
.card img {
  border-radius: 6px;
  height: 200px;
  left: 0;
  position: absolute;
  top: 0;
  width: 148px;
  vertical-align: top;
  z-index: -1;
}
.card.set-card {
  background-color: #bbc1e2;
}
.card img.this-card-has-been-set {
  z-index: 1;
}
.card.operator {
  background-color: #c8c9cb;
  background-image: url('/images/20carddash/Grey Multiply.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.random-cards {
  position: relative;
}
.random-card,
.card-back {
  background-size: 100% 100%;
  border-radius: 6px;
  box-shadow: 0 2px 2px hsla(0,0%,0%,0.15);
  display: block;
  height: 200px;
  position: absolute;
  top: 0;
  width: 148px;
  vertical-align: top;
}
.random-card {
  animation: slide 0.5s ease;
  z-index: 1 !important;
}
.card-completed {
  opacity: 0;
  top: -250px !important;
  transform: rotate(90deg);
  transition: 0.5s;
}
@keyframes slide {
  0% {
    opacity: 0;
    transform: translateY(-48px) rotate(10deg);
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}
.app-results {
  display: inline-block;
  margin-left: 36px;
  vertical-align: top;
}
.output-area {
  position: relative;
  text-align: center;
}
.equals-sign {
  display: inline-block;
  margin-top: 54px;
  position: relative;
  vertical-align: top;
  height: 94px;
}
.equals-sign:after,
.equals-sign:before {
  background: #58585a;
  content: '';
  height: 12px;
  position: absolute;
  right: 24px;
  top: 28px;
  width: 48px;
}
.equals-sign:after {
  bottom: 28px;
  top: auto;
}
.status {
  color: #00a129;
  display: none;
  font-size: 24px;
  font-weight: bold;
  left: 0;
  line-height: 1.5;
  position: absolute;
  right: 0;
  text-align: center;
  top: -36px;
}
.status.correct {
  display: block;
}
.answer {
  background: #fff;
  border: 4px solid #6e6e6e;
  border-radius: 6px;
  color: #000;
  display: inline-block;
  font-size: 24px;
  line-height: 1;
  margin-bottom: 4px;
  outline: 0;
  padding: 12px;
  transition: 0.15s;
  width: 280px;
  vertical-align: top;
}
.answer:focus,
.answer.populated {
  border-color: #2b2b2b;
}
.answer.wrong {
  border-color: #ed1c25;
}
.answer.right {
  border-color: #00a129;
}
.answer:disabled {
  opacity: 1;
}
.hint {
  bottom: 80px;
  font-size: 15px;
  font-style: italic;
  left: 0;
  margin-bottom: 0;
  position: absolute;
  right: 0;
}
.number-pad {
  display: inline-block;
  margin-left: -12px;
  margin-top: 12px;
  text-align: center;
  vertical-align: top;
  touch-action: manipulation; /*disable double tap zoom here*/
  /*disable click and drag select of number pad on cpu*/
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}
.number-pad .button {
  font-size: 18px;
  margin-bottom: 14px;
  margin-left: 12px;
  margin-top: 0;
  text-align: center;
  width: 96px;
  vertical-align: top;
}
.number-pad .npclear {
  width: 204px;
}

.this_stars_div {
  width: 300px;
  margin: auto;
}

.All_Stars_div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 670px;
  margin: auto;
}

.achievements_heading {
  display: flex;
  flex-direction: row;
  justify-content: center;
  text-align: center;
  padding: 10px;
}

.achievements_heading h3 {
  padding-left: 10px;
  padding-right: 10px;
}

.all-stars-display {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.star-container {
  display: flex;
  flex-direction: column;
  width: 90px;
  height: 90px;
  justify-content: space-between;
  padding: 10px;
  margin: 10px;
  border: 2px solid black;
  border-radius: 15px;
  background: #bbc1e2;
  cursor: pointer;
}

.number-text {
  font-size: 50px;
  font-weight: 700;
}

.linebreak {
  width: 100%;
}

@media (max-width: 1024px) {
  .app-output {
    display: block;
    margin-bottom: 60px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 36px;
  }
  .output-area {
    margin-left: -36px;
  }
  .number-pad {
      display: block;
      margin-left: -48px;
      margin-top: 12px;
      padding-bottom: 240px;
  }
}
@media (max-width: 820px) {
  .app-output {
    margin-top: -24px;
  }
  .output-area {
    margin-top: 36px;
  }
  .card {
    height:118px;
    width:87px;
  }
  .card img {
    height:118px;
    width:87px;
  }
  .equals-sign:after,
  .equals-sign:before {
    height: 8px;
    top: 33px;
    width: 36px;
  }
  .equals-sign:after {
    bottom: 33px;
    top: auto;
  }
  .app-output {
    margin-bottom: 12px;
    padding-top: 24px;
  }
  .answer {
    font-size: 24px;
  }
  .equals-sign:before {
    top: 20px;
  }
  .equals-sign:after {
    bottom: 46px;
  }
  .number-pad .button {
    padding-bottom: 6px;
    padding-top: 6px;
  }
  .hint {
    font-size: 14px;
    line-height: 1.1;
  }
}
@media (max-width: 450px) {
  .app-options {
    padding-top: 36px;
  }
  .star-container {
    width: 50px;
    height: 50px;
    padding: 5px;
    margin: 5px;
    border-radius: 10px;
  }
  .number-text {
    font-size: 25px;
  }
  .all-stars-display {
    justify-content: space-between;
  }
  .this_stars_div {
    width: 200px;
  }
}
@media (max-width: 361px) {
  h1 {
    font-size: 24px;
  }
  .app-options {
    padding-left: 12px;
    padding-right: 12px;
  }
  label {
    font-size: 12px;
  }
  .card {
    height:88px;
    width:65px;
  }
  .card img {
    height:88px;
    width:65px;
  }
  .hint {
    font-size: 12px;
  }
  .answer {
    width: 208px;
  }
  .number-pad .button {
    width: 72px;
  }
  .number-pad .button.npclear {
    width: 156px;
  }
}

.hide {
  display: none !important;
}
.Slowest_Table_div2 {
  font-size: 40px;
  margin: 5px;
}

.add-button {
  display: none;
}

#Add_to_homescreen_div {
  padding: 5px;
  width: 286px;
  border:2px solid black;
  margin: auto;
  margin-top: 10px;
}

#Add_to_homescreen_div h1 {
  font-size: 20px;
  font-weight: 700;
}
#Add_to_homescreen_div p {
  font-size: 18px;
  padding-top: 5px;
}
#Add_to_homescreen_div img {
  width: 50px;
  height: 50px;
}
#Share_icon {
  height: 20px !important;
  width: 20px !important;
}

.stats-heading {
  font-weight: bold;
  font-size: 26px;
}
.total_stars_heading {
  font-weight: bold;
  font-size: 26px;
  text-align: center;
}
.margin {
  margin: 10px;
}
#Line2 {
  font-size: 30px;
  font-weight: bold;
}
.defeated {
  box-shadow: inset 0 0 40px green;
}
#Boss_Race {
  display: flex;
  justify-content: center;
}
#Boss_Race_div {
  width: 320px;
  height: 100px;
  background-color: gray;
}
#Boss_Race_finish_line {
  width: 300px;
  height: 100px;
  border-right: dashed black 5px;
}
#Player_Lane, #Boss_Lane {
  display: flex;
}
.racers {
  width: 50px;
}
#Special_Teacher_Button {
  border: solid black 2px;
  border-radius: 10px;
  background: #bbc1e2;
  cursor: pointer;
}
