html {
  height: 100%;
}
.invisible {
  visibility: hidden;
}
#tutorial {
  display: none;
}
.no-overflow {
  overflow: hidden;
}
body {
  background-color: #000;
  margin: 0;
  height: 100%;
  overflow-y: auto;
}
img[draggable="false"] {
  user-select: none;
}
.custom-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}
.game-container {
  display: flex;
  height: 100%;
  max-width: 700px;
  position: relative;
  margin: 0 auto;
  /*    background-image: url(../img/rm-logo.png);*/
  background-position: center center;
  background-size: 50%;
  background-repeat: no-repeat;
  overflow: hidden;
}

.launch-app {
  position: absolute;
  background-size: 100% 100%;
  background-image: url("../img/backgrounds/rocket-math.png");
}

.split-container {
  min-height: 400px;
  width: 100%;
  overflow-x: hidden;
  height: 100%;
}

.left-container,
.right-container {
  width: 50%;
  height: 100%;
}

.left-container {
  float: left;
  position: relative;
}

.right-container {
  float: right;
  position: relative;
}

.with-transition {
  transition: all 1000ms ease-in;
  will-change: transform;
}

.close-doors-transition {
  transition: all 2000ms ease-in;
  will-change: transform;
}

.item-container {
  border: 1px solid;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  background-size: 100% 100%;
}

.right-container .item-container {
  background-image: url("../img/doors/door-right-empty.jpg");
  left: 100%;
}

.left-container .item-container {
  background-image: url("../img/doors/door-left-empty.jpg");
  right: 100%;
}

#session-completed .right-container .item-container {
  background-image: url("../img/doors/door-right-session-complete.jpg");
}

#session-completed .left-container .item-container {
  background-image: url("../img/doors/door-left-session-complete.jpg");
}

.split-container.visible .right-container .item-container {
  /*    -webkit-transform: translateX(-100%);
    transform: translateX(-100%); */
  margin-left: -100%;
}

.split-container.visible .left-container .item-container {
  /*    -webkit-transform: translateX(100%);
    transform: translateX(100%); */
  margin-right: -100%;
}

.choose-mission {
  top: -60%;
  position: absolute;
}
.student-name {
  background-color: #f3a100;
  border-radius: 10px;
  text-align: center;
  color: white;
  left: 20%;
  right: 20%;
  height: 5%;
  font-size: 3.5vh;
  position: absolute;
  text-transform: uppercase;
  top: -100px;
}
.login-banner {
  position: absolute;
  z-index: 1;
  top: -35%;
}
.login-container {
  position: absolute;
  width: 90%;
  top: 33%;
  padding: 0;
  border-radius: 10px;
  z-index: -1;
  opacity: 0;
  margin: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 600ms linear;
  display: flex;
  flex-direction: column;
  gap: 20px 0;
}
.login-container.fade-in {
  z-index: 999;
  opacity: 1;
}
.login-container .login-bg {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  padding: 0 20px 20px;
  border-radius: 10px;
}
.rm-login-bg {
  background-image: url(../img/backgrounds/rocket-math-overlay.png);
  background-color: #4a6ba2;
}
.sso-login-bg {
  background-image: url(../img/backgrounds/rocket-math.png);
}
.login-container .sso-login-bg {
  padding: 0 0 20px;
}
.login-container .login-bg .login-bg-subtitle {
  color: #fff;
  text-align: center;
  margin: 8px auto 12px;
  font-size: 15px;
  font-weight: bold;
}
.rm-login {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0 24px;
}
.rm-login .login-inputs {
  width: calc(70% - 12px);
  margin: auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px 0;
}
.rm-login .login-inputs input {
  font-weight: bold;
}
.rm-login .login-submit {
  width: calc(30% - 12px);
  margin: auto 0;
}
.rm-login .login-submit .btn-login {
  background-color: #f8cc47;
  color: #4a6ba2;
  border: 1px solid #79747e;
  width: 100%;
  font-weight: bold;
}
.sso-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.sso-container .btn-clever-login,
.sso-container .btn-classlink-login {
  cursor: pointer;
  width: 45%;
  max-width: 180px;
}
.sso-container .btn-clever-login img,
.sso-container .btn-classlink-login img {
  height: 100%;
  opacity: 1;
  transition: opacity 200ms linear;
  width: 100%;
}
.sso-container .btn-clever-login img:hover,
.sso-container .btn-classlink-login img:hover {
  opacity: 0.8;
}

.pl30 {
  padding-left: 30px;
  padding-right: 30px;
}

/* SETTINGS PAGE START */
#settings .header button {
  font-size: 26px;
  width: 100%;
}

.settings-effect {
  transform: translate(0%, 100%);
  z-index: 200;
}

.form-settings {
  width: 85%;
  display: inline-block;
  border-radius: 7px;
  font-size: 17px;
  font-weight: bold;
  height: 45px;
}

#settings h4 {
  color: white;
}

#settings h2 {
  color: orange;
}
.back img {
  width: 13%;
  float: left;
  opacity: 0.5;
}
.back img:hover {
  opacity: 1;
}
#settings .list-inline li {
  padding: 5px;
  padding-left: 20px;
  padding-right: 20px;
  border: solid 1px #e9a109;
  background-color: white;
  float: left;
  color: #e9a109;
  font-size: 15px;
  width: 33%;
  line-height: 30px;
  text-align: center;
}

.settings-info-buttons .btn,
.settings-social-buttons .btn {
  width: 100%;
}

.header {
  margin-top: 10px;
}

.green-btn {
  background-color: #97c423;
  color: #ffffff;
  border-radius: 10px;
  margin-bottom: 25px;
}

