@charset "UTF-8";
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  overflow: hidden;
  font-family: "Open Sans", sans-serif;
  width: 100vw;
  height: 100%;
  padding: 0;
  margin: 0;
}

body {
  background: radial-gradient(#385283, #421e1e) !important;
  
  padding: 0;
  margin: 0;
  opacity: 1;
}

#table-graphics {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("/imgs/table-graphics3.svg");
  background-repeat: no-repeat;
  background-position: center;
  transform: scale(0.8);
  top: 20px;
  opacity: 0.15;
  pointer-events: none;
}

#dark-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: 400ms;
}

:root {
  --info-rules-width: -492px;
}

.hide-element {
  
}

.player-left {
  opacity: 0.3;
}

.plug::before {
  position: absolute;
  transform: rotate(-30deg);
  bottom: 0;
  right: -15px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "";
  z-index: 30;
  color: #bb0000;
  font-size: 36px;
  opacity: 1;
}

.noclick {
  pointer-events: none;
  opacity: 0.3;
}

.noclick-nohide {
  pointer-events: none;
  cursor: not-allowed;
}

.current-player-highlight {
  color: black !important;
  background-color: #e0e000 !important;
  transform: scale(1.1) translateX(-50%) !important;
  transition: 300ms !important;
}

#loading-icon {
  position: absolute;
  width: 50px;
  left: 50%;
  top: 50%;
  margin-left: -25px;
  margin-top: -25px;
  z-index: 200;
  animation-name: loadingIcon;
  animation-duration: 1s;
  animation-timing-function: linear;
}

@keyframes loadingIcon {
  100% {
    transform: rotateZ(1500deg);
  }
}
#loading-screen {
  position: fixed;
  padding: 0;
  margin: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(#38833c, #1e421f);
  z-index: 101;
}

#main-menu {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}
#main-menu #blackjack-title {
  position: absolute;
  display: flex;
  justify-content: center;
  font-size: 60px;
  font-weight: 500;
  font-family: "Ultra", sans-serif;
  color: goldenrod;
  width: 100%;
  padding: 0;
  margin-top: 40px;
  pointer-events: none;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f2f6f8+0,d8e1e7+50,b5c6d0+51,e0eff9+100;Grey+Gloss+%232 */
  background: #f2f6f8;
  /* Old browsers */
  background: -moz-linear-gradient(top, #f2f6f8 0%, #d8e1e7 50%, #b5c6d0 51%, #e0eff9 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #f2f6f8 0%, #d8e1e7 50%, #b5c6d0 51%, #e0eff9 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #f2f6f8 0%, #d8e1e7 50%, #b5c6d0 51%, #e0eff9 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#f2f6f8", endColorstr="#e0eff9",GradientType=0 );
  /* IE6-9 */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
#main-menu #blackjack-title span {
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#aebcbf+0,6e7774+50,0a0e0a+51,0a0809+100;Black+Gloss */
  background: #aebcbf;
  /* Old browsers */
  background: -moz-linear-gradient(top, #aebcbf 0%, #6e7774 50%, #0a0e0a 51%, #0a0809 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #aebcbf 0%, #6e7774 50%, #0a0e0a 51%, #0a0809 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #aebcbf 0%, #6e7774 50%, #0a0e0a 51%, #0a0809 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#aebcbf", endColorstr="#0a0809",GradientType=0 );
  /* IE6-9 */
  -webkit-background-clip: text;
  background-clip: text;
  color: white;
}

#a_offline {
  text-decoration-line: none;
}

