@import url("https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&family=Noto+Color+Emoji&display=swap");

/* Chrome, Safari, Edge, Opera */
.ish-game-body input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.ish-game-body input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.emj {
  font-family: "Noto Color Emoji", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.emjimg {
  background-image: url("../images/dizzy.svg");
  display: inline-block;
  width: 40px;
  height: 40px;
}

body::after {
  position:absolute; width:0; height:0; overflow:hidden; z-index:-1;
  content: url(/files/images/win.png) url(/files/images/winm.png);
}

body {
  overflow: hidden;
  position: relative;
  touch-action: none;
}

.ish-game-body {
  position: relative;
  font-family: "Exo 2", sans-serif;
  width: 100vw;
  height: 100vh;
  background-image: url(/files/images/bg.png);
  background-color: #1960be;
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
  padding-top: 45px;
  overflow: hidden;
}

.ish-game-branch {
  position: absolute;
  top: 20px;
  right: -55px;
  background: url(../images/branch.png) no-repeat center/contain;
  width: 450px;
  height: 450px;
  z-index: 1;
}

.ish-game-bread {
  position: absolute;
  top: 120px;
  left: -80px;
  background: url(../images/bread.png) no-repeat center/contain;
  width: 300px;
  height: 500px;
  z-index: 1;
}

.ish-game-content {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.ish-game-logo {
  margin: auto;
  width: 415px;
  height: 100px;
  background: url(/files/images/logo.png) no-repeat center/contain;
}

.ish-game-car {
  position: fixed;
  right: 140px;
  bottom: 0;
  width: 900px;
  height: 635px;
  background: url(/files/images/car.png) no-repeat center/cover;
  z-index: 1;
}

.ish-game-car2 {
  position: absolute;
  right: calc(50% - 255px);
  bottom: 10px;
  width: 540px;
  height: 505px;
  background: url(/files/images/car2.gif) no-repeat center/cover;
  z-index: 1;
}

#ish-game-car2-rabbit {
  background-image: none;
  z-index: 2;
}

.ish-game-pre-play-container {
  position: relative;
  width: 750px;
  margin-left: -300px;
}

.ish-game-header {
  font-size: 56px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 25px;
  margin-top: 65px;
}

.ish-game-text {
  font-size: 24px;
  color: #fff;
  line-height: 130%;
}

.ish-game-button-decore {
  width: 320px;
  height: 95px;
  margin-top: 30px;
  margin-bottom: -25px;
  margin-left: 16px;
  background: url(/files/images/btndecore.png) no-repeat center/contain;
}

.reduce-margin {
  margin-top: 10px;
}

.ish-game-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 340px;
  height: 60px;
  background-color: #24ac05;
  color: #fff;
  border-radius: 10px;
  font-size: 26px;
  font-weight: bold;
  outline: none;
  border: none;
}

.ish-game-button span {
  margin-top: -4px;
}

.ish-game-button:hover {
  cursor: pointer;
}

.ish-game-button:disabled {
  background-color: #1e640f;
}

.btn2 {
  width: 310px;
  background-color: #1960be;
}

.btn2-width {
  width: 240px;
  margin-left: 18px;
}

.ish-game-flex {
  display: flex;
}

.ish-game-policy-text {
  color: #fff;
  margin-left: 10px;
  font-size: 16px;
}

.ish-game-policy-text a {
  color: #fff;
  font-size: 16px;
}

.ish-game-input {
  width: 515px;
  height: 55px;
  padding: 15px 15px 15px 22px;
  border: none;
  border-radius: 10px;
  font-size: 22px;
  color: #1960be;
  margin: 20px 0;
}

.ish-game-input::placeholder {
  color: #568fda;
}

.ish-game-input-error {
  background-color: #ffd7d7;
  color: #ff000d;
}

.ish-button-container{
  display: flex;
  align-items: center;
}

.ish-game-back-button {
  width: 52px;
  height: 52px;
  margin-left: 15px;
  background: url(../images/arrow.png) no-repeat center/contain;
  margin-top: -4px;
}

.ish-game-back-button:hover {
  cursor: pointer;
}

.ish-game-ingame-container {
  margin-top: 40px;
}