.gray-btn {
  background-color: #565456;
  color: #ffffff;
  border-radius: 10px;
}

.padding-text {
  padding-left: 40px;
}

.red-btn {
  background-color: #fd0000;
}

li {
  margin-bottom: 25px;
  margin-top: 10px;
}

.student-report {
  width: 98%;
  background-color: #e9a109;
  color: #ffffff;
  margin-bottom: 35px;
  border-radius: 10px;
}

.blue-btn {
  background-color: #2d4e7d;
  color: #ffffff;
  margin-bottom: 35px;
}

.rocket {
  margin-right: 20px;
  vertical-align: middle;
  font-size: 37px;
}

.like-btn {
  background-color: #8b8a8c;
  color: #ffffff;
  border-radius: 10px;
  margin-bottom: 25px;
  margin-top: 15px;
}

.reset {
  background-color: #e70000;
  color: #ffffff;
  border-radius: 10px;
  margin-bottom: 25px;
  margin-top: 15px;
}

.icon {
  margin-right: 20px;
  vertical-align: middle;
  font-size: 37px;
}

#settings .list-inline li:first-child {
  background-color: #e9a109;
  color: #ffffff;
}

/* SETTINGS PAGE END */

/* PLAYING PAGE START */

#problem-container {
  position: relative;
  margin-top: -5%;
  margin-bottom: -20%;
}
.problems {
  position: absolute;
  width: 100%;
  height: 96%;
}
.problems .img-responsive.playing-background {
  width: 100%;
  height: 100%;
}
#problem_default {
  opacity: 0;
  position: absolute;
}
.problem-details p {
  font-size: 9vh;
  text-align: center;
  margin-bottom: 0px;
  line-height: 1.1;
  margin: 0;
  height: calc(33% - 6px);
}
.item-two,
.answer {
  margin: 0;
  margin-top: -5%;
}
.item-two::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-100%) translateY(0%);
  width: 5vh;
  height: 5vh;
}
.item-two.add::before {
  content: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' fill='%23333' width='100%' height='100%' viewBox='0 0 24 24'><path d='M24 10h-10v-10h-4v10h-10v4h10v10h4v-10h10z'/></svg>");
}
.item-two.sub::before {
  content: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' fill='%23333' width='100%' height='100%' viewBox='0 0 24 24'><path d='M0 10h24v4h-24z'/></svg>");
}
.item-two.mult::before {
  content: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' fill='%23333' width='100%' height='100%' viewBox='0 0 24 24'><path d='M23.954 21.03l-9.184-9.095 9.092-9.174-2.832-2.807-9.09 9.179-9.176-9.088-2.81 2.81 9.186 9.105-9.095 9.184 2.81 2.81 9.112-9.192 9.18 9.1z'/></svg>");
}
.answer.division {
  position: absolute;
  top: 18%;
  right: 25%;
  line-height: 9vh;
  max-width: 30%;
  text-align: right;
  margin-top: 0;
  width: fit-content;
}
.item-one.division {
  position: absolute;
  right: 25%;
  top: 47%;
  line-height: 9vh;
  width: 30%;
  text-align: right;
}
.item-two.division {
  position: absolute;
  left: 10%;
  top: 47%;
  line-height: 9vh;
  margin-top: 0;
  width: 30%;
  text-align: right;
}
.problem-operation-sign {
  position: absolute;
  height: calc(33% - 6px);
  top: 33%;
  left: 25%;
}
#problem-container
  .problem-operation-sign
  .img-responsive:not(.separation-line) {
  height: 100%;
  width: auto;
}
.problem-operation-sign.division {
  width: 45%;
  top: 45%;
  left: 40%;
  transform: translateX(0);
}
.problem-operation-sign.division img {
  height: 9.5vh;
  width: auto !important;
  object-fit: cover;
  object-position: left;
}
.problem-question {
  position: absolute;
  text-align: center;
}
.problem-question img {
  width: 40%;
  margin: 0 auto;
}
.problem-error-counter {
  width: 10%;
  position: absolute;
  right: 1%;
}
.problem-details {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 10%;
  bottom: 10%;
}
.problem-details.aligned .problem-operation-sign {
  display: none !important;
}
.problem-details.aligned .problem-question {
  display: flex;
  flex-direction: column;
}
.problem-details.aligned .item-one,
.problem-details.aligned .item-two {
  width: 20%;
  margin-left: auto;
  margin-right: auto;
  text-align: right;
  position: relative;
  min-width: 11vh;
}
.problem-details.aligned .answer {
  max-width: 50%;
  margin-left: auto;
  text-align: right;
  width: fit-content;
  margin-right: 40%;
}
.division-short .problem-operation-sign.division {
  width: 30%;
  left: 45%;
}
.division-short .item-two.division {
  left: 15%;
}
hr {
  width: 22%;
  border: 4px solid #767476;
  border-top: 2px solid #eee;
}
.multiplictaion {
  margin-left: 20%;
  font-size: 59px;
  margin-bottom: -72px;
  margin-top: 10px;
}
.respouns {
  margin-left: 0;
  text-align: center;
  font-size: 60px;
  width: 100%;
  background-color: #cfcdcf;
  border: 0px;
}
.outer-circle {
  border-radius: 100%;
  width: 70px;
  height: 60px;
  border: 2px solid gray;
  margin: 0 auto;
}
.inner-circle {
  position: relative;
  top: 4px;
  border-radius: 100%;
  width: 60px;
  height: 50px;
  border: 2px solid gray;
  margin: 0 auto;
  line-height: initial;
  color: white;
  font-size: 40px;
}
.circle-align {
  text-align: center;
  margin-top: 27%;
}
.circle-gray {
  border-radius: 70%;
  background-color: white;
}
/******************************************************************************/
/****   KEYBOARD    ***********************************************************/
/******************************************************************************/
#keyboard {
  background-image: url(../img/backgrounds/keyboard.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: top;
  margin: 0 auto;
  margin-bottom: 0px;
  bottom: 0px;
  overflow: hidden;
  width: 100%;
  padding-top: 2%;
  padding-bottom: 2%;
  padding-left: 2%;
  padding-right: 2%;
  position: relative;
}
.black-square img {
  width: 100%;
}
#keyboard img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#keyboard img:active {
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 5px;
}
.retake-modal {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.4);
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 150;
  transition: top 500ms ease-in;
  padding: 3%;
  display: none;
}
.retake-modal.bring-forward {
  display: initial;
  top: 0;
}
.retake-modal .retake-container {
  width: 100%;
  height: 100%;
  background-color: #fefab3;
  padding: 15px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.retake-modal .retake-container .custom-text {
  color: #000;
  font-weight: bold;
  text-align: center;
  font-size: 3vh;
  line-height: 1.1;
}
.retake-modal .retake-container .btn.continue-button,
.retake-modal .retake-container .btn.retake-button {
  font-size: 2.5vh;
  padding: 0.8vh 15px;
  font-weight: bold;
  border-radius: 10vh;
}
.retake-modal .retake-container .btn.continue-button {
  background-color: #b66a70;
}
.retake-modal .retake-container .btn.retake-button {
  background-color: #9cca8f;
}

#number_1,
#number_2,
#number_3,
#number_4,
#number_5,
#number_6,
#number_7,
#number_8,
#number_9,
#number_0 {
  width: 20%;
  padding: 1px;
  height: 11vh;
  user-select: none;
}
#arrow {
  width: 40%;
  padding: 1px;
  height: 11vh;
  user-select: none;
}
#enter {
  width: 60%;
  padding: 1px;
  height: 11vh;
  user-select: none;
}
.custom-hide {
  display: none !important;
}
.problem-details-identify-fractions {
  width: 90%;
  display: flex;
  height: 90%;
}
#id_frac_problem1,
#id_frac_problem2 {
  height: auto;
  margin: auto 0;
  flex-shrink: 0;
  width: 40%;
  max-height: 20vh;
  object-fit: contain;
}
.problem-details .fraction-equals {
  margin: auto;
  flex-shrink: 0;
}
.problem-details .fraction-answer-0 {
  margin-top: auto;
  margin-bottom: auto;
  flex-shrink: 0;
  font-size: 13vh;
  line-height: 1;
  min-width: 40%;
  min-height: 13.5vh;
}
.problem-details .fraction-answer-1,
.problem-details .fraction-answer-2 {
  line-height: 1;
  font-size: 8.5vh;
  min-width: 80%;
  margin-left: auto;
  margin-right: auto;
  height: 9vh;
}
.problem-details p.equivalent-fraction-field {
  height: 10vh;
  line-height: 9.5vh;
  margin: 0 auto;
  width: 80%;
}
.problem-details .fraction-answer-0,
.problem-details .fraction-answer-1,
.problem-details .fraction-answer-2,
.problem-details .equivalent-answer-0,
.problem-details .equivalent-answer-1,
.problem-details .factor-answer,
.problem-details .decimal-answer-0,
.problem-details .decimal-answer-1 {
  border-width: 2px;
  border-style: solid;
  border-color: transparent;
  position: relative;
}
.problem-details .fraction-answer-0.current,
.problem-details .fraction-answer-1.current,
.problem-details .fraction-answer-2.current,
.problem-details .equivalent-answer-0.current,
.problem-details .equivalent-answer-1.current,
.problem-details .decimal-answer-0.current,
.problem-details .decimal-answer-1.current {
  animation-name: blinking;
  animation-duration: 1s;
  animation-iteration-count: 5000;
}
@keyframes blinking {
  0% {
    border-color: transparent;
  }
  50% {
    border-color: #444;
  }
  100% {
    border-color: transparent;
  }
}