#main-box {
  position: relative;
  width: 500px;
  border: 3px solid black;
  margin: 160px auto 0 auto;
  text-align: center;
  border-radius: 10px 10px 0px 0px;
  background-color: #2d6b30;
  -webkit-box-shadow: 0px 0px 50px -20px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 50px -20px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 50px -20px rgba(0, 0, 0, 0.75);
  z-index: 3;
}
#main-box div {
  margin: 20px 0px 20px 0px;
}
#main-box #avatar-box {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 4px;
}
#main-box #avatar-box i {
  color: black;
  padding: 6px;
  font-weight: 700;
  font-size: 18px;
}
#main-box #avatar-box button:nth-of-type(1) i {
  margin-right: 6px;
}
#main-box #avatar-box button:nth-of-type(2) i {
  margin-left: 6px;
}
#main-box #avatar-box .slideAvatars {
  position: relative;
  border: 2px solid black;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  width: 80px;
  height: 80px;
}
#main-box #avatar-box .slideAvatars img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
}
#main-box #avatar-box .slideAvatars .numbertext {
  position: absolute;
  left: 50%;
  bottom: -38px;
  font-size: 12px;
  transform: translateX(-50%);
  color: white;
  opacity: 0.8;
}
#main-box #avatar-box button {
  border: none;
  outline: none;
  background-color: transparent;
  cursor: pointer;
  padding: none;
}
#main-box #avatar-box button:hover i {
  color: rgba(255, 255, 255, 0.8);
}
#main-box #avatar-box button:active i {
  transform: scale(0.9);
}
#main-box input {
  width: 45%;
  padding: 6px 0;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-size: 20px;
  border: none;
  outline: none;
  outline: 1px solid rgba(255, 255, 255, 0);
  border-radius: 2px;
  transition: 100ms;
}
#main-box input:focus {
  box-shadow: 0 0 1px 2px black;
}
#main-box .play-btns {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  
  vertical-align: middle;
  margin: auto;
  width: 60%;
  padding: 6px 0;
  color: white;
  font-size: 30px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}
#main-box button {
  background:#0a0809;
  font-size: 14px !important;
  text-align:center
}
#main-box .play-btns span i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  width: 38px;
}
#main-box #btnOffline {
  margin-top: 40px;
  background-color: #143853;
}
#main-box #btnOffline:hover {
  background-color: #0d2436;
}
#main-box #btnCreate, #main-box #btnJoin {
  background-color: #c7971d;
}
#main-box #btnCreate:hover, #main-box #btnJoin:hover {
  background-color: #9e750d;
}

#info-rules {
  position: absolute;
  right: var(--info-rules-width);
  top: 10px;
  height: 90%;
  width: 500px;
  color: white;
  background: radial-gradient(#153333, #0f2225);
  background-clip: padding-box;
  border-radius: 0px 0px 0px 22px;
  padding: 0 0 0 12px;
  opacity: 1;
  transition: 300ms;
  z-index: 300;
}
#info-rules h1 {
  color: white;
  border-top: 2px solid #d84a17c5;
  font-family: "Play", sans-serif;
}
#info-rules p, #info-rules li {
  padding: 0 6px;
}
#info-rules #h1margin {
  margin-top: 64px;
  border-top: 0px solid rgba(255, 255, 255, 0);
}

#info-rules-overflow {
  height: 100%;
  width: 100%;
  padding: 0 12px 0 0;
  overflow: auto;
}

#how-to-play {
  position: absolute;
  left: -123px;
  top: 0;
  color: white;
  font-size: 14px;
  font-weight: 700;
  background-color: #0f2225;
  text-shadow: 1px 1px black;
  padding: 12px 18px;
  border-radius: 30px 0px 0px 30px;
  cursor: pointer;
  font-family: "Play", sans-serif;
  z-index: 300;
}

#how-to-play:hover {
  color: #cccccc;
}

#how-to-play:after {
  content: "";
  width: 32px;
  height: 32px;
  border: 10px solid #0f2225;
  position: absolute;
  bottom: -32px;
  border-top: 0;
  pointer-events: none;
  z-index: 1;
}

#how-to-play::after {
  border-right: 0;
  border-radius: 0 0 0 30px;
  right: -7px;
  transform: rotate(180deg);
  pointer-events: none;
}

#about-box {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
  left: 0;
  right: 0;
  width: 476px;
  padding: 12px;
  margin: 0 auto;
  border-radius: 0px 0px 8px 0px;
  background-color: #e9e9e9;
  top: -196px;
  z-index: 0;
  transition: 250ms;
}
#about-box ul {
  padding: 12px 0px 12px 20px;
  margin: 0;
}

#about {
  position: absolute;
  cursor: pointer;
  font-weight: 700;
  background-color: #e9e9e9;
  border: none;
  outline: none;
  padding: 3px 32px;
  border-radius: 0px 0px 12px 12px;
  bottom: -21px;
  left: 0;
}

#about:after {
  content: "";
  width: 11px;
  height: 11px;
  border: 6px solid #e9e9e9;
  position: absolute;
  top: -6px;
  border-top: 0;
  z-index: -1;
}

#about::after {
  border-right: 0;
  border-radius: 0 0 0 12px;
  right: -11px;
  transform: rotate(90deg);
}

