html { overflow-y: scroll; }

/*body { font-family: system-ui, sans-serif, 'Titan One'; background: linear-gradient(orange,yellow); background-attachment: fixed; margin:0; color: #fff; } */
body { font-family: system-ui, sans-serif, 'Titan One'; background: linear-gradient(lightblue,white); background-attachment: fixed; margin:0; color: #fff; }

#game { width: 100%; max-width: 1000px; margin: auto; padding: 1rem; text-align: center; }

#status { display: flex; justify-content: space-around; background: rgba(0, 0, 0, 0.4); padding: 10px; border-radius: 8px; margin-bottom: 10px; }

#game-line { display: flex; align-items: flex-start;   }
#game-line span { font-weight: bold }
#game-line a:link { text-decoration:none }
#game-line span a:hover { color:red }

h3,h2  { font-family: 'Bagel Fat One'; display: inline-block;  margin:0 0 0 auto;  }

/*h3,h2 a { text-decoration: none; color: #fff; } */
h3,h2 a { text-decoration: none; color: inherit; }

/*h3:hover,h2:hover,h1:hover a { color: blue; } */
h3:hover,h2:hover,h1:hover a { color: #0066ff; }

h1 { font-family: 'Bagel Fat One'; font-size: 3em; padding: 0px; margin: 0; line-height: 1; }


#winner-win {
    position:absolute;
    top:50%;
    left:50%;
    display:none;
    background-color:blue;
    z-index:2010;
    transform: translate(-50%,-50%);
    border-radius: 10%;
}

#winner-win img {
    width:35%;
    height:auto;
}

.winner-glow {
  /*box-shadow: 0 0 35px #f1c40f, */
  box-shadow: 
    0 0 10px  #f1c40f,  /* 1. Tight Core Glow */
    0 0 30px  #f1c40f,  /* 2. Mid-range Glow */
    0 0 80px  #f1c40f,  /* 3. Wide Outer Glow */
    0 0 150px  #f1c40f; /* 4. Mega-Distance Glow */
    border-radius:25%;
    transition: box-shadow 0.3s;
}

#table {
  position: relative;
  /*background: radial-gradient(#1e3799, #0a1a44); */
  background: #06661e;
  /*border-radius: 50%; */
  border-radius: 100px;
  /*margin: 10px auto; */
  margin: 0 auto;
  height: 640px; 
  width: 900px;
  box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
  /*border: 10px solid #000; */
  border: 4px solid darkorange;
  z-index: 1;
}

.image-player img {position:relative;  width:55px; height:auto; z-index:100;} 

.player-area.left   div.image-player { position: absolute; top:50%; left:-75px }
.player-area.left   div.image-player  span  { display:block }

.player-area.right  div.image-player { position: absolute; top:50%; right:-60px }
.player-area.right  div.image-player  span { display:block }


.player-area.bottom .label { z-index:100; position:relative; }

.player-area { position: absolute; z-index: 10; }
.top    { top: 15px;  left: 50%; transform: translateX(-50%); }
.bottom { bottom: 15px; left: 50%; transform: translateX(-50%); z-index: 100; }
.left   { left: 150px;  top: 50%; transform: translateY(-50%); }
.right  { right: 140px; top: 50%; transform: translateY(-50%); }

#hand-container { position:relative; margin: 0; }
#hand-0 { display: flex;  justify-content: center; pointer-events: all; }
#hand-00 { position:absolute; display: none;  justify-content: center; pointer-events: all;  margin-top: -50px; }

.hand.vertical-stack { width: 65px; height: 110px;  display: block; }
.hand.vertical-stack img { display: block ; margin-bottom: -80px; border-radius: 4px; }
.hand:not(.vertical-stack) { white-space: nowrap; }
.hand:not(.vertical-stack) img { display: inline-block; margin-right: -25px; border-radius: 4px; }

.hand img { width: 65px; border-radius: 4px; position: relative; box-shadow: 1px 1px 4px rgba(0,0,0,0.3); transition: transform 0.2s; } 

.playable { cursor: pointer !important; border: 2px solid #f1c40f !important; transform: translateY(-20px); z-index: 50; }
.playable:hover { transform: translateY(-35px); z-index: 100; }

#center-area {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px; height: 120px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 500; pointer-events: none; 
}

.pile-slot { 
  width: 75px; height: 110px; 
  border: 2px dashed rgba(255,255,255,0.2); 
  border-radius: 5px; position: relative; pointer-events: all;
}

#suit-current {
    font-size:3em;
}

#draw-pile { cursor: pointer; z-index: 600; }
#draw-pile img { width: 70px; height: 105px; display: block; }

.played-card { width: 70px; height: 105px; border-radius: 4px; box-shadow: 2px 2px 8px rgba(0,0,0,0.5); }

.modal { position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.2); display: none; justify-content: center; align-items: center; }
/*.modal-content { background: #fff; color: #000; padding: 30px; border-radius: 15px; text-align: center; } */
.modal-content { background: transparent; color: lime; padding: 30px; border-radius: 15px; text-align: center; }
#suit-buttons button { padding: 15px; margin: 5px; font-size: 1.2rem; cursor: pointer; border-radius: 8px; border: 1px solid #ccc; }

/*#start-btn { padding: 10px 25px; background: #f1c40f; border: none; font-weight: bold; cursor: pointer; border-radius: 5px; margin-top: 10px; } */
#start-btn { position: absolute; bottom: 15px; right: 55px; padding: 10px 25px; background: #f1c40f; border: none; font-weight: bold; cursor: pointer; border-radius: 5px; margin-top: 10px; }

.about { width:75%; margin:0 auto; color:black;  }

.about h1, .about h2, .about h3, .about h4 {
    font-family: 'Bagel Fat One';
    color:#228B22;
}

/*  
Forest Green
HEX #228B22
*/


@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
  100% { transform: translateX(0); }
}
.shake-animation { animation: shake 0.2s ease-in-out 0s 2; } 

.footer
{
    margin: 0 auto;
    color: black;
    width: 100%;
    text-align:center;
}

.footer h4,h5 {
    margin: 0 auto;
/*    font-family: 'Bagel Fat One'; */
    font-family: courier;
}

/* mobile edit to negate mobile html elements 
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
*/

#menu-toggle, #label-burger, #nav-hamburger {
    display:none;
}




/* 
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
mobile edit end
*/



/*
@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 
 ADS START
*/

#gdc_mobile_ad {
    display:none;
}

.gdc_ads h4 {
    margin-bottom:0px;
    margin-top:0px;
}

.gdc_ads {
    width:160px;
    height:300px;
    text-align:center;
}

.gdc_ads_no_img {
    width:150px;
    height:400px;
    text-align:center;
    border: dashed thin;
    display:none;
}

#gdc_ads_left, #gdc_no_ads_left {
    margin-left:40px;
    margin-top: 150px;
    float:left;
}

#gdc_ads_right, #gdc_no_ads_right {
    margin-right:40px;
    margin-top: 150px;
    float:right;
}

/*
ADS END
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
*/