.fraction-answer-container {
  display: flex;
  width: 39%;
  flex-shrink: 0;
  margin: auto auto auto 0;
}
.fraction-answer-container.single {
  width: 25%;
}
.fraction-answer-container.single .fraction-answer-0 {
  width: 80%;
}

.answer.correct,
.fraction-answer.correct,
.equivalent-answer.correct,
.factor-answer.correct,
.decimal-answer.correct {
  color: green;
}
.answer.incorrect,
.fraction-answer.incorrect,
.equivalent-answer.incorrect,
.factor-answer.incorrect,
.decimal-answer.incorrect {
  color: red;
  position: relative;
}
.answer.division.incorrect {
  position: absolute;
}
.answer.incorrect:before,
.fraction-answer.incorrect::before,
.equivalent-answer.incorrect::before,
.factor-answer.incorrect::before,
.decimal-answer.incorrect::before {
  content: "";
  border-bottom: solid 5px red;
  height: 1px;
  color: transparent;
  position: absolute;
  top: calc(50% - 3px);
  width: calc(100% + 12px);
  left: -6px;
}
.fraction-answer-column {
  display: flex;
  flex-direction: column;
}
.problem-error-counter {
  top: 0;
}
.d-block {
  display: block !important;
}
.d-flex {
  display: flex !important;
}
.d-none {
  display: none !important;
}
.problem-details-equivalent-fractions {
  display: flex;
  height: 100%;
  padding-right: 10%;
}
.equivalent-fraction {
  margin: auto 0;
  padding-left: 3%;
  padding-right: 3%;
  text-align: center;
  width: 43%;
  display: flex;
  flex-direction: column;
}