#credits {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(87, 221, 255, 0.8);
  font-size: 14px;
  margin-bottom: 10px;
  text-decoration-line: none;
}

#credits:hover {
  color: rgba(69, 171, 196, 0.8);
  text-decoration-line: underline;
}

#credits-container {
  color: white;
}
#credits-container a {
  color: rgba(87, 165, 255, 0.8);
}

.game-room {
  height: 100%;
  transition: all .1s ease;
  min-height: 750px !important;
  transform-origin: center;
}

#users-online-box {
  position: absolute;
  width: 220px;
  left: -166px;
  top: 80px;
  background-color: rgba(4, 14, 59, 0.5);
  color: white;
  text-align: center;
  transition: 300ms;
  border-radius: 0px 6px 6px 0px;
  z-index: 201;
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10+ and Edge */
  user-select: none;
  /* Standard syntax */
}
#users-online-box #users-online-label {
  text-shadow: 1px 1px black;
  font-size: 14px;
  font-weight: 700;
  font-family: "Play", sans-serif;
  margin: 12px 40px 12px 0px;
}
#users-online-box .user-list-name {
  font-family: "Open Sans", sans-serif;
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10+ and Edge */
  user-select: none;
  /* Standard syntax */
}
#users-online-box #users-online-button {
  position: absolute;
  right: 0;
  width: 54px;
  height: 46px;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
#users-online-box #users-online-button i {
  transition: 200ms;
}
#users-online-box #users-online-button:hover {
  color: #cccccc;
}
#users-online-box ul {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  list-style-type: none;
  font-size: 15px;
}
#users-online-box ul .users-list-box {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 56px;
  border-top: 2px solid #d84a17c5;
}
#users-online-box ul .users-list-box .users-list-info {
  margin-right: 40px;
}
#users-online-box ul .users-list-box .users-list-info span {
  color: lime;
}
#users-online-box ul .users-list-box .users-list-img {
  position: absolute;
  right: 0;
  border: 2px solid black;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  margin: 4px;
}
#users-online-box ul .users-list-box .users-list-img img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  pointer-events: none;
}

#volume-button {
  position: absolute;
  width: 42px;
  height: 42px;
  background-color: rgba(4, 14, 59, 0.5);
  right: 20px;
  margin-top: 10px;
  z-index: 200;
  border: 1px solid black;
  border-radius: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  
}
#volume-button i {
  color: white;
  font-size: 18px;
}
#volume-button .fa-volume-mute {
  color: #ff9393;
}

#bg-color-box {
  position: absolute;
  width: 260px;
  height: 42px;
  right: 75px;
  margin-top: 10px;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#bg-color-box .bg-colors {
  width: 42px;
  height: 42px;
  border-radius: 100%;
  border: 1px solid black;
  cursor: pointer;
}
#bg-color-box #bg-green {
  background-color: #265328af;
}
#bg-color-box #bg-blue {
  background-color: #274f55af;
}
#bg-color-box #bg-purple {
  background-color: #293b5aaf;
}
#bg-color-box #bg-red {
  background-color: #582828af;
}
#bg-color-box #bg-brown {
  background-color: #534e26af;
}

.bg-selected {
  border: 1px solid white !important;
}

#leave-button {
  position: absolute;
  margin-top: 10px;
  margin-left: 90px;
  height: 30px;
  
  z-index: 10;
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10+ and Edge */
  user-select: none;
  /* Standard syntax */
}
#leave-button .button {
  width: 120px !important;
}
.modal.tiny *{
  font-size: 96% !important;
}
.myloading,.myloading *:not(i):not(br){
  position: absolute !important;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background:transparent !important
}
#leave-table {
  position: absolute;
  bottom: 40px;
  right: 10px;
  padding: 0px 6px;
  height: 30px;
  background-color: rgba(0, 0, 0, 0.2);
  border: none;
  outline: none;
  color: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  font-weight: 700;
  width: fit-content;
  cursor: pointer;
  text-align: center;
  z-index: 10;
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10+ and Edge */
  user-select: none;
  /* Standard syntax */
}
#leave-table i {
  color: lime;
}

#leave-table:hover {
  color: rgba(255, 255, 255, 0.8);
}

#leave-table:active {
  color: white;
}

