@font-face {
  font-family: f2;
  src: url("/media/games/math-dash/fonts/Hey Comic.otf");
}
#game-area {
  width: 1280px;
  height: 720px;
  transform: translate(-50%, -50%) scale(1);
  left: 50%;
  top: 50%;
  position: absolute;
  background: url("/media/games/math-dash/images/background.jpg");
  background-size: cover;
}
#game-area #falling-anim {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
#game-area #falling-anim div {
  position: absolute;
  transform: translateY(-100%);
}
#game-area #falling-anim div img {
  max-width: 80px;
  max-height: 80px;
  animation: scale 1.5s infinite;
}
#game-area #home-section {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 999999;
}
#game-area #home-section #home-logo {
  height: 60%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin-top: -40px;
}
#game-area #home-section #home-logo img {
  height: 100%;
  width: auto;
  opacity: 0;
  transform: scale(0);
}
#game-area #mode-section {
  width: 100%;
  height: 100%;
  position: absolute;
  padding: 40px;
}
#game-area #mode-section h1 {
  color: white;
  font-family: f2;
  text-transform: uppercase;
  font-size: 90px;
  width: 100%;
  text-align: center;
  letter-spacing: 3px;
  text-shadow: 3px 4px #0937027a;
  -webkit-text-stroke: 2px #0937024f;
  animation: scale 1.5s infinite;
  opacity: 0;
}
#game-area #mode-section .alexa-msg {
  color: white;
  font-family: f2;
  text-align: center;
  letter-spacing: 3px;
  text-shadow: 2px 2.5px #0937027a;
  -webkit-text-stroke: 2px #0937024f;
  font-size: 33px;
  position: absolute;
  top: 100%;
  transform: translateY(-100%);
  margin-top: -110px;
  width: 100%;
  left: 0;
  opacity: 0;
}
#game-area #mode-section #modes {
  margin-top: 80px;
  transform: scale(0);
  opacity: 0;
  display: flex;
  margin-left: 20px;
  justify-content: center;
}
#game-area #mode-section #modes .mode {
  width: 300px;
  position: relative;
  margin: 10px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#game-area #mode-section #modes .mode h3 {
  position: absolute;
  inset: 0;
  margin: 0;
  top: 22%;
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
  font-family: f2;
  font-size: 44px;
  text-transform: uppercase;
  color: white;
  letter-spacing: 2px;
  text-shadow: 3px 4px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  padding: 0 20px;
  box-sizing: border-box;
}
#game-area #mode-section #modes .mode p {
  color: white;
  width: 100%;
  text-align: center;
  font-size: 40px;
  font-family: puzzleGamesMainFont;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 3px 3px rgba(0, 0, 0, 0.182);
}
#game-area #mode-section #modes .mode p span {
  font-family: puzzleGamesMainFont;
  color: gold;
}
#game-area #mode-section #modes .mode img {
  width: 100%;
  transition: 0.1s;
  display: block;
}
#game-area #mode-section #modes .mode img:active {
  transform: scale(0.95);
  opacity: 0.9;
  filter: brightness(1.1);
}
#game-area #mode-section #alexa-msg {
  width: 100%;
  text-align: center;
  font-size: 50px;
  font-family: f2;
  color: white;
  letter-spacing: 3px;
  text-shadow: 2px 3px #0937027a;
  -webkit-text-stroke: 2px #0937024f;
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(-100%);
  margin-top: -30px;
  opacity: 0;
}
#game-area #play-section {
  width: 100%;
  height: 100%;
  position: absolute;
}
#game-area #play-section #testing {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -500%) scale(1.5);
  display: none;
}
#game-area #play-section #anim-elem {
  opacity: 0;
}
#game-area #play-section #current-mode, #game-area #play-section #current-question {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateX(0) translateY(0%);
  margin: 20px 80px;
}
#game-area #play-section #current-mode p, #game-area #play-section #current-question p {
  color: white;
  text-align: center;
  text-transform: uppercase;
  font-family: f2;
  font-weight: 500;
  font-size: 60px;
  letter-spacing: 2px;
  text-shadow: 3px 4px rgba(0, 0, 0, 0.212);
}
#game-area #play-section #current-mode h6, #game-area #play-section #current-question h6 {
  color: gold;
  text-align: center;
  text-transform: uppercase;
  font-family: f2;
  font-weight: 500;
  font-size: 50px;
  letter-spacing: 2px;
  text-shadow: 3px 4px rgba(0, 0, 0, 0.212);
  margin-top: -30px;
}
#game-area #play-section #current-question {
  left: 50%;
  margin: 0;
  margin-top: 20px;
  transform: translateX(-50%);
}
#game-area #play-section #current-question h6 {
  font-family: puzzleGamesMainFont;
  font-size: 60px;
}
#game-area #play-section #score, #game-area #play-section #timer {
  width: 214px;
  height: 60px;
  background: url("/media/games/math-dash/images/score.png");
  background-size: cover;
  position: absolute;
  left: 100%;
  transform: translateX(-100%) scale(1.2);
  margin: 130px -50px;
}
#game-area #play-section #score p, #game-area #play-section #timer p {
  text-align: center;
  font-family: puzzleGamesMainFont;
  color: white;
  font-size: 30px;
  text-shadow: 2px 2px #0937027a;
  margin-top: 5px;
}
#game-area #play-section #timer {
  height: 70px;
  background: url("/media/games/math-dash/images/timer.png");
  background-size: cover;
  margin-top: 40px;
}
#game-area #play-section #timer p {
  font-size: 35px;
  margin-left: 60px;
  margin-top: 9px;
}
#game-area #play-section #question {
  min-width: 50%;
  max-width: 82%;
  width: auto;
  height: auto;
  background: #000000ca;
  position: relative;
  top: 42%;
  display: flex;
  margin: 0 auto;
  justify-content: center;
  padding: 0px 50px;
  border: 3px solid white;
  border-radius: 20px;
  transform: scale(0);
  opacity: 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.225);
}
#game-area #play-section #question p {
  position: relative;
  color: white;
  font-family: puzzleGamesMainFont;
  font-size: 125px;
  text-wrap: nowrap;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 9px;
  padding-top: 3px;
}
#game-area #play-section #question p span {
  margin-left: 7px;
  position: relative;
  color: white;
  /* Text color */
}
#game-area #play-section #question p span s {
  position: relative;
  color: white;
  /* Text color */
}
#game-area #play-section #question p span s::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 0px;
  color: #700000;
  border-top: 20px solid red;
  /* Line color and thickness */
  transform: translateY(-50%);
  pointer-events: none;
  /* Ensures line doesn't interfere with text selection */
}
#game-area #end-section {
  width: 100%;
  height: 100%;
  position: absolute;
}
#game-area #end-section .content {
  position: absolute;
  left: 50%;
  top: 45%;
  height: 500px;
  width: 883px;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  background: url("/media/games/math-dash/images/game-over-modal.png");
  background-size: cover;
}
#game-area #end-section #total-score {
  font-size: 50px;
  font-family: f2;
  color: white;
  text-align: center;
  margin-top: 130px;
  text-shadow: 3px 4px rgba(0, 0, 0, 0.212);
}
#game-area #end-section #total-score-value {
  background: url("/media/games/math-dash/images/capsule.png");
  background-size: cover;
  width: 400px;
  height: 72px;
  justify-content: center;
  display: flex;
  margin: 0 auto;
  position: relative;
  opacity: 0;
  margin-top: -10px;
}
#game-area #end-section #total-score-value #game-history {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translate(-100%, -50%) scale(0.9);
  margin-left: -20px;
  margin-top: 3px;
  opacity: 0.8;
  cursor: pointer;
}
#game-area #end-section #total-score-value #game-history svg {
  color: white;
  width: 50px;
  height: 50px;
  animation: logoAnim_v2 1.2s infinite;
}
#game-area #end-section #total-score-value p {
  color: white;
  font-size: 40px;
  font-family: puzzleGamesMainFont;
  align-items: center;
  display: flex;
  justify-content: center;
  position: relative;
  top: 50%;
  transform: translateY(-47%);
}
#game-area #end-section #end-logo {
  display: flex;
  justify-content: center;
  animation: logoAnim_v2 1.5s infinite;
  height: 370px;
}
#game-area #end-section #end-logo img {
  height: 100%;
  transform: scale(0);
  opacity: 0;
}
#game-area #end-section #end-btns {
  position: relative;
  width: 100%;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  transform: scale(0.9);
  opacity: 0;
}
#game-area #end-section #end-btns i {
  text-align: center;
  color: white;
  width: 100%;
  font-size: 40px;
  font-family: f2;
  text-shadow: 2px 4px rgba(0, 0, 0, 0.241);
}
#game-area #end-section #end-btns div {
  display: flex;
  justify-content: center;
  width: 400px;
  margin: 10px auto;
  cursor: pointer;
  animation: scale 1.5s infinite;
}
#game-area #end-section #end-btns div img {
  width: 100%;
  cursor: pointer;
  transform: scale(1);
  opacity: 1;
}
#game-area #end-section #end-btns div img:active {
  transform: scale(0.95);
  opacity: 0.9;
  filter: brightness(1.1);
  transition: 0.2s;
}
#game-area #history-section {
  width: 100%;
  height: 100%;
  position: absolute;
}
#game-area #history-section #empty-msg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 70px;
  text-align: center;
  font-family: f2;
  text-transform: uppercase;
  margin-top: -50px;
  text-shadow: 4px 4px rgba(0, 0, 0, 0.163);
  opacity: 0;
}
#game-area #history-section #empty-msg p {
  opacity: 0.8;
}
#game-area #history-section #answers {
  position: relative;
  left: 50%;
  width: 100%;
  transform: translate(-50%, 0%);
  height: 500px;
  overflow: hidden;
  overflow-y: scroll;
  opacity: 0;
}
#game-area #history-section #answers::-webkit-scrollbar {
  display: none;
}
#game-area #history-section #answers .answer {
  height: 110px;
  display: flex;
  margin: 10px 0;
  width: 100%;
  text-align: center;
  justify-content: center;
}
#game-area #history-section #answers .answer:nth-child(1) {
  margin-top: 10px;
}
#game-area #history-section #answers .answer p {
  font-family: puzzleGamesMainFont;
  font-size: 100px;
  color: white;
  text-shadow: 3px 4px rgba(0, 0, 0, 0.212);
  text-wrap: nowrap;
  text-align: center;
}
#game-area #history-section #answers .answer p span {
  margin: 0 35px;
}
#game-area #history-section #answers .answer div {
  height: 100%;
  margin-top: 20px;
  margin-left: 40px;
}
#game-area #history-section #answers .answer div img {
  height: 100%;
  animation: logoAnim_v2 1.5s infinite;
}
#game-area #history-section #end-btns {
  position: relative;
  width: 100%;
  margin-top: 0px;
  display: flex;
  transform: scale(0.9);
  opacity: 0;
}
#game-area #history-section #end-btns div {
  display: flex;
  justify-content: center;
  width: 400px;
  margin: 10px auto;
  cursor: pointer;
  animation: scale 1.5s infinite;
}
#game-area #history-section #end-btns div img {
  width: 100%;
  cursor: pointer;
  transform: scale(1);
  opacity: 1;
}
#game-area #history-section #end-btns div img:active {
  transform: scale(0.95);
  opacity: 0.9;
  filter: brightness(1.1);
  transition: 0.2s;
}

