body {
  background-color: #0C1A24;
  color: #e6e6e6;
  font-family: Arial, sans-serif;
}
html {
  margin: 0;
  padding: 0;
  height: var(--app-height, 100vh);
  overflow: hidden;
}

body {
  margin: 0;
  padding: 0;
  position: relative;
  height: var(--app-height, 100vh);
  overflow-y: auto;
  overflow-x: hidden;
}

.show {
  font-size: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #8b8b8b00;
}

#show {
  position: absolute;
  top: 6%;
  left: 0%;
  width: 5.4%;
  height: 90%;
  border-radius: 4px;
  /* background-color: #162e3f; */
  user-select: none;
}

#show_game {
  position: absolute;
  top: 0%;
  left: 5%;
  width: 90%;
  height: 5%;
  border-radius: 4px;

  user-select: none;
}

#show_mode {
  position: absolute;
  top: 5.4%;
  left: 5%;
  width: 90%;
  height: 6%;
  border-radius: 4px;
  user-select: none;
}

#show_money {
  position: absolute;
  top: 17.5%;
  left: 5%;
  width: 90%;
  height: 6%;
  border-radius: 4px;
  user-select: none;
}

#show_bet {
  position: absolute;
  top: 53%;
  left: 5%;
  width: 90%;
  height: 6%;
  border-radius: 4px;
  user-select: none;
}

#show_multi {
  position: absolute;
  top: 30%;
  left: 5%;
  width: 90%;
  height: 6%;
  border-radius: 4px;
  user-select: none;
}

#show_multi2 {
  position: absolute;
  top: 42%;
  left: 5%;
  width: 90%;
  height: 6%;
  border-radius: 4px;
  user-select: none;
}

#show_round {
  position: absolute;
  top: 94%;
  left: 5%;
  width: 90%;
  height: 6%;
}

.Ashow {
  border: #20c997 solid 1px;
  font-size: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#show_number {
  position: absolute;
  top: 28%;
  left: 5%;
  width: 90%;
  height: 6%;
}

#show_win {
  position: absolute;

  top: 37%;
  left: 5%;
  width: 90%;
  height: 6%;
}

#show_loss {
  position: absolute;

  top: 47%;
  left: 5%;
  width: 90%;
  height: 6%;
}

#show_onporfit {
  position: absolute;

  top: 56%;
  left: 5%;
  width: 90%;
  height: 6%;
}

#show_onloss {
  position: absolute;

  top: 66.6%;
  left: 5%;
  width: 90%;
  height: 6%;
}

#money {
  position: absolute;
  top: 0%;
  left: -1%;
  width: 101%;
  height: 6%;
  border-radius: 4px;
  background-color: rgba(30, 43, 55, 0.52);
  user-select: none;
}

#birr {
  position: absolute;
  color: rgb(0, 204, 41);
  font-size: 100%;
  width: 10%;
  height: 90%;
  top: 5.8%;
  left: 107%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#money_box {
  position: absolute;
  color: white;
  font-size: 100%;
  border: #8b8b8b solid 1px;
  width: 10%;
  height: 90%;
  top: 5.8%;
  left: 50%;
  background-color: #0C1A24;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#conves {
  position: absolute;
  /* background-color: rgb(30, 43, 55); */
  width: 70%;
  height: 89%;
  top: 7%;
  left: 28.7%;
  border-radius: 0px 5px 5px 0px;
  user-select: none;
}

#output {
  position: absolute;
  display: flex;
  flex-direction: row-reverse;
  gap: 8px;
  width: 99%;
  height: 10%;
  left: 1%;
  align-items: center;
  padding-right: 10px;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: hidden;
}

.output-item {
  background: rgb(34, 48, 62);
  color: #fff;
  min-width: 55px;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  font-size: 1.1em;
  font-weight: 600;
  transition: background 0.2s;
  text-align: center;
  opacity: 1;
  animation: slideInFromRight 0.4s cubic-bezier(.4, 1.7, .7, 1) backwards;
}


#add-ball {
  position: absolute;
  width: 93%;
  height: 10%;
  top: 40%;
  left: 3%;
  border: 0;
  background-color: rgb(29, 165, 15);
  font-size: 100%;
  cursor: pointer;
  border-radius: 7px;
}

#add-ball2,
#add-ball3 {
  position: absolute;
  width: 93%;
  height: 10%;
  top: 88%;
  left: 3%;
  border: 0;
  background-color: rgb(29, 165, 15);
  font-size: 100%;
  cursor: pointer;
  border-radius: 7px;
}