.problem-details-factors-primes {
  display: flex;
  width: 89%;
  padding-top: 6vh;
}
.problem-details-factors-primes.full-width {
  width: 100%;
}
.problem-details-factors-primes.elem-7 {
  position: relative;
}
.problem-details-factors-primes.elem-7 .factors-primes-list {
  padding-top: 0;
}
.factors-primes-list {
  padding: 10px 0 0 0;
  text-align: center;
  list-style: none;
  font-size: 5.5vh;
  width: 45%;
  margin: 0 auto;
}
.factors-primes-list.factors-primes-list-1 {
  margin: 0;
}
.factors-primes-list li {
  margin: 0 auto 5px;
  display: flex;
  line-height: 6vh;
  height: 6vh;
}
.factors-primes-list li.li-7 {
  position: absolute;
  width: 50%;
  left: 55%;
  transform: translateX(-50%);
  bottom: -6vh;
  height: 6vh;
  line-height: 5.5vh;
}
.factors-primes-list .last-li {
  position: relative;
}
.factors-primes-list .last-li .checkmark-red {
  position: absolute;
  top: 50%;
  right: 0;
  height: 3.5vh;
  width: auto;
  transform: translateY(-50%) translateX(80%);
}
.factors-primes-list .fp-answer-container {
  position: relative;
}
.factors-primes-list li .fp-times {
  width: 20%;
  text-align: center;
  display: flex;
}
.factors-primes-list li .fp-number {
  width: 40%;
}
.factors-primes-list li img {
  height: auto;
  width: 80%;
  margin: auto;
}
.factors-title {
  position: absolute;
  font-size: 5.5vh;
  width: 100%;
  text-align: center;
  line-height: 5vh;
  padding-top: 5px;
  top: 0;
  left: 0;
}
.problem-details-factors-primes.full-width .factors-title {
  width: 100%;
}
.margin-0-auto {
  margin: 0 auto !important;
}
.whats-next {
  font-size: 4vh;
  position: absolute;
  top: 0;
  width: 100%;
  text-align: center;
  color: red;
}

.problem-details-fractions-decimals {
  display: flex;
  height: 100%;
  padding-right: 10%;
}
.problem-details-fractions-decimals.bigger-left .fractions-decimals-left {
  width: 50%;
}
.problem-details-fractions-decimals.bigger-left .fractions-decimals-right {
  width: 37%;
}
.problem-details-fractions-decimals.bigger-right .fractions-decimals-left {
  width: 37%;
}
.problem-details-fractions-decimals.bigger-right .fractions-decimals-right {
  width: 50%;
}
.fractions-decimals-left {
  width: 45%;
  margin-top: auto;
  margin-bottom: auto;
}
.decimal-text {
  line-height: 10vh;
  font-size: 8vh;
  text-align: center;
  display: block;
  height: 10vh;
}
.custom-fraction .decimal-answer-0,
.custom-fraction .decimal-answer-1 {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}
.custom-division {
  position: relative;
}
.custom-division .left-1 {
  position: absolute;
  width: 42%;
  text-align: right;
  top: 2vh;
  left: 0;
}
.custom-division .left-2 {
  position: absolute;
  top: 2vh;
  right: 3%;
  width: 42%;
  text-align: center;
}
.custom-division .division-img {
  height: 12vh;
  width: 56%;
  object-fit: cover;
  object-position: left;
  margin-left: auto;
  margin-right: 2%;
  display: block;
}
.fractions-decimals-right {
  width: 45%;
  margin-top: auto;
  margin-bottom: auto;
  position: relative;
}
.decimal-answer-0.decimal-answer-adjusted {
  margin-right: 35%;
  width: 55%;
}
.custom-fraction.fraction-absolute {
  position: absolute;
  top: 0;
  right: 10%;
  width: 5vh;
}
.custom-fraction.fraction-absolute .decimal-text {
  font-size: 4vh;
  line-height: 5vh;
  height: 5vh;
}
.type3-container {
  display: flex;
  padding: 0 0 0 5%;
}
.type3-container .decimal-answer {
  width: 100%;
  margin-right: 5%;
}

/********* ANIMATIONS **********************************************************/
playing-screen {
  display: none;
  z-index: 80;
}
playing-screen #header {
  position: relative;
  z-index: 1;
}
playing-screen .back-icon,
playing-screen .back-icon.left,
playing-screen .back-icon.drop-top-icon,
playing-screen .back-icon.drop-top-icon.left,
problem-break .back-icon,
problem-break .back-icon.left,
problem-break .back-icon.drop-top-icon,
problem-break .back-icon.drop-top-icon.left {
  display: none !important;
}
start-over,
mission-accomplished {
  position: absolute;
  z-index: 95;
}
phase {
  display: none;
}

.question-icon {
  position: absolute;
  width: 90px;
  margin-bottom: 5%;
  margin-right: 5%;
  padding-left: 5px;
  border: 2px solid yellow;
}

.question-icon a {
  color: yellow;
  display: block;
}

choose-mission,
effort-doors,
settings,
achievement,
phase,
problem-break,
break-time {
  position: absolute;
  z-index: 90;
}

break-time.visible .top-container .items,
break-time.visible .bottom-container .items {
  transition: all 2000ms ease-in;
}
.back-icon,
.settings-icon,
.effort-back-icon,
.rocket-icon,
.session-completed-back-icon {
  position: absolute;
  top: -100px;
  z-index: 90;
  width: 13%;
}
.back-icon img,
.settings-icon img,
.effort-back-icon img,
.rocket-icon img,
.session-completed-back-icon img {
  width: 100%;
  opacity: 0.8;
}
.back-icon img:hover,
.settings-icon img:hover,
.effort-back-icon img:hover,
.rocket-icon img:hover,
.session-completed-back-icon img:hover {
  opacity: 1;
}