@media (max-width: 600px) {
  #game-area #home-section #home-logo {
    height: 40%;
    margin-top: -30px;
  }
  #game-area #mode-section h1 {
    font-size: 90px;
    margin-top: 50px;
  }
  #game-area #mode-section .alexa-msg {
    font-size: 40px;
    margin-top: -130px;
    width: 90%;
    text-align: center;
    margin-left: 5%;
  }
  #game-area #mode-section #modes {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 100px;
    width: 100%;
    margin-left: 0;
  }
  #game-area #mode-section #modes .mode {
    width: 300px;
    margin: 10px 30px;
  }
  #game-area #mode-section #modes .mode p {
    font-size: 40px;
  }
  #game-area #mode-section #alexa-msg {
    font-size: 30px;
    margin-top: -20px;
  }
  #game-area #play-section #current-question {
    margin-top: 330px;
  }
  #game-area #play-section #current-question p {
    font-size: 80px;
  }
  #game-area #play-section #current-question h6 {
    font-size: 80px;
  }
  #game-area #play-section #question {
    min-width: 80%;
    padding: 0px 20px;
    margin-top: 140px;
  }
  #game-area #play-section #question p {
    font-size: 80px;
  }
  #game-area #play-section #question p span {
    margin-left: 5px;
  }
  #game-area #end-section .content {
    height: 402px;
    width: 710px;
  }
  #game-area #end-section #total-score {
    font-size: 40px;
    margin-top: 100px;
  }
  #game-area #end-section #total-score-value {
    width: 335px;
    height: 60px;
  }
  #game-area #end-section #total-score-value p {
    font-size: 30px;
  }
  #game-area #end-section #end-logo {
    height: 250px;
  }
  #game-area #end-section #end-logo img {
    height: 100%;
  }
  #game-area #end-section #end-btns div {
    width: 300px;
  }
  #game-area #end-section #end-btns div img {
    width: 100%;
  }
  #game-area #history-section #empty-msg {
    width: 90%;
  }
  #game-area #history-section #answers {
    height: 900px;
  }
  #game-area #history-section #answers .answer {
    height: 80px;
  }
  #game-area #history-section #answers .answer p {
    font-size: 60px;
  }
  #game-area #history-section #answers .answer p span {
    margin: 0 20px;
  }
  #game-area #history-section #answers .answer div {
    margin-left: 20px;
  }
  #game-area #history-section #answers .answer div img {
    height: 80%;
  }
  #game-area #history-section #end-btns {
    margin-top: 50px;
  }
  #game-area #history-section #end-btns div {
    width: 350px;
  }
}
@media (width: 960px) and (height: 480px) {
  #game-area {
    width: 960px;
    height: 480px;
  }
  #game-area #home-section #home-logo {
    margin-top: -10px;
  }
  #game-area #mode-section h1 {
    font-size: 50px;
    margin-top: -10px;
  }
  #game-area #mode-section .alexa-msg {
    font-size: 23px;
    margin-top: -18px;
  }
  #game-area #mode-section #modes {
    margin-top: 30px;
  }
  #game-area #mode-section #modes .mode h3 {
    top: 21%;
    font-size: 34px;
  }
  #game-area #mode-section #modes .mode p {
    font-size: 35px;
  }
  #game-area #play-section #testing {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -500%) scale(1.5);
    display: none;
  }
  #game-area #play-section #current-mode, #game-area #play-section #current-question {
    margin: 20px 80px;
  }
  #game-area #play-section #current-mode p, #game-area #play-section #current-question p {
    font-size: 30px;
    line-height: 54px;
  }
  #game-area #play-section #current-mode h6, #game-area #play-section #current-question h6 {
    font-size: 30px;
    letter-spacing: 2px;
    text-shadow: 3px 4px rgba(0, 0, 0, 0.212);
    margin-top: -30px;
  }
  #game-area #play-section #current-question {
    left: 50%;
    margin: 0;
    margin-top: 20px;
    transform: translateX(-50%);
  }
  #game-area #play-section #current-question h6 {
    font-family: puzzleGamesMainFont;
    font-size: 50px;
  }
  #game-area #play-section #score, #game-area #play-section #timer {
    width: 214px;
    height: 60px;
    transform: translateX(-100%) scale(0.8);
    margin: 110px -50px;
  }
  #game-area #play-section #timer {
    height: 70px;
    background: url("/media/games/math-dash/images/timer.png");
    background-size: cover;
    margin-top: 40px;
  }
  #game-area #play-section #timer p {
    font-size: 35px;
    margin-left: 60px;
    margin-top: 9px;
  }
  #game-area #play-section #question {
    margin-top: 50px;
  }
  #game-area #play-section #question p {
    font-size: 65px;
  }
  #game-area #end-section {
    transform: scale(0.7);
  }
  #game-area #end-section .content {
    top: 49%;
  }
  #game-area #history-section #empty-msg {
    top: 65%;
  }
  #game-area #history-section #answers {
    height: 300px;
  }
  #game-area #history-section #answers .answer {
    height: 60px;
  }
  #game-area #history-section #answers .answer:nth-child(1) {
    margin-top: 10px;
  }
  #game-area #history-section #answers .answer p {
    font-size: 50px;
  }
  #game-area #history-section #answers .answer p span {
    margin: 0 35px;
  }
  #game-area #history-section #answers .answer div {
    margin-top: 5px;
  }
  #game-area #history-section #end-btns {
    position: relative;
    width: 100%;
    margin-top: -30px;
    display: flex;
    transform: scale(0.7);
    opacity: 0;
  }
  #game-area #history-section #end-btns div {
    display: flex;
    justify-content: center;
    width: 400px;
    margin: 10px auto;
    cursor: pointer;
    animation: scale 1.5s infinite;
  }
  #game-area #history-section #end-btns div img {
    width: 100%;
    cursor: pointer;
    transform: scale(1);
    opacity: 1;
  }
  #game-area #history-section #end-btns div img:active {
    transform: scale(0.95);
    opacity: 0.9;
    filter: brightness(1.1);
    transition: 0.2s;
  }
}
#modes.locked .mode {
  opacity: 0.6;
  transform: scale(0.98);
  filter: grayscale(0.2);
  cursor: default;
}

/*# sourceMappingURL=style.css.map */