.ish-game-bar {
  width: 900px;
  height: 86px;
  background: url(/files/images/bar.png);
  padding: 0 95px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ish-game-egg {
  width: 57px;
  height: 77px;
  background: url(/files/images/egg.png) no-repeat center/cover;
}

#ish-game-falling-items-id {
  position: relative;
  z-index: 10;
}

#ish-game-falling-items-id div {
  position: absolute;
  top: -200px;
  left: 0;
}

.ish-game-disc-item {
  width: 110px;
  height: 130px;
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: contain;
}

.ish-game-disc-item:hover {
  cursor: pointer;
}

.ish-game-egg-item {
  width: 70px;
  height: 115px;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
}

.ish-game-egg-item:hover {
  cursor: pointer;
}

.item1 {
  background-image: url(/files/images/item1.png);
}

.item2 {
  background-image: url(/files/images/item2.png);
}

.item3 {
  background-image: url(/files/images/item3.png);
}

.item4 {
  background-image: url(/files/images/item4.png);
}

.item5 {
  background-image: url(/files/images/item5.png);
}

.item6 {
  background-image: url(/files/images/item6.png);
}

.item7 {
  background-image: url(/files/images/item7.png);
}

.item8 {
  background-image: url(/files/images/item8.png);
}

.ish-game-won-screen {
  width: 810px;
  height: 475px;
  padding: 50px 0 50px 40px;
  background: url(/files/images/win.png) no-repeat center/contain;
  border-radius: 10px;
}

.ish-game-won-screen a {
  text-decoration: none;
}

.ish-game-header2 {
  font-size: 56px;
  font-weight: 600;
  color: #484155;
}

.ish-game-text2 {
  font-size: 22px;
  font-weight: 600;
  width: 400px;
  color: #484155;
  margin-bottom: 25px;
  margin-top: 15px;
}

.rowcheckbox {
  display: flex;
  align-items: center;
}

.custom-checkbox {
  display: none;
}

.checkbox-container {
  position: relative;
  font-size: 18px;
  width: 20px;
  height: 20px;
  user-select: none;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #ccc;
  border-radius: 2px;
}

.checkmark:hover {
  cursor: pointer;
}

