body{
    background-color: green;
    color: black;
}
#wallet-wrapper{
    display: inline-flex;
    /* position: absolute; */
    right: 10px;
    top: 10px;
    flex-direction: column;
    background-color: red;
    border: 1px solid black;
    width: 300px;
}
#wallet-wrapper p{
    font-size: 1.5rem;
    font-weight: 900;
    padding-left: 10px;
}
#playerHand-wrapper{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
#dealerHand-wrapper{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-bottom: 1rem;
    border-bottom: 1px solid white;
}
#dealerHandDisplay{
    overflow-wrap: break-word;
}
#balance-wrapper{
    position: fixed;
    bottom: 30px;
    right: 5px;
    width: 100px;
    /* padding: 1rem; */
    text-align: center;
    background-color: red;
    border: 1px solid black;
}
#playerHandDisplay{
    overflow-wrap: break-word;
}
#card{
    margin: 2px;
    display: flex;
    flex-direction: column;
    width: 100px;
    height: 150px;
    border: 2px solid black;
    background-color: white;
    border-radius: 10px;
    justify-content: space-between;
    align-items: flex-start;
    -webkit-animation: slide-in-bck-right 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
              animation: slide-in-bck-right 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
            }
            #card .left {
                display: flex;
                flex-direction: column;
                text-align: center;
                width: 18px;
                padding-left: 10px;
            }
            
#card .right {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 18px;
    align-self: flex-end;
    padding-right: 10px;
}
#card.hiddenCard {
    background-color: red;
    
}
.hiddenCard i {
    opacity: 0;
}
.hiddenCard p {
    opacity: 0;
}
@-webkit-keyframes slide-in-bck-left {
    0% {
      -webkit-transform: translateZ(700px) translateX(-400px);
              transform: translateZ(700px) translateX(-400px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateZ(0) translateX(0);
              transform: translateZ(0) translateX(0);
      opacity: 1;
    }
  }
  @keyframes slide-in-bck-left {
    0% {
      -webkit-transform: translateZ(700px) translateX(-400px);
              transform: translateZ(700px) translateX(-400px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateZ(0) translateX(0);
              transform: translateZ(0) translateX(0);
      opacity: 1;
    }
  }
  @-webkit-keyframes slide-in-bck-right {
    0% {
      -webkit-transform: translateZ(700px) translateX(400px);
              transform: translateZ(700px) translateX(400px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateZ(0) translateX(0);
              transform: translateZ(0) translateX(0);
      opacity: 1;
    }
  }
  
  @keyframes slide-in-bck-right {
    0% {
      -webkit-transform: translateZ(700px) translateX(400px);
              transform: translateZ(700px) translateX(400px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateZ(0) translateX(0);
              transform: translateZ(0) translateX(0);
      opacity: 1;
    }
  }