img {
  transition: transform 1s
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cinzel', serif;
}

#help{
    width:450px;
}
body {
    width: 100%;
    height: 100vh;
    position: relative;
    background-color:  #344047;
    background-image: url(bg_3.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.top_container {
    height: 90px;
    width: 40%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    border-bottom-right-radius: 10px;
}
.top_container::after {
    content: '';
    position: absolute;
    top: -7px;
    right: 5px;
    width: 100%;
    height: 100%;
    border: 1px solid gray;
    border-bottom-right-radius: 8px;
}
#saldo {
    padding-left: 30px;
    font-family: 18px;
    font-weight: 500;
    text-transform: uppercase;
    color: #fff;
    z-index: 5; 
}
#poker_chip {
    height: 60px;
    position: absolute;
    top: -20px;
    right: 65px;
    transform: rotate(-30deg);
    box-shadow: 0 0 8px black;
    border-radius: 50%;
}
#poker_queen {
    height: 110px;
    position: absolute;
    top: -30px;
    right: 8px;
    z-index: -1;
}
.middle_container {
    width: 400px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    position: relative;
}
.middle_container::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid gray;
    border-radius: 8px;
}
#Result {
    position: absolute;
    top: 10px;
}
.items_1 {
    display: flex; 
    justify-content: center;
    width: fit-content; 
    margin: 0 auto;  
}
.items_2{
    display: flex; 
    justify-content: center;
    width: fit-content; 
    margin: 0 auto;  
}
.middle_top, .middle_bottom{
    position: relative;
}
.cards {
    height: 190px;
    margin-top: 15px;
    margin-bottom: 15px;
}
.cd2 {
    margin-left: -90px;
}
.cards:first-child {
    margin-left: 0;
}
#dealerTotal {
    z-index: 5;
    font-size: 20px;   
}
.total_container {
    position: absolute;
    top: 0;
    right: -45px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    z-index: 4;
}
#playerTotal {
    z-index: 5;
    font-size: 20px;
}
.total {
    width: 90px;
    position: absolute;
    top: 0;
    left: 0;
}
#Dealer {
    text-align: center;
}

#Player {
    text-align: center;
}
.bottom_container {
    height: 90px;
    width: 40%;
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-top-left-radius: 10px;
    overflow: clip;
}
.bottom_container::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 100%;
    height: 100%;
    border: 1px solid gray;
    border-top-left-radius: 8px;
}
.button {
    width: 120px;
    padding: 10px 20px;
    position: relative;
    text-transform: uppercase;
    border: none;
    background-color: #4f060f;
    background-image: radial-gradient(75% 50% at 50% 0%, #b52e37, transparent);
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    border-radius: 30px;
    cursor: pointer;
    overflow-x: hidden;
    z-index: 10
}
.button::before {
    content: '';
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 3px;
    right: 3px;
    border: 1px solid gray;
    border-radius: 27px;
    pointer-events: none;
}
.button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
    height: 100%;
    width: 100%;
    transform: scaleX(0);
    border-radius: 30px;
    transition: transform 0.30s ease-in-out;
    transform-origin: left;
    background-color: rgba(0, 0, 0, 0.3);
}
.button:hover::after {
    transform: scaleX(1);
}
.square {
    height: 9px;
    width: 9px;
    position: absolute;
    z-index: -1;
    border-radius: 2px;
}
.sq1{
    bottom: 5px;
    right: 20px;
    background-color:#bb1233;
}
.sq2 {
    bottom: 7px;
    right: 11px;
    rotate: 50deg;
    background-color:#8d2b3e;
}
.sq3 {
    bottom: 15px;
    right: 5px;
    background-color:#80152b;
}
.sq4 {
    bottom: 24px;
    right: 10px;
    rotate: -20deg;
    background-color:#9b0422;
}
.sq5 {
    bottom: 15px;
    right: 14px;
    rotate: -10deg;
    background-color:#a80828;
}
.sq6 {
    bottom: 5px;
    right: 29px;
    rotate: -25deg;
    background-color:#9b2b41;
}
.sq7 {
    bottom: 14px;
    right: 23px;
    rotate: -10deg;
    background-color:#920522;
}




.chip:hover{
    transform: scale(1.1);
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.6);
}
#addBet{
    transform: rotateX(200deg);
    
}
.bet_chip{
    font-weight: bolder;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: relative;
    background-image: linear-gradient(45deg, #b52e37, #4f060f );
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: -47px;
    line-height: 50px;
    transform: rotateX(200deg);
    margin-left: 20px;
    
}
  
.bet_chip::before{
    content: "";
    display: block;
    position: absolute;
    top: 1.7px;
    left: 1.7px;
    right: 1.7px;
    bottom: 1.7px;
    border: 3.3px dashed #fff;
    border-radius: 50%;
    pointer-events: none;
}



.chip{
    margin-bottom: 10px;
    font-weight: bolder;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: relative;
    background-image: linear-gradient(45deg, #b52e37, #4f060f );
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
  
.chip::before{
    content: "";
    display: block;
    position: absolute;
    top: 1.7px;
    left: 1.7px;
    right: 1.7px;
    bottom: 1.7px;
    border: 3.3px dashed #fff;
    border-radius: 50%;
    pointer-events: none;
}
  

#addBet{
    font-size: large;
    font-weight: bolder;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: solid;
    border-width: 5px;
    margin: 10px;
    z-index: 100;
}

.betting{
    text-align: center;
    margin: 50px;
}