#player-result-big {
  position: absolute;
  width: 400px;
  height: 80px;
  top: 54%;
  margin-top: -210px;
  left: 50%;
  margin-left: -200px;
  font-size: 18px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: black;
  background: rgba(0, 0, 0, 0.25);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 20%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.2) 80%, rgba(0, 0, 0, 0) 100%);
  text-shadow: 0 0 10px black;
  z-index: 50;
  pointer-events: none;
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10+ and Edge */
  user-select: none;
  /* Standard syntax */
}

.color-green {
  color: #00de00 !important;
}

.color-red {
  color: #f20000 !important;
}

#join-mid-game-label {
  position: absolute;
  left: 50%;
  margin-top: 280px;
  display: inline-block;
  font-size: 22px;
  color: white;
  transform: translateX(-50%);
  text-align: center;
}

#deal-start-label {
  position: absolute;
  left: 50%;
  margin-top: 160px;
  display: inline-block;
  font-size: 36px;
  color: white;
  transform: translateX(-50%);
  text-align: center;
}

#players-container {
  position: absolute;
  width: 80%;
  height: 48%;
  bottom: 0;
  left: 50%;
  margin-left: -40%;
  display: flex;
  /* flex-flow: wrap; */
  /* flex-direction: row; */
  color: black;
  text-align: center;
  justify-content: space-between;
  align-items: center;
}

.players {
  position: relative;
  width: 100px;
  height: 100px;
  border: 2px solid transparent;
  stroke-dasharray: 1000;
  stroke-dashoffset: 500;
  border-radius: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10+ and Edge */
  user-select: none;
  /* Standard syntax */
  opacity: 1;
  transform: scale(1);
  transition: all 1s ease;
}
.players.curplayer {
  z-index: 34;
}
.bets-side-win{
  color: chartreuse;
    font-size: 20px;
    position: absolute;
    margin-top: -24px;
    width: 100%;
    text-align: center;
}

#players-timer-container {
  position: relative;
  width: 100%;
  height: 100%;
  bottom: 100%;
  left: 50%;
  margin-left: -50%;
  display: flex;
  text-align: center;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}
#root {
  height: 100vh;
   
    width: 100vw;
    overflow: hidden;
}

#root > div {
  height: 750px;
  position: relative;
  width: 1400px;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-48%);
  transform-origin: center;
}

.players-timer {
  position: relative;
  width: 100px;
  height: 100px;
  border: 2px solid rgba(255, 255, 255, 0);
  border-radius: 100%;
  transform: rotate(-90deg);
  margin-bottom: 0;
}

.players-timer .circle-animation {
  stroke: lime;
  stroke-dasharray: 301;
  stroke-dashoffset: 301;
  animation: dash 19.5s linear forwards;
}

@keyframes dash {
  100% {
    stroke-dashoffset: 0;
    stroke: red;
  }
}



.player-name {
  position: absolute;
  bottom: -50px;
  text-shadow: 1px 1px 10px black;
  font-size: 17px;
  color: white;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 220px;
  left: -50px;
  font-family: "Open Sans", sans-serif;
  transform: scale(.8);
  transform-origin: left;
}

.highlight {
  color: #e0e000;
}

.player-name span {
  position: relative;
  margin-left: 6px;
  width: 46px;
  height: 46px;
  border: 2px solid black;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  overflow: hidden;
  pointer-events: none;
}

.player-avatar {
  position: relative;
  width: 100%;
  height: 100%;
  color: white;
  object-fit: contain;
  pointer-events: none;
}

.player-sum {
  position: absolute;
  margin: 0 auto;
  padding: 4px 8px;
  top: -45px;
  color: #e0e000;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 4px;
  display: inline-block;
  pointer-events: none;
  z-index: 15;
  transform: translateX(-50%) !important;
  transition: 100ms ease-in-out;
  text-align: center;
  font-family: "Play", sans-serif;
  left: 50%;
  /* allow the width to be calculated dynamically */
  width: auto;
  font-size: 30px;
}

