html { overflow-y: scroll; }

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

#game { width: 100%; margin: auto; padding: 0px; text-align: center; }
#game-line { display: flex; align-items: flex-start;   }
#game-line span { font-weight: bold }

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

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

h3,h2 a { text-decoration: none; color: inherit; }

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


#table {
  position: relative;
  background: #06661e;
  border-radius: 100px;
  margin: 0 auto;
  height: 660px; 
  width: 100%;
  box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
  border: 4px solid darkorange;
  z-index: 1;
}


.image-player img { width:55px; height:55px;}

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

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



.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: 0px;  top: 50%; transform: translateY(-50%); }
.right  { right: 0px; top: 50%; transform: translateY(-50%); }

/*/#hand-0 { display: flex; } */
/*#hand-0 { display: flex; justify-content: center; min-height: 120px; pointer-events: all; }*/
#hand-0 { display: flex;  justify-content: center; pointer-events: all; }

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


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

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

/*.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: 250px; 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;  display: block; }
.played-card { width: 70px;  border-radius: 4px; box-shadow: 2px 2px 8px rgba(0,0,0,0.5); }

/*
#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: 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; z-index:200 }

.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 edits       */
/*@@@@@@@@@@@@@@@@@@@@@@*/

#game-line, #status {
    display:none;
}

  /* 1. The Hidden Toggle */
  #menu-toggle { display: none; }

  /* 2. Hamburger Icon Styling */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 21px; 
    gap: 5px;
    cursor: pointer;

    position: fixed; 
    top: 20px;
    left: 20px;
    z-index: 1001;
  }

  .hamburger span {
    display: block;
    /*height: 3px;*/
    height: 12px;
    width: 100%;
    /*background-color: #333;*/
    /*background-color: lime;*/
    background-color: white;
    border-radius: 3px;
    transition: all 0.1s linear;
  }

  /* 3. Hamburger to "X" Animation */
  #menu-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  #menu-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
  }
  #menu-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  /* 4. Flyout Menu Side Panel */
  .flyout-nav {
    position: fixed;
    top: 0;
    left: -100%; /* Hidden off-screen */
    width: 100%;
    height: 100%;

    background: darkgreen;
    transition: left 0.1s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1000;
    padding-top: 80px;
  }

  #menu-toggle:checked ~ .flyout-nav {
    left: 0; /* Slides into view */
  }

  /* Menu Content */
  .flyout-nav ul { list-style: none; padding: 0; }
  .flyout-nav a {
    display: block;
    padding: 15px 40px;
    color: white; 
    text-decoration: none;
    font-size: 1.2rem;
    /*transition: background 0.2s;*/
    transition: background 0.1s;
  }
  .flyout-nav a:hover { background: #333; } 

  /* Background Overlay */
  .overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    /*background: rgba(0,0,0,0.5);*/
    background: rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    /*transition: 0.3s;*/
    transition: 0.1s;
    z-index: 999;
  }
  #menu-toggle:checked ~ .overlay {
    opacity: 1;
    visibility: visible;
  }

 .flyout-nav ul li {
    text-align: center;
}


/*@@@@@@@@@@@@@@@@@@@@*/
/*   Mobile edits end */



/*
@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 
 ADS START
*/
.gdc_ads {
    width:150px;
    height:400px;
    text-align:center;
    /*background: url("/images/corporate-capital-structure-hierarchy.png"); */
   /* background: url("/images/miles_morales_spider_giphy.gif"); */
    background-size:cover;
    background-position:center;
    display:none;
}

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

#gdc_ads_left {
    margin-left:10px;
    margin-top: 150px;
    float:left;
}

#gdc_ads_right {
    margin-right:10px;
    margin-top: 150px;
    float:right;
}

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

