@charset "UTF-8";

*,
*::after,
*::before {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #000;
  position: relative;
  font-family: "Roboto", "Ubuntu", sans-serif;
  overflow-x: hidden;
  width: 100vw;
  height: 100vh;
}

#root {
  width: 100%;
  background: #000;
}

#rotation {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: #000000 url("/images/rotate.svg") center no-repeat;
  background-size: contain;
  pointer-events: none;
}

canvas {
  margin: 0 auto;
  border: none;
  display: block;
}

.d-none {
  display: none !important;
}

ul {
  list-style-type: none;
  padding: 0;
}

/* TEMP */

.game {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: mediumseagreen;
}

main {
  display: flex;
}

.bet-types ul {
  display: flex;
  justify-content: center;
}

.btn--bet-type {
  margin: 0 12px;
}

.playfield {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.table {
  flex: 1;
}

.bet-types {
  flex: 0;
}

.controls {
  text-align: right;
}

.table {
  display: flex;
  justify-content: space-around;
}

.result-box {
  /* text-align: center; */
}

.history-table-container {
  border: 1px solid black;
  display: flex;
  flex-direction: row;
}

.history-table-column {
  display: flex;
  flex-direction: column;
}

.history-table-item {
  height: 25px;
  width: 25px;
  margin: 5px;
  border-radius: 20px;
  text-align: center;
  line-height: 25px;
  text-transform: capitalize;
}

.history-table-item-sm {
  height: 12px;
  width: 12px;
  margin: 2px;
  border-radius: 20px;
  text-align: center;
  line-height: 12px;
}

.history-table-item-line {
  height: 12px;
  width: 2px;
  margin: 2px 7px;
  border-radius: 0;
  text-align: center;
  line-height: 12px;
  transform: rotate(45deg);
}

.history-table-item.player,
.history-table-item-sm.blue,
.history-table-item-line.blue {
  background-color: dodgerblue;
}

.history-table-item.banker,
.history-table-item-sm.red,
.history-table-item-line.red {
  background-color: #d04141;
}

.history-table-item.tie {
  background-color: forestgreen;
}

.history-table-item-sm.blue-tor {
  border: 3px solid dodgerblue;
}

.history-table-item-sm.red-tor {
  border: 3px solid #d04141;
}

.ui-base {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: 0 0;
}

@media only screen and (min-width: 768px) {
  .ui-base {
    pointer-events: none;
  }
}

.info-popup-container {
  position: absolute;
  top: 25px;
  right: 25px;
  bottom: 25px;
  left: 25px;
  border: 2px solid #fbe464;
  pointer-events: all;
  /* As we cannot replace the numbers with variables or calls to element properties, the number of this selector parts is our tab count limit */
}

.info-popup-container .content {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: black;
}

.info-popup-container .header {
  width: 100%;
  height: 85px;
  background-color: #fbe464;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
}

.info-popup-container .header .close-btn {
  position: absolute;
  right: 15px;
  cursor: pointer;
}

.info-popup-container .title {
  font-family: "Roboto", "Ubuntu", sans-serif;
  font-size: 45px;
  font-weight: 900;
  margin: 0;
  text-align: center;
  color: black;
  text-transform: uppercase;
}

.info-popup-container .tabbed {
  height: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.info-popup-container .tabbed [type=radio] {
  /* hiding the inputs */
  display: none;
}

.info-popup-container .tabs {
  display: flex;
  align-items: center;
  list-style: none;
  height: 85px;
  padding: 0;
  margin: 0;
}

.info-popup-container .tab {
  width: 50%;
}

.info-popup-container .tab > label {
  display: block;
  height: 85px;
  background: #2c2a2b;
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  line-height: 84px;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
}

.info-popup-container .tab:hover label {
  color: #fbe464;
}

.info-popup-container .tab-content {
  display: none;
  flex-grow: 1;
  color: #777;
  height: 100%;
  overflow-y: auto;
  padding: 32px;
}

.info-popup-container .tab-content .text-wrapper {
  width: 1000px;
  margin: auto;
}

.info-popup-container .tab-content h4 {
  font-family: "Roboto", "Ubuntu", sans-serif;
  font-size: 35px;
  font-weight: 400;
  color: #fbf5ae;
}

.info-popup-container .tab-content ul {
  list-style: none;
  margin-left: 60px;
}

.info-popup-container .tab-content ul li::before {
  content: "\2022";
  color: #fbe464;
  font-weight: bold;
  display: inline-block;
  width: 20px;
  margin-left: -20px;
}

.info-popup-container .tab-content li {
  font-size: 30px;
  color: white;
}

.info-popup-container .tab-content p {
  font-size: 30px;
  color: white;
}

.info-popup-container .tabbed [type=radio]:nth-of-type(1):checked ~ .tabs .tab:nth-of-type(1) label,
.info-popup-container .tabbed [type=radio]:nth-of-type(2):checked ~ .tabs .tab:nth-of-type(2) label,
.info-popup-container .tabbed [type=radio]:nth-of-type(3):checked ~ .tabs .tab:nth-of-type(3) label {
  border-bottom: 5px solid #fbe464;
  color: #fbe464;
}

.info-popup-container .tabbed [type=radio]:nth-of-type(1):checked ~ .tab-content:nth-of-type(1),
.info-popup-container .tabbed [type=radio]:nth-of-type(2):checked ~ .tab-content:nth-of-type(2),
.info-popup-container .tabbed [type=radio]:nth-of-type(3):checked ~ .tab-content:nth-of-type(3) {
  display: flex;
}

.info-popup-container .payouts-table {
  margin: auto;
  width: 1800px;
  color: white;
  border-collapse: collapse;
  font-family: "Roboto", "Ubuntu", sans-serif;
  font-size: 25px;
}

.info-popup-container .payouts-table table,
.info-popup-container .payouts-table th,
.info-popup-container .payouts-table td {
  border: 2px solid white;
}

.info-popup-container .payouts-table th {
  color: #fbe464;
  text-transform: uppercase;
}

.info-popup-container .payouts-table td,
.info-popup-container .payouts-table th {
  padding: 15px 25px;
}

.info-popup-container .payouts-table td:first-of-type {
  width: 13%;
  text-align: center;
  text-transform: uppercase;
}

.info-popup-container .payouts-table td:last-of-type {
  width: 10%;
  text-align: center;
}

/* width */

::-webkit-scrollbar {
  width: 15px;
}

/* Track */

/* Handle */

::-webkit-scrollbar-thumb {
  background: #fbe464;
  padding-right: 5px;
}