.player-result {
  position: absolute;
  height: 50px;
  width: 50px;
  top: -110px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -27px;
  font-size: 15px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid black;
  background: #1f1f1f;
  background: linear-gradient(0deg, #1f1f1f 0%, #414141 50%, #222222 100%);
  border-radius: 100%;
  box-shadow: 0 0 5px black;
  pointer-events: none;
  z-index: 20;
}

.result-lose {
  color: #f20000;
  border: 2px solid #f20000;
  text-shadow: 0 0 4px #8e0000;
  opacity: .1;
}

.result-draw {
  border: 2px solid #c8c8c8;
  color: #c8c8c8;
  text-shadow: 0 0 4px #646464;
}

.result-win {
  border: 2px solid #00de00;
  color: #00de00;
  text-shadow: 0 0 4px #007a00;
}

.result-blackjack {
  border: 2px solid gold;
  color: gold;
  text-shadow: 0 0 4px #9b7300;
  font-size: 17px;
}

.player-coin {
  position: absolute;
  width: 70px;
  height: 70px;
  left: 50%;
  margin-left: -35px;
  top: 12%;
  
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
 
  font-family: "Roboto", sans-serif;
  text-shadow: 1px -1px grey;
  font-size: 16px;
  
  font-weight: 700;
  color: #fff;
  font-size: 12px;
  transform: rotate(-360deg);
  z-index: 100;
}
.player-coin.all {
  display: inline;
  transform: scale(.6) translateX(-30px);
  left: 10px;
  top: 0px;
  pointer-events: all;
  z-index: 90;
}

.player-coin .player-avatar  {
  z-index: -1;
  opacity: .5;
}

.player-coin-animation {
  position: absolute !important;
  margin-top: -35px;
  opacity: 1 !important;
  transition: 200ms !important;
  transform: rotate(0deg) !important;
}

.empty-slot {
  position: absolute;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  border-radius: 100%;
  border: 2px solid rgba(255, 255, 255, 0);
  color: rgb(239, 245, 239);
  cursor: pointer;
}
.empty-slot.active {
 
 opacity: 1;
}

.empty-slot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.empty-slot i {
  text-shadow: 0 0 4px lime;
}

.card {
  height: 90px;
  width: 60px;
  background-color: white;
  border: 1px solid black;
}

i {
  background-size: 50px 100px;
}

.player-cards {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.player-cards >span {
  position: absolute;
   
    top: -50px;
    transition: 500ms;
}
.players.result-lose.result-bust{
  opacity: .6;
  transform: scale(.8);
  transition: all 0.5s ease-in-out;
  transition-delay: 2.5s;
}

.cardImg {
  position: absolute;
  opacity: 1;
  top: -136px;
  left: 2.5px;
  width: 90px;
  height: 135px;
  transform-origin: top left;
  transition: 500ms;
}

.card1 {
  z-index: 1;
}

.card2 {
  z-index: 2;
  margin-left: 20px;
  top: -156px;
}

.card3 {
  z-index: 3;
  margin-left: 40px;
  top: -176px;
}
.isdouble.card3 {
 
  transform: rotate(-90deg) !important;
  transform-origin: bottom;
  
}
.card4 {
  z-index: 4;
  margin-left: 60px;
  top: -196px;
}

.card5 {
  z-index: 5;
  margin-left: 80px;
  top: -216px;
}

.card6 {
  z-index: 6;
  margin-left: 100px;
  top: -236px;
}

.card7 {
  z-index: 7;
  margin-left: 120px;
  top: -256px;
}

.card8 {
  z-index: 8;
  margin-left: 140px;
  top: -276px;
}

.card9 {
  z-index: 9;
  margin-left: 160px;
  top: -296px;
}

.card10 {
  z-index: 10;
  margin-left: 180px;
  top: -316px;
}

.card11 {
  z-index: 11;
  margin-left: 200px;
  top: -336px;
}

.dealerCardImg {
  width: 90px;
  height: 135px;
  transition: 500ms;
}

.cardAnimation {
  position: absolute !important;
  top: -600px !important;
  transform: rotateZ(90deg) !important;
  opacity: 0 !important;
}

.cardAnimationDealer {
  margin-left: 200px !important;
  transform: rotateZ(90deg) !important;
  opacity: 0 !important;
}

#balance-bet-box {
  position: absolute;
display: grid;
-apple-pay-button-type: 15px;
color: white;
text-align: center;
border-radius: 10px;
font-family: "Play", sans-serif;
-webkit-user-select: none;
top:10px;
right: 90px;
}

.balance-bet {
  background-color: rgba(0, 0, 0, 0.458);
  padding: 4px;
  border: 1px solid white;
  width: 155px;
  border-radius: 10px;
  margin-left: 10px;
  margin-bottom: 8px;
}
.balance-bet #total-bet {
  color: #e0e000;
}

#dealer {
  position: relative;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  font-family: "Play", sans-serif;
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10+ and Edge */
  user-select: none;
  /* Standard syntax */
  
}

