/* 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*/
}
h1 {
  font-size: 30px;
  font-weight: bold;
  padding: 5px;
}
h2 {
  font-size: 24px;
  font-weight: bold;
}
::-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 {
    margin: auto;
    border-spacing: 10px;
    border-collapse: separate;
    text-align: center;
  }
th {
  font-weight: bold;
  text-align: center;
}
td {
  width: 45px;
  height: 49px;
  text-align: center;
  font-weight: bold;
  font-size: 26px;
  border: solid black 2px;
  border-radius: 5px;
}
td.yellow {
  background: yellow;
}
td.correct {
  background: green;
}
td.wrong {
  background: red;
}
/* PROJECT */

html {
  background: #eee;
  color: #111;
  font-family: "Open Sans", sans-serif;
  text-align: center;
}

.lightning-app {
  padding: 0;
}
.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: 5px 11px;
  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;
}
.app-output {
  display: inline-block;
  margin-bottom: 24px;
  max-width: 600px;
  padding-left: 24px;
  position: relative;
  text-align: center;
  vertical-align: top;
}

@keyframes slide {
  0% {
    opacity: 0;
    transform: translateY(-48px) rotate(10deg);
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}
.app-results {
  display: inline-block;
  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;
  height: 26px;
}
.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: 20px;
  margin-bottom: 14px;
  margin-left: 12px;
  margin-top: 0;
  text-align: center;
  width: 21%;
  vertical-align: top;
}

.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: space-between;
  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;
}

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

.linebreak {
  width: 100%;
}

@media (max-width: 1024px) {

}
@media (max-width: 820px) {

}
@media (max-width: 450px) {
  .number-text {
    font-size: 25px;
  }
}
@media (max-width: 361px) {
  h1 {
    font-size: 24px;
  }
}

.hide {
  display: none !important;
}


.translate {
  position: absolute;
  left:     -10000px;
  overflow: hidden;
}

.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;
}

#Calculator_Inputs {
  min-width: 300px;
  max-width: 500px;
}

#Subscribe_div,
#Menu_div {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 24px;
  padding: 5px;
  margin: 10px;
}


#Menu_div a:hover {
  background: grey;
  cursor:pointer;
}

#Game_Message {
  margin: 10px;
}
#Message_div {
  height: 20px;
}

#Normal_Link .normal_link a,
a {
  color: blue;
  text-decoration: underline;
  cursor: auto;
}

#Numble_Tutorial img {
  width: 100%;
  max-width: 400px;
}

#Numble_Menu .difficulty_buttons .icon {
  width: 100px;
  height: 100px;
  margin: 10px;
}

#Numble_Menu.difficulty_buttons:hover a + img {
  cursor:pointer;
  border:4px solid black;
  border-radius: 10px;
  margin-bottom: 10px;
}

#Numble_Menu .difficulty_buttons img {
  height: auto;
}

.difficulty_buttons {
  max-width: 300px;
  margin: auto;
}

#Start_Game_button {
  text-align: center;
  width: 300px;
  border: 2px solid black;
  padding: 5px;
  color: black;
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  border-radius: 10px;
}

#Start_Game_button:hover {
  cursor:pointer;
  background: grey;
}

@import "compass/css3";

.alertify,
.alertify-show,
.alertify-log {
  -webkit-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
     -moz-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
      -ms-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
       -o-transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
          transition: all 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275); /* easeOutBack */
}
.alertify-hide {
  -webkit-transition: all 250ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
     -moz-transition: all 250ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
      -ms-transition: all 250ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
       -o-transition: all 250ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
          transition: all 250ms cubic-bezier(0.600, -0.280, 0.735, 0.045); /* easeInBack */
}
.alertify-log-hide {
  -webkit-transition: all 500ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
     -moz-transition: all 500ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
      -ms-transition: all 500ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
       -o-transition: all 500ms cubic-bezier(0.600, -0.280, 0.735, 0.045);
          transition: all 500ms cubic-bezier(0.600, -0.280, 0.735, 0.045); /* easeInBack */
}
.alertify-cover {
  position: fixed; z-index: 99999;
  top: 0; right: 0; bottom: 0; left: 0;
  background-color:white;
  filter:alpha(opacity=0);
  opacity:0;
}
  .alertify-cover-hidden {
    display: none;
  }
.alertify {
  position: fixed; z-index: 99999;
  top: 50px; left: 50%;
  width: 550px;
  margin-left: -275px;
  opacity: 1;
}
  .alertify-hidden {
    -webkit-transform: translate(0,-150px);
       -moz-transform: translate(0,-150px);
        -ms-transform: translate(0,-150px);
         -o-transform: translate(0,-150px);
            transform: translate(0,-150px);
    opacity: 0;
    display: none;
  }
  /* overwrite display: none; for everything except IE6-8 */
  :root *> .alertify-hidden {
    display: block;
    visibility: hidden;
  }
