*{
  box-sizing: border-box;
}
#output{
    font-size: 1.5em;
}
body{
  margin: 0;
  padding: 0;
  background-color: rgb(216,216,216);
}
h2{
  font-size: 150%;
}
h3{
  font-size: 150%;
}
#wrapper{
  /* width: 1200px; */
  /* width: 90%; */
  margin: 0 auto;
  margin: 0 ;
  background-color: rgb(255,255,255);
  position: relative;
  padding: 0 2px;
  box-shadow: 5px 5px 5px rgb(128,128,128);
}
.clubs, .spades{
    color: #000000;
}

.hearts, .diams{
    color: #ff0000;
}
.icard{
    height: 160px;
    width: 120px;
    padding: 3px;
    border: 1px solid #000000;
    border-radius: 10px;
    background-color: #ffffff;
    position: absolute;
    left: 100px;
    display: inline-block;
    font-family: 'Loto',
  }
  
  #coverCard{
    height: 160px;
    width: 120px;
    padding: 3px;
    border: 1px solid #000000;
    border-radius: 10px;
    background-color: brown;
    position: absolute; 
}
  .top-card{
    font-size: 30px;
    line-height: 20px;
    left: 2px;
    top: 2px;
    /* position: absolute; */
  }
  .content-card{
    text-align: center;
    font-size: 70px;
    /* position: absolute; */
  }
  
  .bottom-card{
    font-size: 30px;
    line-height: 20px;
    right: 2px;
    bottom: 2px;
    position: absolute;
    transform: rotate(-180deg);
    -webkit-transform: rotate(-180deg);
    -moz-transform: rotate(-180deg);
     -ms-transform: rotate(-180deg);
     -o-transform: rotate(-180deg);
  }
    .hearts .suit::after{
      content: '\2665';
     
    }
  .diams .suit::after{
      content: '\2666';
    }
  .spades .suit::after{
      content: '\2660';
    }
  .clubs .suit::after{
      content: '\2663';
    }

    #dealerHand, #playerHand{
        height: 180px;
        width: 500px;
    }

  #message{
      margin: 0;
      padding: 0;
      text-align: center;
      font-size: 1.1em;
      font-weight: bold;
      /* background-color: lightyellow; */
  }

  #gameArea{
    /* text-align: center; */
    position: absolute;
    top: 60px;
    left: 10px;
    width: 100%;
    /* border: 1px solid red; */
  }
  #btnNewDeal, #playerActions{
    display: none;
  }

  #playerInfo, #gameName{
    margin: 0;
    text-align: center;
  }
#header-info{
  /* position: relative; */
  background-color: cornflowerblue;
  margin: 0;
  padding: 0 0 0px 0;
  
  border-bottom: 2px solid gray;
}
#header-info h2{
  /* position: relative; */
  background-color: cornflowerblue;
  margin: 0;
  padding: 0;
  
}
  
#btnSettings{
  position: absolute;
  top: 2px;
  right: 4px;
  color: #ffffff;
  font-size: 1em;
  font-weight: bolder;
  text-align: center;
  background-color: #00ff00;
  width: 30px;
  height: 30px;
}

#divGameSettings{
  width: 210px;
  /* top: 120px; */
  display: absolute;
  /* margin-left: calc((100% - 350px)/2); */
  margin: 5px auto;
  top: 40px;
  border: 3px solid lightslategrey;
  padding-bottom: 15px;
  font-weight: bold;
  box-shadow: 5px 5px 5px gray;
  display: none;
  z-index: 5;
}
#divGameSettings  h3{
  margin: 0;
  padding: 2px 0;
  text-align: center;
  background-color: cornflowerblue;
  color: #ffffff;
  font-size: 1.5em;
  font-weight: bold;
}


fieldset{
  /* border: 1px solid red; */
  margin: 0 5px;
  padding: 5px;
}

label{
  display: block;
}
input{
  display: inline-block;
  font-size: 1.2em;
  margin: 5px 0;
  width: 170px;
  z-index: 200;
}
form > button{
  width: 90px;

}
#inputBetAmount{
  z-index: -1;
  width: 100px;
}
#btnOKCancel{
  /* border: 1px solid lightgray; */
  display: flex;
  flex-direction: row;
  padding: 5px;
}
#btnRegistrationOK, #btnRegistrationCancel{
  /* min-width: 80px; */
  /* padding: 5px 10px; */
  font-size: 1em;
  margin: 5px;
  
}
#btnRegistrationOK{
  z-index: 100;
  width: 90px;
  background-color: #00ff00;
}
#btnRegistrationCancel{
  z-index: 101;
  width: 90px;
  background-color: #ff0000;
  
}

.mandatory{
  color: #ff0000;
  font-size: 1.2em;
  font-weight: bolder;
  vertical-align: super;


}

#sorryMessage{
  padding-top: 200px;
  display: absolute;
  text-align: center;
  top: 500px;
  font-size: 2em;
  color: #ff0000;
  font-weight: bolder;
  /* left: 300px; */
  
}

.btn{
  border-radius: 5px;
  padding: 5px 2px;
  color: #ffffff;
  display: inline-block;
  font-weight: bold;
  font-size: 1.1em;
  text-align: center;
  text-shadow: 2px 2px 3px #000000;
  /* width: 130px; */
  /* box-shadow: 5px 5px 5px lightgray; */
}

#btnStart{
  background-color: #00ff00;
  width: 110px;
}
#btnHold{
  background-color: #ff0000;
  width: 100px;
}
#maxBetAmount{
  background-color: #ff0000;
  width: 100px;
  /* width: 100px ;
  height: 35px;
  padding: 0 5px; */
}
#btnHit{
  background-color: #00ff00;
  width: 100px;
}
#btnDouble{
  background-color: #0000ff;
  width: 100px;
}

#btnNewDeal{
  background-color: #00ff00;
  width: 150px;
  /* text-align: center; */
}
#btnExitGame{
  background-color: #ff0000;
  width: 100px;
}
#btnDealSetting{
  text-align: left;
  /* padding-right: px; */
  /* text-align: center; */
}
#btnSettings{
  margin: 0;
  padding: 0;
  /* padding-right: 1px; */
  font-size: 1.2em;
  font-weight: bold;
}

@media screen and (min-width: 620px){
  #wrapper{
    width: 90%;
    margin: 0 auto;
    margin: 0 ;
    background-color: rgb(255,255,255);
    position: relative;
    padding: 0 2px;
    box-shadow: 5px 5px 5px rgb(128,128,128);
  }
} 