#box {
  position: absolute;
  width: 23%;
  height: 89%;
  top: 7%;
  left: 5.7%;
  /* background-color: rgb(40, 56, 72); */
  border-radius: 10px 0px 0px 10px;
  user-select: none;
}

#multiplier {
  position: absolute;
  top: 30%;
  left: 3%;
  width: 80%;
  height: 4%;
  padding: 10px;
  font-size: 200%;
  color: white;
  background-color: #0C1A24;
  border: rgb(138, 138, 138) solid 2px;
  border-radius: 0.5rex;
}

#multiplierP {
  color: white;
  position: absolute;
  top: 21%;
  left: 5%;
  font-size: 130%;
}

#balance {
  position: absolute;
  width: 55%;
  height: 3%;
  border-radius: 4px;
  padding: 10px;
  background-color: rgb(30, 43, 55);
  color: white;
  border: rgb(0, 115, 223);
  top: 17%;
  left: 3%;
  font-size: 150%;
}

#bet_amount {
  position: absolute;
  color: white;
  font-size: 130%;
  top: 12%;
  left: 3%;
  user-select: none;
}

#manual_auto {
  position: absolute;
  color: white;
  background-color: rgb(30, 43, 55);
  width: 98%;
  height: 10%;
  left: 1%;
  top: 2%;
  border-radius: 40px;
}

#manual {
  position: absolute;
  color: white;
  background-color: rgb(40, 56, 72);
  width: 48%;
  height: 80%;
  left: 2%;
  top: 10%;
  border: #0000000f solid 1px;
  cursor: pointer;
  border-radius: 40px;
}

#auto {
  position: absolute;
  color: white;
  background-color: rgb(30, 43, 55);
  width: 45%;
  height: 80%;
  left: 52%;
  top: 10%;
  border: #0000000f solid 1px;
  cursor: pointer;
  border-radius: 40px;
}

#incrementButton {
  position: absolute;
  color: white;
  background-color: rgb(30, 43, 55);
  font-size: 130%;
  width: 15%;
  height: 7%;
  top: 17%;
  left: 83%;
  cursor: pointer;
  border-radius: 7px;
}

#decrementButton {
  position: absolute;
  color: white;
  background-color: rgb(30, 43, 55);
  font-size: 130%;
  width: 15%;
  height: 7%;
  top: 17%;
  left: 66.8%;
  cursor: pointer;
  border-radius: 7px;
}

#Labelnumberofbet {
  position: absolute;
  font-size: 100%;
  width: 90%;
  height: 5%;
  left: 1%;
  top: 24%;
}

#numberofbet {
  position: absolute;
  font-size: 100%;
  justify-content: center;
  align-items: center;
  width: 95%;
  height: 5%;
  left: 1%;
  top: 27.5%;
  border-radius: 4px;
  background-color: rgb(30, 43, 55);
  color: white;
  border: rgb(0, 115, 223);
}

#Labelonwin {
  position: absolute;
  font-size: 100%;
  width: 90%;
  height: 5%;
  left: 1%;
  top: 33.5%;
}

#onwin {
  position: absolute;
  font-size: 100%;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 5%;
  left: 45%;
  top: 37%;
  border-radius: 4px;
  background-color: rgb(30, 43, 55);
  color: white;
  border: rgb(0, 115, 223);
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

#reset1 {
  position: absolute;
  color: white;
  background-color: rgb(30, 43, 55);
  font-size: 1%;
  width: 15%;
  height: 6%;
  top: 37%;
  left: 1%;
  border: 0;
  font-size: 80%;
  cursor: pointer;
  border-radius: 7px;
  border: 1px solid rgb(255, 255, 255);
}

#Increase1 {
  position: absolute;
  color: white;
  background-color: rgb(30, 43, 55);
  font-size: 1%;
  width: 27%;
  height: 6%;
  top: 37%;
  left: 17%;
  border: 1px solid rgba(0, 0, 0, 0);
  font-size: 80%;
  cursor: pointer;
  border-radius: 7px;
}

#Labelonloss {
  position: absolute;
  font-size: 100%;
  width: 90%;
  height: 5%;
  left: 1%;
  top: 43%;
}

#onloss {
  position: absolute;
  font-size: 100%;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 5%;
  left: 45%;
  top: 46.5%;
  border-radius: 4px;
  background-color: rgb(30, 43, 55);
  color: white;
  border: rgb(0, 115, 223);
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

#reset2 {
  position: absolute;
  color: white;
  background-color: rgb(30, 43, 55);
  font-size: 1%;
  width: 15%;
  height: 6%;
  top: 46.5%;
  left: 1%;
  border: 0;
  font-size: 80%;
  cursor: pointer;
  border-radius: 7px;
  border: 1px solid rgb(255, 255, 255);
}