.alertify-logs {
  position: fixed;
  z-index: 5000;
  bottom: 10px;
  right: 10px;
  width: 300px;
}
.alertify-logs-hidden {
  display: none;
}
  .alertify-log {
    display: block;
    margin-top: 10px;
    position: relative;
    right: -300px;
    opacity: 0;
  }
  .alertify-log-show {
    right: 0;
    opacity: 1;
  }
  .alertify-log-hide {
    -webkit-transform: translate(300px, 0);
       -moz-transform: translate(300px, 0);
        -ms-transform: translate(300px, 0);
         -o-transform: translate(300px, 0);
            transform: translate(300px, 0);
    opacity: 0;
  }
  .alertify-dialog {
    padding: 25px;
  }
    .alertify-resetFocus {
      border: 0;
      clip: rect(0 0 0 0);
      height: 1px;
      margin: -1px;
      overflow: hidden;
      padding: 0;
      position: absolute;
      width: 1px;
    }
    .alertify-inner {
      text-align: center;
    }
    .alertify-text {
      margin-bottom: 15px;
      width: 100%;
      -webkit-box-sizing: border-box;
         -moz-box-sizing: border-box;
              box-sizing: border-box;
      font-size: 100%;
    }
    .alertify-buttons {
    }
      .alertify-button,
      .alertify-button:hover,
      .alertify-button:active,
      .alertify-button:visited {
        background: none;
        text-decoration: none;
        border: none;
        /* line-height and font-size for input button */
        line-height: 1.5;
        font-size: 100%;
        display: inline-block;
        cursor: pointer;
        margin-left: 5px;
      }

@media only screen and (max-width: 680px) {
  .alertify,
  .alertify-logs {
    width: 90%;
    top: 10px;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
  }
  .alertify {
    left: 5%;
    margin: 0;
  }
}






/**
 * Default Look and Feel
 */
.alertify,
.alertify-log {
  font-family: sans-serif;
}
.alertify {
  background: #FFF;
  border: 10px solid #333; /* browsers that don't support rgba */
  border: 10px solid rgba(0,0,0,.7);
  border-radius: 8px;
  box-shadow: 0 3px 3px rgba(0,0,0,.3);
  -webkit-background-clip: padding;     /* Safari 4? Chrome 6? */
     -moz-background-clip: padding;     /* Firefox 3.6 */
          background-clip: padding-box; /* Firefox 4, Safari 5, Opera 10, IE 9 */
}
  .alertify-text {
    border: 1px solid #CCC;
    padding: 10px;
    border-radius: 4px;
  }
  .alertify-button {
    border-radius: 4px;
    color: #FFF;
    font-weight: bold;
    padding: 6px 15px;
    text-decoration: none;
    text-shadow: 1px 1px 0 rgba(0,0,0,.5);
    box-shadow: inset 0 1px 0 0 rgba(255,255,255,.5);
    background-image: -webkit-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
    background-image:    -moz-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
    background-image:     -ms-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
    background-image:      -o-linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
    background-image:         linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0));
  }
  .alertify-button:hover,
  .alertify-button:focus {
    outline: none;
    background-image: -webkit-linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0));
    background-image:    -moz-linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0));
    background-image:     -ms-linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0));
    background-image:      -o-linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0));
    background-image:         linear-gradient(top, rgba(0,0,0,.1), rgba(0,0,0,0));
  }
  .alertify-button:focus {
    box-shadow: 0 0 15px #2B72D5;
  }
  .alertify-button:active {
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
  }
    .alertify-button-cancel,
    .alertify-button-cancel:hover,
    .alertify-button-cancel:focus {
      background-color: #FE1A00;
      border: 1px solid #D83526;
    }
    .alertify-button-ok,
    .alertify-button-ok:hover,
    .alertify-button-ok:focus {
      background-color: #5CB811;
      border: 1px solid #3B7808;
    }

.alertify-log {
  background: #1F1F1F;
  background: rgba(0,0,0,.9);
  padding: 15px;
  border-radius: 4px;
  color: #FFF;
  text-shadow: -1px -1px 0 rgba(0,0,0,.5);
}
  .alertify-log-error {
    background: #FE1A00;
    background: rgba(254,26,0,.9);
  }
  .alertify-log-success {
    background: #5CB811;
    background: rgba(92,184,17,.9);
  }
