html { overflow-y: scroll; }

body {  font-family:  system-ui, sans-serif; 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; }
#game-line { display: flex; align-items: flex-start;  }
#game-line span { font-weight: bold }

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: 'Titan One';} */
/*h1 { font-family: 'Bungee' } */
h1 { font-family: 'Bagel Fat One'; font-size: 3em; padding: 0px; margin: 0; line-height: 1; }


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

.status { position: absolute; bottom: 5px; right:15px }
#status-bar div { display: inline-block; margin-right: 10px;}

#scores {
    background: rgba(0,0,0,0.4);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    text-align: center;
}


#scores div { display: inline-block; margin-right: 0px;}
.score-box { width: 20%; font-weight: bold;  }

#log-container {
    height: 50px; background: rgba(0,0,0,0.6);
    overflow-y: auto; font-size: 0.8rem;
    padding: 8px; border-radius: 4px; margin-bottom: 10px;
    clear: both;
    display:none;
}

#table {
    position: relative;
    background: #06661e;
    /*background: #80CD32; */
    height: 640px;
    width: 900px;
    margin: 0 auto;
    /*border: 10px solid #044d16; */
    /*border: 10px solid #000; */
    border: 4px solid darkorange;
    border-style: thin;
    /*border-radius: 20px; */
    border-radius: 100px;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
}

/* Position Players */

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

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

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

.player-side { position: absolute; text-align: center; }

.north  { top: 0px;  left: 50%; transform: translateX(-50%); }
.south { bottom: 15px; left: 50%; transform: translateX(-50%); }

.west { left: 150px; top: 50%; transform: translateY(-50%);  }
.east { right: 140px; top: 50%; transform: translateY(-50%); }

/*.west { left: 140px; top: 180px; width: 100px; } */
/*.east { right: 110px; top: 180px; width: 100px; } */

.hand { position: relative; height: 110px; }
.hand img { width: 65px; position: relative; border-radius: 4px; }


/* Stacking for North/South */
#hand-0 img, #hand-2 img { margin-right: -35px; }
/*#hand-0 img:hover { transform: translateY(-15px); z-index: 100; cursor: pointer; } */

/* Vertical Stacking for West/East */
.vertical-hand img { display: block; margin: 0 auto -85px auto; }

.selected-for-pass { transform: translateY(-30px) !important; outline: 2px solid gold; box-shadow: 0 0 10px gold; }

/* Trick Center Calculation */
#trick-center {
    position: absolute; top: 50%; left: 50%;
    width: 200px; height: 200px;
    margin-top: -100px; margin-left: -100px;
}

.trick-slot { position: absolute; width: 65px; height: 95px; border: 1px dashed rgba(255,255,255,0.1); }
.slot-n { top: 0; left: 67px; }
.slot-s { bottom: 0; left: 67px; }
.slot-w { top: 52px; left: 0; }
.slot-e { top: 52px; right: 0; }

#turn-indicator {
    position: absolute; top: 50%; left: 50%;
    width: 0; height: 0; margin: -10px;
    border-left: 10px solid transparent; border-right: 10px solid transparent;
    border-bottom: 20px solid gold; transition: transform 0.4s;
    filter: drop-shadow(0 0 5px gold);
	display:none; /* aab edits */
}

/* Rotations for Indicator */
.point-0 { transform: translateY(45px) rotate(180deg); }
.point-1 { transform: translateX(-45px) rotate(270deg); }
.point-2 { transform: translateY(-45px) rotate(0deg); }
.point-3 { transform: translateX(45px) rotate(90deg); }

.hidden { display: none !important; }
#game-over-overlay {
    position: fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.9);
    display:flex; align-items:center; justify-content:center; z-index:2000;
}

#pass-visual-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    text-align: center;
    /*pointer-events: none;*/
    pointer-events: auto;
    cursor: pointer;
}

#big-arrow {
    width: 0; 
    height: 0; 
    /* This creates the 'Pointy' part of the arrow */
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 60px solid gold; 
    
    margin: 0 auto 15px auto;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.9));
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#pass-label {
    font-family: 'Bagel Fat One', cursive;
    color: gold;
    font-size: 1.8rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
    text-transform: uppercase;
}


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

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


/* Rotations relative to South (You) */
.point-left { transform: rotate(-90deg); }   /* Points to West */
.point-right { transform: rotate(90deg); }   /* Points to East */
.point-across { transform: rotate(0deg); }    /* Points to North */

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

.footer h4, .footer 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-scores {
    display:none;
}


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



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


.gdc_ads {
    width:150px;
    height:400px;
    text-align:center;
    /*background: url("/images/corporate-capital-structure-hierarchy.png"); */
    /*background: url("corporate-capital-structure-hierarchy.png"); */
    /*background: url("/images/super_man_tenor.gif"); */
    background-size:cover;
    background-position:center;
    border: dashed thin;
    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
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
*/