.settings-icon,
.effort-back-icon,
.back-icon,
.session-completed-back-icon {
  left: -100px;
}
.rocket-icon {
  right: -100px;
}
.drop-top-icon {
  top: 1%;
}
.drop-top-icon.left {
  left: 1%;
}
.drop-top-icon.right {
  right: 1%;
}
.rise-bottom-icon {
  bottom: 1%;
  right: 1%;
}
#settings {
  position: absolute;
  background-repeat: repeat;
  background-size: cover;
}
.banner-animation {
  top: 2%;
}
.error-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  background: rgb(0, 0, 0);
  transition: background-color 1.5s ease;
}
#problem-container.error-shake {
  animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}
@keyframes shake {
  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }

  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}
.remove-background {
  background: none;
}

.bring-forward {
  z-index: 100;
}
/****   playing-screen-header    **********************************************/
/******************************************************************************/
#logo-header img,
#playing-screen-header img,
#playing-screen-bottom img {
  width: 100%;
}
#playing-screen-header {
  width: 100%;
  position: relative;
  z-index: 1;
}
#progress-bar,
#progress-timer {
  width: 42%;
  position: absolute;
  background-color: #543201;
  top: 0;
  bottom: 0;
  z-index: -1;
}
#progress-bar {
  left: 0;
}
#level-number {
  height: 100%;
  margin-left: 55%;
  margin-right: 5%;
}
#level-number img {
  max-width: 100%;
}
#progress-timer {
  right: 0;
}
#timer {
  width: 0%;
  max-width: 100%;
  height: 100%;
  background-image: url(../img/operation-signs/multiplication.png);
  background-color: #b0a459;
}
#problem-number-content {
  width: 11%;
  left: 44.5%;
  border: 5px double gray;
  border-radius: 50%;
  position: absolute;
  top: 0;
  bottom: 0;
  text-align: center;
}
#problem-number img {
  padding: 3%;
}
/******************************************************************************/

.playing-screen-buttons img {
  /*float: left;*/
}

.playing-screen-button-arrow img {
  /*float: left;*/
}

.playing-screen-button-enter img {
  /*float: left;*/
}
/*PLAYING PAGE END*/

/* ACHIEVEMENT SCREEN START */

.split-container-choose {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

#achievement {
  width: 100%;
  height: 100%;
  position: absolute;
  background-size: 100% 100%;
}

#achievement.learning-track-1 {
  background-image: url(../img/backgrounds/achievement-backgrounds/achievement-rocket-1.jpg);
}
#achievement.learning-track-2 {
  background-image: url(../img/backgrounds/achievement-backgrounds/achievement-rocket-2.jpg);
}
#achievement.learning-track-3 {
  background-image: url(../img/backgrounds/achievement-backgrounds/achievement-rocket-3.jpg);
}
#achievement.learning-track-4 {
  background-image: url(../img/backgrounds/achievement-backgrounds/achievement-rocket-4.jpg);
}
#achievement.learning-track-5 {
  background-image: url(../img/backgrounds/achievement-backgrounds/achievement-rocket-5.jpg);
}
#achievement.learning-track-6 {
  background-image: url(../img/backgrounds/achievement-backgrounds/achievement-rocket-6.jpg);
}
#achievement.learning-track-7 {
  background-image: url(../img/backgrounds/achievement-backgrounds/achievement-rocket-7.jpg);
}
#achievement.learning-track-8 {
  background-image: url(../img/backgrounds/achievement-backgrounds/achievement-rocket-8.jpg);
}
#achievement.learning-track-9 {
  background-image: url(../img/backgrounds/achievement-backgrounds/achievement-rocket-9.jpg);
}
#achievement.learning-track-10 {
  background-image: url(../img/backgrounds/achievement-backgrounds/achievement-rocket-10.jpg);
}
#achievement.learning-track-11 {
  background-image: url(../img/backgrounds/achievement-backgrounds/achievement-rocket-11.jpg);
}
#achievement.learning-track-12 {
  background-image: url(../img/backgrounds/achievement-backgrounds/achievement-rocket-12.jpg);
}
#achievement.learning-track-13 {
  background-image: url(../img/backgrounds/achievement-backgrounds/achievement-rocket-13.jpg);
}
#achievement.learning-track-14 {
  background-image: url(../img/backgrounds/achievement-backgrounds/achievement-rocket-14.jpg);
}
#achievement.learning-track-15 {
  background-image: url(../img/backgrounds/achievement-backgrounds/achievement-rocket-15.jpg);
}
#achievement.learning-track-16 {
  background-image: url(../img/backgrounds/achievement-backgrounds/achievement-rocket-16.jpg);
}