#dealer .dealer-cards {
  margin: auto;
    flex-direction: row;
    position: absolute;
    width: 18%;
    transition: 500ms;
    margin-top: 250px;
    margin-left: 90px;
}
.percent{
  margin-top:100px;
  color:#fff;
  font-size: 14px;
}
.lastwheel > div{
 
  width: 450px;
  margin: auto;
  
  }
.lastwheel{
  position: relative;
    z-index: -1;
    transform: scale(1.4);
    transform-origin: top center;
    height: 370px;
    
    left: 0;
    right: 0;
    top: -50px;
    transition: all 4s ease;

}
.lastwheel.Spin{
  
    transform: scale(1.65);
    

}
#wheel {
  display: block;
  width: 450px;
}
.lastwheel  div.shadow {
 
  position: fixed;
  left: -100%;
  right: -100%;
  top: 0px;
  bottom: 0px;
  background-image: linear-gradient(180deg, transparent 15%, #2d1135 50%);
  transition: all 2s ease;
  z-index: 100;
  opacity: 1;
  height: 285%;
  
}
.lastwheel.Spin  div.shadow {
 
  
  top: 0;
  
}

#dealer .visibleCards {
  margin: 5px 3px;
  position: relative;
  display: inline-block;
 padding: 3px 10px;
 min-width: 40px;
  text-align: center;
  border-radius: 10px;
  font-size: 12px;
}

#bets-container {
  position: absolute;
 
  height: 260px;
  margin: 0 auto;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  color: black;
  text-align: center;
  justify-content: space-evenly;
  align-items: center;
}
#bets-container-right {
  position: absolute;
 
  height: 230px;
  margin: 0 auto;
  bottom: 70px;
  left: 50%;
  transform: scale(.6);
  
  transform-origin: bottom right;
  display: grid;
  color: black;
  text-align: center;
  justify-content: space-evenly;
  align-items: center;
}
#bets-container-left {
  position: absolute;
 
  height: 230px;
  margin: 0 auto;
  bottom: 70px;
  left: 50%;
  transform: scale(.6) translate(-113px, 0px);
  
  transform-origin: bottom left;
  display: grid;
  color: black;
  text-align: center;
  justify-content: space-evenly;
  align-items: center;
}

.betButtons {
  position: relative;
  width: 68px;
  height: 68px;
  display: inline-block;
  color: black;
  border-radius: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 10px black;
  cursor: pointer;
  border: none;
  outline: none;
  font-weight: 700;
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  text-shadow: 0px 0px 1px black,0px 0px 2px black,0px 0px 3px black,0px 0px 4px black,0px 0px 5px black,0px 0px 6px black,0px 0px 7px black;
}
.all .betButtons {
  position: absolute;
  margin: auto;
  width: 68px;
  height: 68px;
  display: inline-block;
  color: black;
  border-radius: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  box-shadow: -1px -1px 2px 4px rgba(0, 0, 0, 0.278);
  cursor: pointer;
  border: none;
  outline: none;
  font-weight: 700;
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  text-shadow: 0px 0px 1px black;
}
.betButtons:hover {
  transform: scale(1.05);
}
.betButtons:active {
  transform: scale(1);
}
.betButtons.place {
  box-shadow: none;
  color: white;
  text-shadow: none;
  border: #fff solid 2px;
  font-size: 15px;

}
.countover {
  position: relative;
  margin: auto;
  max-width: 450px;

  z-index: 10;
  padding: 0;

  object-fit: contain;
  flex-shrink: 0;
 
 
    height: 0;
}
.countover img {
  position: absolute;
  margin: auto;

  z-index: 10;
  padding: 0;
  width: 100%;
  transform: scale(1.15);

  border-radius: 100% 80% 100% 100%;
  overflow: hidden;
}

.modal {
  left: auto !important;
}

