:root {
  --bet-farBackground: rgb(32, 31, 31);
  --bet-yellow: #f5f50a;
  --bet-background: #616161;
  --field-green: #075a2c;
  --craps-red: rgb(95, 2, 2);
}

* {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--field-green);
  overflow: hidden;
}

/* Dealer Line */

.point-boxes {
  display: flex;
  border: solid 1px black;
  padding: 10px;
  border-radius: 5px;
  background-color: var(--bet-farBackground);
}
.dealer-area {
  position: absolute;
  top: 10%;
  right: 1%;
  box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#four,
#five,
#six,
#eight,
#nine,
#ten {
  height: 150px;
  width: 150px;
  border: solid 1px black;
  margin: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8em;
  color: var(--bet-yellow);
  cursor: pointer;
  border-radius: 5px;
  background-color: var(--bet-background);
}

#box-4-total,
#box-5-total,
#box-6-total,
#box-8-total,
#box-9-total,
#box-10-total {
  width: 150px;
  height: 20px;
  border: solid 1px black;
  margin-top: 5px;
  color: var(--bet-yellow);
  border-radius: 5px;
  text-align: center;
  background-color: var(--craps-red);
}

/* Hardway bets, Field */

.hard-numbers {
  display: flex;
}

.hard-ways {
  position: absolute;
  top: 40%;
  right: 5%;
  border: solid 1px black;
  padding: 10px;
  margin-top: 20px;
  color: var(--bet-yellow);
  border-radius: 5px;
  text-align: center;
  background-color: var(--bet-farBackground);
  box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.field-bets {
  position: absolute;
  top: 40%;
  right: 43.5%;
  border: solid 1px black;
  padding: 10px;
  margin-top: 20px;
  color: var(--bet-yellow);
  border-radius: 5px;
  text-align: center;
  background-color: var(--bet-farBackground);
  box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.hard-numbers,
.field-numbers {
  display: flex;
  border-radius: 5px;
}

#hard-four,
#hard-six,
#hard-eight,
#hard-ten,
#field-two,
#field-three,
#field-eleven,
#field-twelve {
  height: 100px;
  width: 75px;
  padding: 10px;
  border: solid 1px black;
  cursor: pointer;
  border-radius: 5px;
  margin: 1px;
  background-color: var(--bet-background);
}

#hard-ways-label,
#field-bet-label {
  border: 1px solid black;
  text-align: center;
  border-radius: 5px;
  background-color: var(--craps-red);
}

/* Player Line */

.player-line {
  border: solid 1px black;
  width: 1000px;
  height: 150px;
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom: 10%;
  right: 1%;
  border-radius: 5px;
  justify-content: space-between;
  padding: 10px;
  color: var(--bet-yellow);
  background-color: var(--bet-farBackground);
  box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.bar-pass-odds {
  display: flex;
  border: solid 1px black;
  justify-content: space-evenly;
  align-items: center;
  background-color: var(--bet-background);
  font-size: 35px;
  border-radius: 5px;
}

.bar-pass-odds {
  cursor: pointer;
}

/* Player Purse */
.money {
  display: table-column;
  position: absolute;
  top: 10%;
  left: 2%;
  border: solid 1px black;
  width: 250px;
  height: 330px;
  padding: 10px;
  color: var(--bet-yellow);
  border-radius: 5px;
  background-color: var(--bet-farBackground);
  box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.money p {
  width: 100%;
  font-size: 25px;
  height: 4vh;
  background-color: var(--bet-background);
}

.money label {
  width: 100%;
  margin: 2px;
}

#bet-unit,
#total-bet,
#total-purse {
  width: 100%;
  margin-top: 10px;
}

#bet-unit #bet {
  width: 50%;
  margin-left: 20px;
}

.money p {
  margin-bottom: 10px;
  margin-top: 10px;
  border: 1px solid black;
  border-radius: 5px;
}

#tot-bet {
  margin-bottom: 10px;
  margin-top: 10px;
  border: 1px solid black;
}

/* Die Roll Panel */

.die-roll-panel {
  position: absolute;
  bottom: 10%;
  left: 2%;
  border: 1px solid black;
  width: 200px;
  height: 200px;
  border-radius: 5px;
  background-color: var(--bet-farBackground);
  box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#die-results,
#die-one,
#die-two {
  border: 1px solid black;
  color: var(--bet-yellow);
  border-radius: 5px;
}

#die-one,
#die-two {
  height: 100px;
  width: 100px;
  display: flex;
  justify-content: center;
  color: black;
  background-color: var(--bet-background);
  margin: 5px;
}

#die-one p,
#die-two p {
  position: absolute;
  top: 14%;
  font-size: 5em;
}

#die-results {
  text-align: center;
  background-color: var(--bet-background);
}

#die-digits {
  display: flex;
  margin: 10px;
  justify-content: center;
}

.die-roll-panel button {
  width: 100%;
  height: 35px;
  position: absolute;
  bottom: 0%;
  font-size: 20px;
  border-radius: 5px;
}

#footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  transform: translateX(40%);
}

#footer .end-menu {
  display: flex;
  list-style-type: none;
}

#footer .end-menu li {
  margin: 10px;
}

#footer .end-menu a {
  text-decoration: none;
}

/* MEDIA QUERY 1255 and BELOW------------------- */

@media screen and (max-width: 1255px) {
  .dealer-area {
    position: absolute;
    top: 5%;
    right: 2%;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.2),
      0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }

  .point-boxes {
    display: flex;
    justify-content: stretch;
    border: solid 1px black;
    padding: 10px;
    border-radius: 5px;
  }

  #four,
  #five,
  #six,
  #eight,
  #nine,
  #ten {
    height: 100px;
    width: 100px;
    font-size: 5em;
  }

  #box-4-total,
  #box-5-total,
  #box-6-total,
  #box-8-total,
  #box-9-total,
  #box-10-total {
    width: 100px;
    margin-top: 5px;
  }
  .hard-ways {
    position: absolute;
    top: 25%;
    right: 2%;
    padding: 10px;
    margin-top: 20px;
    text-align: center;
  }

  .field-bets {
    position: absolute;
    top: 45%;
    right: 2%;
    padding: 10px;
    margin-top: 20px;
    text-align: center;
  }

  #hard-four,
  #hard-six,
  #hard-eight,
  #hard-ten,
  #field-two,
  #field-three,
  #field-eleven,
  #field-twelve {
    height: 5vh;
    margin: 1px;
  }

  .die-roll-panel {
    bottom: 5%;
    left: 2%;
    width: 200px;
    height: 200px;
  }

  #die-one,
  #die-two {
    height: 75px;
    width: 65px;
    display: flex;
    margin: 5px;
  }

  #die-one p,
  #die-two p {
    position: absolute;
    top: 19%;
    font-size: 4em;
  }

  #die-digits {
    margin: 10px;
  }

  .die-roll-panel button {
    background-color: white;
  }

  .money {
    display: table-column;
    position: absolute;
    top: 10%;
    left: 2%;
    border: solid 1px black;
    width: 200px;
    height: 300px;
    padding: 10px;
  }
  .player-line {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 10%;
    right: 2%;
    width: 700px;
  }
}
/*set the background color to olive */

@media screen and (max-width: 500px) {
  .dealer-area {
    position: absolute;
    top: 0%;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.2),
      0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }

  .point-boxes {
    display: flex;
    justify-content: stretch;
    border: solid 1px black;
    padding: 10px;
    border-radius: 5px;
  }

  #four,
  #five,
  #six,
  #eight,
  #nine,
  #ten {
    height: 50px;
    width: 55px;
    font-size: 2em;
  }

  #box-4-total,
  #box-5-total,
  #box-6-total,
  #box-8-total,
  #box-9-total,
  #box-10-total {
    width: 55px;
    margin-top: 5px;
  }
  .hard-ways {
    position: absolute;
    top: 11%;
    right: 0%;
    padding: 10px;
    margin-top: 20px;
    text-align: center;
  }

  .field-bets {
    position: absolute;
    top: 24%;
    right: 2%;
    padding: 10px;
    margin-top: 20px;
    text-align: center;
  }

  #hard-four,
  #hard-six,
  #hard-eight,
  #hard-ten,
  #field-two,
  #field-three,
  #field-eleven,
  #field-twelve {
    height: 30px;
    width: 70px;
    margin: 1px;
  }

  .die-roll-panel {
    position: absolute;
    bottom: 28%;
    left: 55%;
    width: 175px;
    height: 200px;
  }

  #die-one,
  #die-two {
    height: 95px;
    width: 65px;
    display: flex;
    margin: 1px;
  }

  #die-one p,
  #die-two p {
    position: absolute;
    top: 9%;
    font-size: 6em;
  }

  #die-digits {
    margin: 10px;
  }

  .die-roll-panel button {
    background-color: white;
  }

  .money {
    display: table-column;
    position: absolute;
    top: 40%;
    left: 0%;
    border: solid 1px black;
    width: 200px;
    height: 250px;
    padding: 10px;
  }

  .money p {
    width: 100%;
    font-size: 15px;
    height: 20px;
    background-color: var(--bet-background);
  }

  .money label {
    width: 100%;
    margin: 2px;
  }

  #bet-unit,
  #total-bet,
  #total-purse {
    width: 100%;
    margin-top: 10px;
  }

  #bet-unit #bet {
    width: 50%;
    margin-left: 20px;
  }

  .money p {
    margin-bottom: 10px;
    margin-top: 2px;
    border: 1px solid black;
    border-radius: 5px;
  }

  #tot-bet {
    margin-bottom: 10px;
    margin-top: 10px;
    border: 1px solid black;
  }

  .player-line {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 00%;
    right: 0%;
    width: 100%;

    height: 125px;
    border-radius: 5px;
    justify-content: space-evenly;
    padding: 2px;
  }
}