#Increase2 {
  position: absolute;
  color: white;
  background-color: rgb(30, 43, 55);
  font-size: 1%;
  width: 27%;
  height: 6%;
  top: 46.5%;
  left: 17%;
  border: 1px solid rgba(0, 0, 0, 0);
  font-size: 80%;
  cursor: pointer;
  border-radius: 7px;
}

#Labelstoponprofit {
  position: absolute;
  font-size: 100%;
  width: 90%;
  height: 5%;
  left: 1%;
  top: 53%;
}

#onprofit {
  position: absolute;
  font-size: 100%;
  justify-content: center;
  align-items: center;
  width: 90%;
  height: 5%;
  left: 1%;
  top: 56.7%;
  border-radius: 4px;
  background-color: rgb(30, 43, 55);
  color: white;
  border: rgb(0, 115, 223);
}

#Labelstoponloss {
  position: absolute;
  font-size: 100%;
  width: 90%;
  height: 5%;
  left: 1%;
  top: 63.5%;
}

#stoponloss {
  position: absolute;
  font-size: 100%;
  justify-content: center;
  align-items: center;
  width: 90%;
  height: 5%;
  left: 1%;
  top: 67.2%;
  border-radius: 4px;
  background-color: rgb(30, 43, 55);
  color: white;
  border: rgb(0, 115, 223);
}

#multiplier-display {
  position: absolute;
  width: max-content;
  max-width: 92%;
  height: auto;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--limbo-multiplier-font-size, 600%);
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-weight: bolder;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}


@media (max-width: 900px) {
  #multiplier-display {
    left: 50%;
    font-size: var(--limbo-multiplier-mobile-font-size, 490%);
  }

  .output-item {
    border-radius: 2px;
    font-size: 66%;
  }

  #multiplierP {
    top: 8% !important;
  }

  #multiplier {
    top: 13.98% !important;

  }

  .output-item {
    border-radius: 4px;
    font-size: 66%;
  }

  #conves {
    width: 400px;
    height: 50%;
    top: 6.02%;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
  }

  #box {
    position: absolute;
    width: 400px;
    height: 100%;
    top: 56%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(40, 56, 72);
    user-select: none;
    border-radius: 0%;
  }

  #money {
    position: absolute;
    width: 400px;
    height: 5.9%;
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
  }

  #bet_amount {
    position: absolute;
    color: white;
    font-size: 150%;
    top: 0%;
    left: 3%;
    user-select: none;
  }

  #money_box {

    font-size: 100%;
    width: 25%;
    height: 90%;
    top: 5.8%;
    left: 45%;
  }

  #balance {
    width: 51%;
    height: 3.8%;
    top: 5%;
    top: 3.5%;
    font-size: 138%;
  }

  #decrementButton {
    font-size: 77%;
    width: 15%;
    height: 7%;
    top: 3%;
    left: 65.8%;
    border: 1px solid rgba(44, 43, 43, 0.224);
  }

  #add-ball {
    width: 94%;
    height: 8%;
    top: 23.9%;
    left: 3%;
    font-size: 100%;
  }

  #add-ball2,
  #add-ball3 {
    width: 94%;
    height: 8%;
    top: 23.9% !important;
    left: 3%;
    font-size: 100%;
  }

  #auto_view {
    position: absolute;
    top: 21%;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0 0 10px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    z-index: 0;
  }

  #manual_auto {
    width: 98%;
    height: 10%;
    left: 1%;
    top: 33.7%;
    z-index: 1;
  }

  #incrementButton {
    font-size: 77%;
    width: 15%;
    height: 7%;
    top: 3%;
    left: 83%;
    border: 1px solid rgba(44, 43, 43, 0.224);
  }

  #show {
    background-color: #00000000;
  }

  #show_game,
  #show_mode,
  #show_money,
  #show_bet,
  #show_multi,
  #show_round,
  #show_number,
  #show_win,
  #show_loss,
  #show_onporfit,
  #show_onloss {
    display: none;
  }
}

@media (max-width: 400px) {

  .output-item {
    border-radius: 4px;
    font-size: 66%;
  }

  #conves {
    width: 95%;
    height: 50%;
    top: 6.02%;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
  }

  #box {
    position: absolute;
    width: 95%;
    height: 100%;
    top: 56%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(40, 56, 72);
    user-select: none;
    border-radius: 0%;
  }

  #money {
    position: absolute;
    width: 95%;
    height: 5.9%;
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
  }



}