.bhdLno {
  margin: auto;
  background-color: #22303f;
  overflow: hidden;
  border-radius: 1000px;
  margin: auto;
}
.tabl2 .betButtons{
  filter: hue-rotate(45deg);
}
.tabl3 .betButtons{
  filter: hue-rotate(90deg);
}
.tabl4 .betButtons{
  filter: hue-rotate(180deg);
}
.content-img {
  height: 70px;
  margin-bottom: 30px;
}
.betButtons.place.winner {
  box-shadow: 0 0 10px rgb(9, 226, 27);
  color: chartreuse;
  text-shadow: none;
  border: #48d21a solid 2px;
  font-size: 15px;

}
#bets-container .max-clear {
  font-weight: 500;
  text-shadow: 0 0 transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0);
  color: white;
  background-color: rgba(4, 14, 59, 0.5);
  border-radius: 10px;
  height: 30px;
  border: 1px solid black;
}
.betButtons#chip {
  background: rgba(0, 0, 0, 0.2);
  color: white;
  font-size:20px
}
.betButtons#chip0 {
  background: url("/imgs/chips/Casino_Chip_Brown.svg") no-repeat;
  color: #fff;

}

.betButtons#chip1 {
  background: url("/imgs/chips/Casino_Chip_Purple.svg") no-repeat;
  color: #fff;
  
}
.betButtons#chip2 {
  background: url("/imgs/chips/Casino_Chip_Orange.svg") no-repeat;
  color: #fff;
  
}
.betButtons#chip3 {
  background: url("/imgs/chips/Casino_Chip_Red.svg") no-repeat;
  color: #fff;
}
.betButtons#chip2M {
  background: url("/imgs/chips/Casino_Chip_Blue.svg") no-repeat;
  color: #fff;
}

#bets-container > span{
  transform: scale(.9);
}


.betButtons#chip3M {
  background: url("/imgs/chips/Casino_Chip_Brown.svg") no-repeat;
  color: #fff;
}
.betButtons#chip5M {
  background: url("/imgs/chips/Casino_Chip_Black.svg") no-repeat;
  color: #fff;
}

.user-action-container {
  position: absolute;
  width: 300px;
  height: 200px;
  top: 52%;
  left: 50%;
  margin-left: -150px;
  font-size: 18px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  text-shadow: 0 0 10px black;
  z-index: 29;
  color: white;
  font-family: "Play", sans-serif;
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10+ and Edge */
  user-select: none;
  /* Standard syntax */
  background: rgba(0, 0, 0, 0.7);
  border-radius: 15px;
  
}
.user-action-container .user-action-text {
  pointer-events: none;
}
.user-action-container #your-turn-label {
  position: absolute;
  font-size: 14px;
  top: 12px;
  pointer-events: none;
}
.user-action-container .user-action-box {
  width: 120px;
  text-align: center;
  font-size: 14px;

}
.user-action-container .user-action {
  position: relative;
  font-size: 38px;
  background-color: rgba(0, 0, 0, 0.5);
  width: 70px;
  height: 70px;
  outline: none;
  border: none;
  border-radius: 100%;
  border: 2px solid black;
  cursor: pointer;
}
.user-action-container .user-action:hover {
  transform: scale(1.028);
  background-color: rgba(50, 50, 50, 0.5);
}
.user-action-container .user-action:active {
  transform: scale(1);
}
.user-action-container #stand {
  color: red;
}
.user-action-container #hit {
  color: green;
}
.user-action-container #doubleDown {
  position: relative;
  color: goldenrod;
}
.user-action-container #doubleDown span {
  position: absolute;
  left: 26px;
  top: 31px;
  font-size: 14px;
  color: #000000;
}

.ready {
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 100%;
  left: 50%;
  margin-left: -50%;
  top: 50%;
  margin-top: -50%;
  border-radius: 100%;
  font-weight: 700;
  font-size: 17px;
  font-family: "Play", sans-serif;
  outline: none;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 217, 0, 0.8);
  box-shadow: 0 0 10px gold;
  animation-name: placeBetsColor;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  transition: 100ms;
  z-index: 10;
}

@keyframes placeBetsColor {
  0% {
    background-color: rgba(255, 217, 0, 0.8);
  }
  50% {
    background-color: rgba(255, 217, 0, 0.5);
  }
}
.ready:hover {
  opacity: 0.5;
}

.ready:active {
  transform: scale(0.95);
}

