html,
body {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}

#app {
  width: 100%;
  height: 100%;
  background: #212121;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.slots {
  display: flex;
}

.slot {
  background: #fafafa;
  box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.4) inset;
  width: 12vw;
  height: 150px;
  overflow: hidden; /* hides the elements in slot */
  border-radius: 1vw;
  margin: 1vw;
}

.boxes {
}

.box {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
}

.buttons {
  margin: 1rem 0 2rem 0;
  display: flex;
  justify-content: center;
}

.buttons button {
  cursor: pointer;
  font-size: 1.2rem;
  text-transform: uppercase;
  margin: 0 0.2rem 0 0.2rem;
}

.info {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
}

.wallet {
  background: #fafafa;
  box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.4) inset;
  display: flex;
  width: 36vw;
  margin: 1vw;
  border-radius: 1vw;
  justify-content: center;
  align-items: center;
}

.money {
  font-size: 1.2rem;
  margin: 0 0 0 0.2rem;
}

.currency {
  font-size: 1rem;
  font-weight: bold;
}

.bet {
  font-size: 1rem;
}

.popup {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20vw;
  height: 4vh;
  padding: 2vw;
  background: white;
  box-shadow: 0 0 3px 2px rgba(0, 0, 0, 0.4) inset;
  color: black;
}

.popup.init {
  top: -20vh;
  transform: translateY(0);
  transition-duration: 0.5s;
}

.popup.show {
  top: -20vh;
  transform: translateY(25vh);
  transition-duration: 0.5s;
}

.error {
  background: #ff0000;
}

.history {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #212121;
  padding-left: 1.1rem;
}

.history #items {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.history #items .item {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
}

.gain {
  color: green;
}

.loss {
  color: red;
}

.historicalBet {
  font-size: 1rem;
  margin-right: 0.8vw;
  color: #777676;
}