#levels-container {
  position: absolute;
  top: 15%;
  left: 3%;
  right: 3%;
}
.black-square {
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 0 2px #787576;
  text-align: center;
  color: white;
  width: 20%;
  float: right;
}
.black-square-A {
  width: 100%;
}
.head-text {
  color: white;
  text-align: center;
  font-size: 2.5vh;
  left: 14%;
  right: 14%;
  position: absolute;
}
.set-completed {
  color: white;
  text-align: center;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
  font-size: 3.5vh;
  font-weight: bold;
  padding: 3%;
  width: 100%;
}
.footer-text {
  bottom: 0;
  left: 0%;
  right: 0%;
  text-transform: uppercase;
}
.operation-sign {
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
}
.operation-item:hover,
.back-icon:hover,
.effort-back-icon:hover,
.settings-icon:hover,
.rocket-icon:hover,
.question-icon:hover,
.button-go:hover,
.efforts-button-go:hover,
.continue:hover,
.session-completed-back-icon:hover {
  cursor: pointer;
}
.operation-sign.multiplication {
  background-image: url(../img/operation-signs/multiplication.png);
}
.operation-sign.division {
  background-image: url(../img/operation-signs/division.png);
}
.operation-sign.addition {
  background-image: url(../img/operation-signs/addition.png);
}
.operation-sign.substraction {
  background-image: url(../img/operation-signs/subtraction.png);
}
.operation-item {
  background-size: cover;
  height: 27%;
  position: absolute;
  top: 42%;
  background-repeat: no-repeat;
}
.operation-item img {
  max-height: 100%;
}
.left-container .operation-item,
.left-container .operation-item.visibility:hover {
  background-image: url(../img/backgrounds/operation-left.png);
}
.left-container .operation-item:hover {
  background-image: url(../img/backgrounds/operation-left-hover.png);
}
.right-container .operation-item,
.right-container .operation-item.visibility:hover {
  background-image: url(../img/backgrounds/operation-right.png);
  padding: 5px;
}
.right-container .operation-item:hover {
  background-image: url(../img/backgrounds/operation-right-hover.png);
}
.full-content {
  width: 100%;
  height: 100%;
}

.button-multiplication {
  background-image: url(../img/button-div.png);
  height: 37%;
  width: 65%;
  position: relative;
  background-size: 80% 57%;
  background-repeat: no-repeat;
  top: 0px;
  margin-top: 134%;
  float: right;
  margin-right: -45px;
}

.visibility {
  opacity: 0.5;
  right: 0px;
}
.button-substraction {
  background-image: url(../img/button.png);
  height: 37%;
  width: 65%;
  position: relative;
  background-size: 80% 57%;
  background-repeat: no-repeat;
  top: 0px;
  margin-top: 134%;
}

.top-container {
  width: 100%;
  height: 49%;
}
.bottom-container {
  width: 100%;
  height: 51%;
}
.items {
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: absolute;
}

.top-container .items {
  background-image: url(../img/doors/door-top.png);
  top: -100%;
}

.bottom-container .items {
  background-image: url("../img/doors/door-bottom.png");
  bottom: -100%;
}

start .top-container .items {
  background-image: url(../img/doors/door-top.png);
  /*top: 0;*/
  width: 100%;
  height: 100%;
}

start .bottom-container .items {
  background-image: url("../img/doors/door-bottom.png");
  /*bottom: 0;*/
  width: 100%;
  height: 100%;
}

start .start-button-go {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 43%;
}

.start-button-go:hover {
  cursor: pointer;
}

start .choose-mission {
  top: 2%;
  position: absolute;
  z-index: 1;
}

.top-container,
.bottom-container {
  position: relative;
}
.visible .top-container .items,
.choose-mission.visible {
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
}

.visible .bottom-container .items,
#settings.visible .settings-effect {
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
}
phase .launch {
  position: absolute;
  background-size: 100% 100%;
}
.button-go,
.efforts-button-go,
.continue {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 23%;
}

.student-number {
  color: #073e85;
  text-align: center;
  margin-top: 25%;
  font-size: 4vh;
  text-transform: uppercase;
  font-weight: bolder;
}

.phase,
.break-time {
  position: absolute;
  top: 55%;
  left: 7%;
  right: 7%;
}
.operation-types {
  text-align: center;
  color: #8e9bb2;
  font-size: 3.48vh;
  font-weight: bold;
  text-shadow: 0px -2px #45556d;
  position: absolute;
  bottom: 10%;
  left: 10%;
  right: 10%;
}

.level {
  text-align: center;
  margin-top: 13%;
  font-size: 7vh;
  font-weight: bold;
  color: #8e9bb2;
}
.explode {
}
/* ACHIEVEMENT SCREEN END */

/* START OVER PAGE */

#start-over .right-container .item-container {
  background-image: url("../img/doors/door-right-keep-trying.png");
  left: 100%;
}

#start-over .left-container .item-container {
  background-image: url("../img/doors/door-left-keep-trying.png");
  right: 100%;
}

/*START OVER PAGE END*/

/*MISSION ACCOMPLISHED PAGE START*/

#mission-accomplished .right-container .item-container {
  background-image: url("../img/doors/door-right-mission-accomplished.jpg");
  left: 100%;
}

#mission-accomplished .left-container .item-container {
  background-image: url("../img/doors/door-left-mission-accomplished.jpg");
  right: 100%;
}

#mission-accomplished .right-container .item-container.level-up {
  background-image: url("../img/doors/fluency_right.png");
  left: 100%;
}

#mission-accomplished .left-container .item-container.level-up {
  background-image: url("../img/doors/fluency_left.png");
  right: 100%;
}

/*MISSION ACCOMPLISHED PAGE END*/

.waiting-time {
  position: absolute;
  background: #fe0203;
  left: 11%;
  right: 11%;
  bottom: 56%;
  height: 2%;
}

.waiting-progress {
  width: 0%;
  max-width: 100%;
  height: 100%;
  background-color: #fcfe01;
}

.disabled-button {
  opacity: 0.5;
}

#waiting-progress {
  color: #d4b41b;
  font-size: 44px;
  font-weight: bold;
  letter-spacing: 7px;
  border: 5px solid;
  border-color: #d4b41b;
  width: 70%;
  margin: 0 auto;
  margin-top: 16%;
  text-align: center;
}

.page-title {
  width: 100%;
}

#problem-container .img-responsive:not(.separation-line) {
  width: 100%;
}

#alertModal,
#videoModal,
#networkModal,
#problemsLoadingModal,
#raceProblemsLoadingModal,
#raceProblemsLoadingFailedModal {
  position: absolute;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  top: 0;
  left: 0;
  display: none;
}