.flip-card {
  background-color: transparent;
  width: 90px;
  height: 135px;
  perspective: 1000px;
  transition: 500ms;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-back {
  transform: rotateY(180deg);
}

.tilesWrap {
  padding: 0;
  list-style: none;
  text-align: center;
transform-origin: top;
}
.tilesWrap li {
  display: inline-block;
  width: 40%;
  min-width: 200px;
  padding: 80px 20px 40px;
  position: relative;
  vertical-align: top;
  margin: 10px;
  font-family: 'helvetica', san-serif;
  cursor: pointer !important;
  
  background: #262a2b;
  border: 1px solid #252727;
  text-align: left;
}
.tilesWrap li h2 {
  font-size: 94px;
  margin: 0;
  position: absolute;
  opacity: 0.4;
  top: 30px;
  right: 10px;
  transition: all 0.3s ease-in-out;
}
.tilesWrap li h3 {
  font-size: 20px;
  color: #b7b7b7;
  margin-bottom: 15px;
  margin-top: 5px;

}
.tilesWrap li p {
  font-size: 14px;
  line-height: 18px;
  color: #b7b7b7;
  margin-top: 5px;
}
.tilesWrap li button {
  background: transparent;
  border: 1px solid #b7b7b7;
  padding: 10px 20px;
  color: #b7b7b7;
  border-radius: 3px;
  position: relative;
  transition: all 0.3s ease-in-out;
  transform: translateY(-40px);
  opacity: 0;
  cursor: pointer;
  overflow: hidden;
}
.tilesWrap li button:before {
  content: '';
  position: absolute;
  height: 100%;
  width: 120%;
  background: #b7b7b7;
  top: 0;
  opacity: 0;
  left: -140px;
  border-radius: 0 20px 20px 0;
  z-index: -1;
  transition: all 0.3s ease-in-out;
  
}
.tilesWrap .li:hover button {
  transform: translateY(5px);
  opacity: 1;
}
.tilesWrap li button:hover {
  color: #262a2b;
}
.tilesWrap li button:hover:before {
  left: 0;
  opacity: 1;
}
.tilesWrap .li:hover h2 {
  top: 0px;
  opacity: 0.6;
}

.tilesWrap li:before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  z-index: -1;
  background: #fff;
  transform: skew(2deg, 2deg);
}
.tilesWrap li:after {
  content: '';
  position: absolute;
  width: 40%;
  height: 100%;
  left: 0;
  top: 0;
  background: rgba(255, 255, 255, 0.02);
}
.tilesWrap li:nth-child(1):before {
  background: #C9FFBF;
background: -webkit-linear-gradient(to right, #FFAFBD, #C9FFBF);
background: linear-gradient(to right, #FFAFBD, #C9FFBF);
}
.tilesWrap li:nth-child(2):before {
  background: #f2709c;
background: -webkit-linear-gradient(to right, #ff9472, #f2709c);
background: linear-gradient(to right, #ff9472, #f2709c);
}
.tilesWrap li:nth-child(3):before {
  background: #c21500;
background: -webkit-linear-gradient(to right, #ffc500, #c21500);
background: linear-gradient(to right, #ffc500, #c21500);
}
.tilesWrap li:nth-child(4):before {
  background: #FC354C;
background: -webkit-linear-gradient(to right, #0ABFBC, #FC354C);
background: linear-gradient(to right, #0ABFBC, #FC354C);
}
@media only screen and (orientation:portrait) {
  #turn { display:block; }
  #root { display:none; }
}

/* (B) CORRECT ORIENTATION - SHOW CONTENT HIDE MESSAGE */
@media only screen and (orientation:landscape) {
  #turn { display:none; }
  #root { display:block; }
}

.cardRotate {
  width: 90%;
  margin: 20% auto;
  padding: 2% 5%;
  border-radius: 10px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
  background-color: #ffffff;
  font-family: sans-serif;
  text-align: center;
  max-width: 300px;
  max-height: 500px
}

.animation {
  text-align: center;
  width: 100%;
  margin: 0 auto;
}


.phone {
position: relative;
width: 30%; 
margin: 35%;
}


.phone--landscape {
  animation: landscape 3s 0s infinite;
}

@keyframes landscape {
  0% { transform: rotate(0deg) }
  50% { transform: rotate(90deg) }
  100% { transform: rotate(90deg) }
}

@keyframes portrait {
  0% { transform: rotate(90deg) }
  100% { transform: rotate(0deg) }
}


#wheelOfFortune {
  display: block;
  position: absolute;
  overflow: hidden;
  transform: rotate(45deg);
}
#wheelOfFortune canvas{
  transition:1s ease-in-out;
  
}
#dospin{
  transform-origin: 50% 50%;
  transition-duration:10s ;
  
  transition-timing-function: cubic-bezier(.14,-0.13,.04,1);
 

}
.frz{
  transition-duration:0s !important;
}
#dospin.dospin{
  rotate: 10turn;
}