.checkbox-container input:checked + .checkmark {
  background-color: #fdd523;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked + .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 7px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #000000;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}

@media (max-width: 1681px) {
  .ish-game-body {
    padding-top: 20px;
  }
  .ish-game-bread {
    scale: 0.7;
    left: -120px;
  }
  .ish-game-branch {
    scale: 0.7;
    right: -120px;
  }

  .ish-game-logo {
    scale: 0.8;
  }
  .ish-game-content {
    scale: 0.8;
  }

  .ish-game-car {
    scale: 0.7;
    bottom: -80px;
    right: -160px;
  }
  .ish-game-car2 {
    scale: 0.7;
    bottom: -70px;
  }

  .ish-game-pre-play-container {
    margin-left: -200px;
    margin-top: -50px;
  }

  .ish-game-ingame-container {
    margin-top: 0px;
  }
}

@media (max-width: 1441px) {
  .ish-game-body {
    padding-top: 20px;
  }
  .ish-game-bread {
    scale: 0.6;
    left: -120px;
  }
  .ish-game-branch {
    scale: 0.6;
    right: -125px;
  }

  .ish-game-logo {
    scale: 0.7;
  }
  .ish-game-content {
    scale: 0.7;
  }

  .ish-game-car {
    scale: 0.55;
    bottom: -80px;
    right: -160px;
  }
  .ish-game-car2 {
    scale: 0.6;
    bottom: -70px;
  }

  .ish-game-pre-play-container {
    margin-left: -200px;
    margin-top: -80px;
  }

  .ish-game-ingame-container {
    margin-top: 0px;
  }

  .ish-game-disc-item {
    width: 90px;
    height: 110px;
  }
  
  .ish-game-egg-item {
    width: 50px;
    height: 95px;

  }
}

@media (max-height: 800px){

  .ish-game-car{
    scale: 0.55;
    bottom: -120px;
  }
  .ish-game-bar{
    scale: 0.8;
  }
}

@media (max-width: 900px) {
  .ish-game-content {
    scale: 1;
  }

  .ish-game-bar{
    scale: 1;
  }

  .ish-game-won-screen {
    scale: 0.7;
  }

  .ish-game-back-button {
    width: 32px;
    height: 32px;
    top: 0;
    right: 25px;
  }
  .ish-game-body {
    padding-top: 0px;
    height: 100vh;
  }

  .ish-game-branch {
    height: 280px;
    right: -160px;
    top: 40px;
  }

  .ish-game-bread {
    height: 300px;
    left: -130px;
    top: 250px;
  }

  .ish-game-logo {
    width: 214px;
  }

  .ish-game-content {
    justify-content: start;
  }

  .ish-game-pre-play-container {
    width: 320px;
    margin-left: 0;
    margin-top: 0;
    padding-left: 15px;
    padding-right: 15px;
  }

  .ish-game-policy-text {
    font-size: 14px;
  }

  .ish-game-policy-text a {
    font-size: 14px;
  }
  .ish-game-header {
    font-size: 28px;
    margin-top: 5px;
    margin-bottom: 12px;
  }

  .ish-game-text {
    font-size: 14px;
    line-height: 150%;
  }

  .checkbox-container {
    width: 18px;
    height: 18px;
  }
  .ish-game-input {
    width: 285px;
    height: 40px;
    border-radius: 5px;
    font-size: 15px;
  }
  .ish-game-ingame-container {
    margin-top: 10px;
  }
  .ish-game-bar {
    width: 100vw;
    padding: 0 10vw;
    background: url(../images/barmobile.png) no-repeat center/contain;
  }
  .ish-game-egg {
    width: 6vw;
    background-size: contain;
  }

  .ish-game-disc-item {
    width: 70px;
    height: 115px;
  }

  .ish-game-egg-item {
    width: 45px;
    height: 100px;
  }
  .ish-game-button-decore {
    width: 205px;
    margin-top: 10px;
    margin-bottom: -33px;
  }
  .ish-game-button {
    width: 220px;
    height: 40px;
    font-size: 16px;
    border-radius: 5px;
  }

  .btn-size {
    width: 340px;
    height: 60px;
    color: #fff;
    border-radius: 10px;
    font-size: 26px;
  }
}

@media (max-height: 800px){
  .ish-game-car2{
    scale: 0.6;
    bottom: -100px;
  }
}

@media (max-width: 769px) {
  .ish-game-body {
    background-color: #1960be;
    background-position: -100px bottom;
  }

  .ish-game-won-screen {
    scale: 1;
  }

  .ish-game-content {
    scale: 1;
  }

  .ish-game-won-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 320px;
    max-width: 590px;
    width: 95vw;
    min-height: 430px;
    height: 60vh;
    background-image: url(../images/winm.png);
    background-position: bottom right;
    background-size: auto;
    border-radius: 30px;
    text-align: center;
    padding: 50px 20px;
    max-height: 500px;
  }

  .ish-game-bread {
    height: 100px;
    top: 65%;
    left: -142px;
  }

  .ish-game-branch {
    height: 150px;
    top: 7%;
    right: -190px;
  }

  .ish-game-header2 {
    font-size: 38px;
    margin-top: 5px;
    margin-bottom: 12px;
  }

  .ish-game-text2 {
    font-size: 18px;
    line-height: 130%;
    width: 100%;
    margin-bottom: 20px;
    max-width: 500px;
  }

  .ish-game-flex {
    flex-direction: column;
  }

  .btn2-width {
    margin-left: 0;
    margin-top: 10px;
  }

  .mobile-btn {
    width: 280px;
    height: 47px;
    border-radius: 8px;
    font-size: 20px;
  }

  .ish-game-car {
    scale: 1;
    width: 320px;
    height: 230px;
    right: calc(50% - 170px);
    bottom: 0px;
  }

  .ish-game-car2 {
    scale: 1;
    right: calc(50% - 160px);
    width: 320px;
    height: 290px;
    bottom: 0;
  }

  .ish-game-car {
    scale: 1;
    margin-top: 300px;
    background-size: contain;
    background-position: bottom;
  }

  .ish-game-button span {
    margin-top: -2px;
  }

  .ish-game-policy-text {
    font-size: 14px;
  }

  .ish-game-policy-text a {
    font-size: 14px;
  }
}

.d-visible-none {
  display: none;
}

.error-text{
  color: #FE3D00;
}