#alertModalContent,
#problemsLoadingModalContent,
#raceProblemsLoadingModalContent,
#raceProblemsLoadingFailedModalContent,
#networkModalContent {
  position: absolute;
  padding: 30px 30px 20px;
  background-color: #fff;
  width: 90%;
  max-width: 500px;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}
#alertModalContent button,
#networkModalContent button {
  margin: 20px auto 0;
}

#videoModalContent {
  width: 90%;
  height: 90%;
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translateX(-50%) translateY(-50%);
}
.close-video-modal {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 35px;
  height: 35px;
  cursor: pointer;
  fill: red;
  background-color: #fff;
  padding: 5px;
  border-radius: 20px;
  border: solid 1px #444;
}

.one-minute-level img {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 8vh;
  height: 11vh;
  object-fit: contain;
}

#one-minute-correct-answers-label {
  display: none;
  position: absolute;
  max-height: 100%;
  width: 100%;
  padding-left: 1vw;
  padding-right: 1vw;
  top: 45%;
  transform: translateY(-50%);
  font-size: 5vh;
  text-align: center;
  line-height: 1.2;
}
#one-minute-correct-answers {
  color: #4347c5;
  font-weight: bold;
  font-size: 7vh;
}
#one-minute-total-answers {
  font-weight: bold;
  font-size: 7vh;
}
#one-minute-directions {
  background-color: rgba(255, 255, 255, 0.95);
  position: absolute;
  top: 1vh;
  padding: 10px 30px;
  font-size: 3vh;
  opacity: 0;
  transition: opacity 1500ms ease, transform 1000ms ease;
  transform: translateX(-100%);
  width: 96%;
  left: 2%;
  z-index: 100;
}
#one-minute-directions.show {
  transform: translateX(0%);
  opacity: 1;
}
#one-minute-directions .direction-close {
  position: absolute;
  top: 5px;
  right: 5px;
  fill: red;
  width: 20px;
  cursor: pointer;
}

#start-over-directions {
  background-color: rgba(255, 219, 107, 1);
  position: absolute;
  bottom: 1vh;
  padding: 10px 30px;
  font-size: 2.6vh;
  opacity: 0;
  transition: opacity 1500ms ease, transform 1000ms ease;
  transform: translateX(-100%);
  width: 96%;
  left: 2%;
  z-index: 100;
}
#start-over-directions.show {
  transform: translateX(0%);
  opacity: 1;
}
#start-over-directions .direction-close {
  position: absolute;
  top: 5px;
  right: 5px;
  fill: red;
  width: 3.5vh;
  cursor: pointer;
}

#fluency-promotion-directions {
  background-color: rgba(255, 255, 255, 0.95);
  position: absolute;
  bottom: 15vh;
  padding: 10px 30px;
  font-size: 3vh;
  opacity: 0;
  transition: opacity 1500ms ease, transform 1000ms ease;
  transform: translateX(-100%);
  width: 96%;
  left: 2%;
  z-index: 100;
}
#fluency-promotion-directions.show {
  transform: translateX(0%);
  opacity: 1;
}
#fluency-promotion-directions .direction-close {
  position: absolute;
  top: 5px;
  right: 5px;
  fill: red;
  width: 20px;
  cursor: pointer;
}

start-over .split-container .close-doors-transition {
  transition: all 1500ms ease-in;
}
start-over .split-container.visible .close-doors-transition {
  transition: all 2000ms ease-in;
}

.app-store-label {
  color: #fff;
  margin-top: 40px;
  margin-bottom: 0;
  font-weight: bold;
}
.badge-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.badge-container {
  padding: 0 calc(6.67% + 16px) 8vh calc(6.67% + 8px);
  height: 17vh;
  justify-content: space-between;
}
.badge-container > * {
  margin-top: auto;
  margin-bottom: auto;
}
.badge-container .app-badge img {
  height: 6vh;
  max-height: 50px;
}

.coming-soon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: rgba(255, 255, 255, 0.85);
  color: #000;
  font-weight: bold;
  text-align: center;
}
.coming-soon > span {
  position: absolute;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 100%;
  left: 50%;
}
.app-badge {
  display: block;
  max-width: calc(50% - 10px);
  position: relative;
}
.app-badge img {
  max-width: 100%;
  object-fit: contain;
}
.download-links.small .app-store-label {
  margin-top: 20px;
}
.download-links.smaller .app-store-label {
  display: none;
}

#savingInProgress {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.4);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 150;
  display: none;
}
#savingInProgress.in-progress,
#savingInProgress.failed {
  display: block;
}

#savingInProgress .in-progress-label,
#savingInProgress .failed-label {
  display: none;
  width: 90%;
  padding: 15px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  font-size: 24px;
  text-align: center;
}
#savingInProgress.in-progress .in-progress-label,
#savingInProgress.failed .failed-label {
  display: block;
}

#confirmLogout {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.4);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 150;
  display: none;
}
.confirm-logout-content {
  width: 90%;
  padding: 15px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  font-size: 24px;
  text-align: center;
}
.confirm-logout-content .modal-button {
  margin: 10px auto;
  font-size: 18px;
}

