@import url("common.css");

body {
  background-image: url("../assets/the-money-game/background.png");
  width: min-content;
  margin-left: auto;
  margin-right: auto;
}

.garland {
  width: 221px;
}

.title {
  margin-top: 205px;
  margin-bottom: 9px;
  font-family: Inter;
  font-size: 36px;
  font-weight: 900;
}

.title>div:first-child {
  text-shadow: -2px -2px #634500, -2px 0 #634500, -2px 2px #634500, 0 -2px #634500, 0 2px #634500, 2px -2px #634500, 2px 0 #634500, 2px 2px #634500, 0px 0px 4.194px #FFF, 0px 0px 4.388px #FFF, 0px 0px 5.357px #FFF, 0px 0px 6.713px #FFF, 0px 0px 8.651px #FFF, 0px 0px 12.14px #FFF;
  position: absolute;
  z-index: -1;
  color: transparent;
}

.title>div:last-child {
  background: linear-gradient(to right, #F68401 3.36%, #FDF28C 21.45%, #F38801 41.11%, #FBF04A 67.59%, #DC9E47 82.45%, #E0972B 96.69%);
  background-clip: text;
  color: transparent;
}

.game {
  background: url("../assets/machine.png"), #003400;
  background-size: 100%;
  padding: 21px 47px 44px 49px;
}

.game>div {
  display: flex;
  flex-direction: column;
  width: 280px;
  height: 206px;
}

.game>div>div:first-child {
  padding: 1px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  background: linear-gradient(#000, #B89D94 17.23%);
}

.game>div>div:first-child>div {
  display: block;
  height: 25px;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  background: #105901;
}

.lines {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.lines>div:first-child {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lines>div:first-child>div {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  border: 1px solid #F0EE14;
  background: #3625FC;
  color: #F4F4F4;
  font-family: Inter;
  font-size: 5px;
  font-weight: 900;
}

.line-container {
  margin: 1px;
  background: linear-gradient(#000 0%, #6A7A36 25%, #2F5F23 50%, #566428 60%, #000 100%);
  border-radius: 4px;
  padding: 2px;
}

.line-container>div {
  display: block;
  height: 126px;
  border-radius: 2px;
  background: #1A8D0F;
  overflow: hidden;
}

.line {
  width: 46px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-left: auto;
  margin-right: auto;
}

.line>div {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 42px;
}

.line>div>img {
  max-width: 40px;
  max-height: 40px;
}

.lines>div:last-child {
  flex: 1;
}

.won {
  background: #82CC9280;
}

.game>div>div:last-child {
  padding: 1px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  background: linear-gradient(to top, #000, #B89D94 17.23%);
  flex: 1;
}

.game>div>div:last-child>div {
  padding-left: 6px;
  padding-right: 6px;
  height: 100%;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  background: #105901;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: flex-start;
  color: #EDEF10;
  text-align: center;
  font-family: Roboto;
  font-weight: 400;
}

.game>div>div:last-child>div>div:first-child {
  width: 140px;
  height: 22px;
  background: #370002;
  border: 1px solid #3F3834;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 7px;
}

.game>div>div:last-child>div>div:last-child {
  align-self: stretch;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center
}

.game>div>div:last-child>div>div:last-child>div {
  display: flex;
  justify-content: row;
  align-items: center;
  gap: 5px;
}

.game>div>div:last-child>div>div:last-child>div>div:first-child {
  font-size: 10px;
}

.game>div>div:last-child>div>div:last-child>div>div:last-child {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  height: 12px;
  font-size: 9px;
  font-weight: 700;
  border-radius: 4px;
  border: 1px solid #A28C80;
  background: #370002;
  padding-right: 5px;
}

#credits {
  width: 71px;
}

#bet {
  width: 34px;
}