@media only screen and (max-height: 639px) {
  #arrow,
  #enter,
  #number_0,
  #number_1,
  #number_2,
  #number_3,
  #number_4,
  #number_5,
  #number_6,
  #number_7,
  #number_8,
  #number_9 {
    height: 9.5vh;
  }
  .answer.division,
  .item-one.division,
  .item-two.division,
  .problem-details .fraction-answer-1,
  .problem-details .fraction-answer-2 {
    font-size: 8vh;
  }
  #waiting-progress {
    font-size: 32px;
  }

  .factors-title {
    font-size: 4vh;
    line-height: 3.5vh;
  }
  .factors-primes-list {
    font-size: 4.5vh;
  }
  .factors-primes-list li {
    line-height: 4.5vh;
    height: 4.5vh;
  }

  .factors-primes-list li.li-7 {
    position: absolute !important;
    bottom: -5.5vh;
    height: 4.5vh;
  }

  .factors-primes-list li.li-7 {
    width: 200px;
    left: 50%;
    transform: translateX(-50%);
  }
  .operation-types {
    line-height: 1.3;
  }
  .phase {
    top: 52%;
  }
}

.black-square {
  padding-top: 20%;
  position: relative;
}
.achievement-letter {
  position: absolute;
  color: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5vh;
  font-weight: bold;
}

start.record-buttons .start-button-go,
start.record-buttons img.page-title {
  display: none;
}
start .buttons-container {
  display: none;
}
start.record-buttons .buttons-container {
  display: block;
  position: absolute;
  top: 50vh;
  transform: translateX(-50%) translateY(-100%);
  left: 50%;
  width: 75%;
  padding-bottom: 5vh;
}
.get-records-button,
.start-game-button,
.merge-records-button {
  font-weight: bold;
  font-size: 3.5vh;
  border-width: 4px;
  border-style: solid;
  line-height: 1.2;
  margin-bottom: 10px;
  background-color: #f1eb4c;
  text-align: center;
  border-radius: 10px;
  cursor: pointer;
}
.get-records-button,
.merge-records-button {
  color: #563695;
  border-color: #73287c;
}
.start-game-button {
  color: #54b948;
  border-color: #54b948;
}
.clever-banner {
  position: absolute;
  z-index: 1;
  top: -35%;
}

.clever-banner.banner-animation {
  top: 2%;
}

.clever-container {
  position: absolute;
  background-image: url(../img/backgrounds/rocket-math.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  width: 90%;
  top: 33%;
  padding: 20px;
  border-radius: 10px;
  z-index: 999;
  display: none;
  margin: 5%;
}
.merge-records-button {
  padding: 5px 10px;
  font-size: 3vh;
}
.clever-container input {
  margin-bottom: 15px;
}
.clever-container .errors {
  font-weight: bold;
  font-size: 2.5vh;
  display: block;
  margin-bottom: 10px;
  padding: 4px 8px;
  color: #ea0101;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}
.no-race-assigned {
  position: absolute;
  top: -100%;
  width: 100%;
  background-color: #fff;
  z-index: 100;
  font-size: 4vh;
  text-transform: uppercase;
  font-weight: bold;
  transition: all 1000ms ease-in;
  text-align: center;
  padding: 20px 0;
}
.no-race-assigned.custom-drop {
  top: 20px;
}

.effort-stars {
  position: absolute;
  bottom: 0;
  transform: translateX(-50%) translateY(-7vh);
  width: 87%;
  left: 50%;
}
.effort-stars-label {
  font-size: 4vh;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2vh;
  color: #ffca18;
}
.effort-star-container {
  display: flex;
  width: 87%;
  margin: 0 auto;
  justify-content: space-around;
}
.effort-star-container img,
.effort-star-container svg {
  width: 16%;
  height: auto;
  fill: #ffca18;
}
.efforts {
  margin-top: 4.5vh;
}
.efforts-calendar {
  height: 3.7vh;
  width: 87%;
  margin: 0 auto 2px;
  display: flex;
}
.efforts-calendar > * {
  margin-top: auto;
  margin-bottom: auto;
  display: block;
  font-size: 2.5vh;
  font-weight: bold;
  text-align: center;
  padding-right: 1px;
  height: 100%;
  width: 6%;
  letter-spacing: -1px;
}
.efforts-calendar > *:first-child {
  margin-left: auto;
}
.efforts-calendar > *:last-child {
  margin-right: auto;
}

.red-text {
  color: red;
}

.efforts-calendar .cell,
.efforts-calendar .sum {
  background-color: #fbe13b;
  border: solid 1px #888;
}
.efforts-calendar .sum {
  width: 7%;
}
.efforts-calendar .equals,
.efforts-calendar-label {
  color: #ffca18;
}
.efforts-calendar-label {
  margin-bottom: 2px;
  font-size: 2.7vh;
  font-weight: bold;
  text-align: center;
}
.lift-off-container {
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  color: #262262;
  background: rgb(255, 255, 255);
  background: linear-gradient(
    0deg,
    rgba(247, 148, 29, 0.8) 0%,
    rgb(247, 148, 29) 30%,
    rgb(247, 148, 29) 70%,
    rgba(247, 148, 29, 0.8) 100%
  );
  transition: opacity ease-in-out 200ms;
  z-index: -1;
}
.lift-off-container.bring-forward {
  z-index: 100;
}
.lift-off-container.show-container {
  opacity: 1;
}
.lift-off-container .countdown {
  background-color: #f7941d;
  font-size: 12vh;
  font-weight: bold;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 12vh;
  object-fit: contain;
  text-align: center;
  line-height: 12vh;
  max-height: 102px;
  opacity: 0;
  transition: opacity ease-in-out;
}
.lift-off-container .countdown.countdown-blink {
  animation-name: countdown;
  animation-duration: 2s;
  animation-iteration-count: 1;
}
.lift-off-progress-bar-container {
  height: 20px;
  width: 80%;
  background-color: #543201;
  margin: auto;
}
.lift-off-progress-bar {
  background-color: #b0a459;
  height: 100%;
  width: 0;
}

@keyframes countdown {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes liftOffProgressBar {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}
