/* all website styles go here */

.main-image { 
    background-image: url(images/background.jpg);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.floating {
    border-radius: 50%;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.8);
    transform: scale(1.2);
}

h1 {
    margin: 0;
    text-align: center;
}

header {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 50px;
}

body {
    font-family: 'Jomolhari';font-size: 22px;
}

/* Start of ryan.html / gameselect code*/


html, body {
    overflow: hidden;
  }
  
.gold-header {
    background-image: url('images/Goldheader.png');
    background-size: cover;
    background-repeat: no-repeat;
    height: 50px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px; /* Adjust as needed */
    border-bottom: 2px black;       
}
  
  .home-button img {
      height: 40px; /* Adjust as needed */
      display:block;
      cursor: pointer;
      transition: transform 0.3s ease;
  }
  
  .home-button:hover img {
      transform: scale(1.1);
  }
  
  .header-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
  }

  #accuracy-score {
    background-color: black;
    color: white;
    padding: 10px;
    border-radius: 8px;
    position: absolute;
    top: 202px; /* Adjust according to the height of the #feed div */
    left: -5px;
    width: 282px; /* Match the width of the #feed div if needed */
    font-size: 16px;
    text-align: center;
    z-index: 100; /* Ensure it's above other elements but below popups if any */
}

.accuracy-percentage {
    font-size: 24px;
    font-weight: bold;
}

.accuracy-details {
    font-size: 14px;
}

  
  .header-title {
      font-size: 40px; /* Adjust as needed */
      color: #333; /* Adjust as needed */
      padding-left:5%;
  }
  
  .account-link {
      position: relative;
      transition: color 0.3s ease, border-bottom 0.3s ease;
      font-size: 20px; /* Adjust as needed */
      color: #333; /* Adjust as needed */
      text-decoration: none;
      cursor: pointer;
      /* transition: color 0.3s; */
      padding-right: 50px;
  }
  
  .account-link::after {
      content: '';
      position: absolute;
      width: 0;
      height: 2px;
      bottom: -5px;
      left: 0%;
      background-color: #5e179b;
      transition: width 0.3s ease, left 0.3s ease;
      /* transform: translateX(-50%); */
  }
  
  .account-link:hover {
      color: #fff; /* Adjust as needed */
  }
  
  .account-link:hover::after {
      width: 100%;
      left: 0;
      width: calc(100% - 50px); /* Subtract the amount of padding-right to align the underline */
  }
  
  .game-selection {
      display: flex;
      justify-content: center; /* Center horizontally */
      align-items: center; /* Center vertically */
      height: calc(100vh - 70px); /* Full height minus header height */
      margin-top: 40px; /* Space from the top, should be equal to the header height */
  }
  
  .game-button {
      background-position: center;
      width: 300px; 
      height: 440px; 
      margin: 30px; 
      text-align: center; 
      border-radius: 15px; 
      border: 2px solid floralwhite;
      overflow: hidden; 
      position: relative; 
      cursor: pointer;
      transition: transform 0.3s ease;
  }
  
  .game-button p{
      position:relative;
      display: block;
      top:50px;
      color: #c5c5c5;
      font-size: 24px;
      font-family: sans-serif;
      padding: 0px 10px;
  }
  
  .game-button img {
      position: relative;
      width: 240px;
      height: 240px;
      padding-top: 60px;
      padding-bottom: 0;
  }
  
  
  .game-title {
    position: absolute;
    top: 10px; /* adjust as needed */
    left: 0;
    right: 0;
    text-align: center;
    color: #c5c5c5; /* assuming the title text is white */
    font-size: 24px; /* adjust as needed */
    font-family: 'Your Font Family', sans-serif;
  }
    
  .game-title h3 {
  margin: 0;
  padding: 0;
  /* Additional styling for the title */
  }
  
  /* Add any hover effects or transitions you want */
  .game-button:hover {
      /* Example hover effect */
      transform: scale(1.15);
  }

  @media only screen and (max-width: 768px) {
    .header-title {
        font-size: 24px; /* Reduced font size */
        padding-left: 40px; /* Adjusted padding */
    }

    .account-link {
        font-size: 16px; /* Reduced font size */
        padding-right: 35px; /* Adjusted padding */
    }

    .game-selection {
        flex-direction: column; /* Stack buttons vertically */
        margin-top: 20px; /* Adjusted top margin */
    }

    .game-button {
        width: 90%; /* Reduced width */
        height: auto; /* Adjust height */
        margin: 15px auto; /* Adjusted margin and center align */
        padding: 10px; /* Added padding */
    }

    .game-button img {
        width: 80px; /* Reduced image size */
        height: auto; /* Adjust height */
        padding-top: 10px; /* Adjusted padding */
    }

    .game-title h3 {
        font-size: 20px; /* Reduced font size */
    }

    .game-button p {
        font-size: 18px; /* Reduced font size */
        padding-bottom: 30%;
        margin-top: 20px;
        padding-right: 10px;
    }

    .game-button {
        display: flex; /* Use flexbox */
        justify-content: space-between; /* Space between text and image */
        align-items: center; /* Vertically align content */
        padding: 10px; /* Adjust padding */
        height: 160px;
    }
    
    .game-title {
        margin: 0; /* Remove margin */
        padding: 0; /* Remove padding */
    }
    
    .game-button img {
        width: 80px; /* Adjust image width */
        height: auto; /* Adjust image height */
        margin-left: auto; /* Push image to the right */
    }

    .home-button img {
        padding-bottom: 3px;
    }
}

  
  /* -------Responsive adjustments for mobile views -------*/
  
  body {
      background-image: url('images/background.jpg'); /* Path to your background image */
      background-color: #f8f8f8; /* A fallback color if the image is not found */
      background-repeat: no-repeat;
      background-attachment: fixed; /* This will make the background fixed during scroll */
      background-size: cover; /* This will make sure the image covers the whole page */
  }

/* -------End of ryan.html / gameselect code------- */

/* --Beginning of login.html */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    /*height: 10000vh;*/
}

.login-container {
    width: 29vw;
    background: white;
    border-radius: 10px;
    border: 1px solid black;
    padding: 10px;
}

.login-picture {
    margin-bottom: 10px;
    margin-top: 10px;
}

.login-picture img {
    width: 130px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 5px;
}

.login-field {
    margin-bottom: 5px;
    text-align: center;
}

label {
    display: block;
    margin-bottom: 0px;
    float: left;
}

input {
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: border-color 0.2s;
}

input:hover {
    border: 1px solid #777;
}

input[type="submit"]:hover {
    background-color: #2980b9;
}

.input-group {
    position: relative;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}

.signup-link {
    text-align: center;
}

.signup-link a {
    text-decoration: none;
    position: relative;
    color: #333; /* Set your desired text color */
  }
  
  /* Underline sliding in from left to right on hover */
  .signup-link a::before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px; /* Set your desired underline thickness */
    bottom: 0;
    left: 0;
    background-color: black; /* Set your desired underline color */
    transition: width 0.3s ease; /* Set the animation duration and easing */
  }
  
  .signup-link a:hover::before {
    width: 100%;
  }

@media (max-width: 1024px) {
    .login-picture img {
        width: 270px;
    }

    .login-container {
        width: 80%;
    }
}

@media (max-width: 512px) {
    .login-picture img {
        width: 200px;
    }

    .login-container {
        width: 80%;
    }
}
  
/*McClain*/

.account-container-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Center the container vertically on the page */
}
  
.account-container {
    background-color: #fff;
    padding: 40px; /* Increase padding for larger rectangle */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 400px; /* Increase max-width for larger rectangle */
    width: 315px;
    height: 60%;
    position: relative;
}
 
.account-container h1 {
    margin: 0;
    font-size: 20px; /* Adjust font size */
    text-decoration: underline; /* Add underline to the heading */
    color: black;
    position: absolute;
    top: 20px;
    left: 20px;
}

.account-container .account-form {
    font-size: 16px; /* Adjust the font size for the entire form */
    position: absolute;
    top: 60px;
    color: black;
    font-size: 8px;
}

.account-container .account-form label {
    font-size: 18px; /* Adjust the font size for labels */
}

.account-container .account-form input[type="text"],
.account-container .account-form input[type="password"] {
    font-size: 16px; /* Adjust the font size for input fields */
}

#logout-btn {
    position: absolute;
    top: 20px; /* Adjust as needed */
    right: 20px; /* Adjust as needed */
    background-color: rgb(211, 206, 206);
    color: black;
    padding: 10px 20px;
    border: black;
    border-radius: 20px;
    cursor: pointer;
}
#save-btn {
    position: absolute;
    bottom: 7px; /* Adjust as needed */
    left: 40px; /* Adjust as needed */
    background-color: rgb(211, 206, 206);
    width: 80px;
    height: 40px;
    border: black;
    border-radius: 20px;
    padding: 10px 20px;

}

#deposit-btn {
    position: absolute;
    bottom: 150px; /* Adjust as needed */
    left: 100px; /* Adjust as needed */
    padding: 15px 30px; /* Adjust padding for larger size */
    font-size: 40px; /* Adjust font size for larger text */
    background-color: rgb(158, 225, 158);
    width: 100px;
    height: 70px;
    font-weight: normal;

}

#cashout-btn {
    position: absolute;
    background-color: rgb(220, 133, 133);
    bottom: 150px; /* Adjust as needed */
    right: 100px; /* Adjust as needed */
    padding: 15px 30px; /* Adjust padding for larger size */
    font-size: 40px; /* Adjust font size for larger text */
    width: 100px;
    height: 70px;
    
}

#delete-btn {
    position: absolute;
    bottom: 20px; /* Adjust as needed */
    right: 40px; /* Adjust as needed */
    background-color: rgb(211, 206, 206);
    width: 150px;
    height: 40px;
    border: black;
    border-radius: 20px;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 15px;
}

.button-labels {
    color: black;
    position: absolute;
    bottom: 120px; /* Adjust as needed */
    left: 100px;
}

.button-label {
    display: inline-block;
    margin-top: 1px; /* Adjust as needed */
}

.button-label + .button-label {
    margin-left: 88px; /* Adjust as needed */
}

.balance-container {
    color: black;
    position: absolute;
    top: 230px; /*modified from 235 to 335*/
    left: 40px;
}

/*Start of practice mode*/

#fullscreen-requirement {
    visibility: hidden;
    z-index: 101;
    position: absolute;
    width: 95%;
    left: 50%;
    transform: translateX(-50%);
    top: 60px;
    bottom: 10px;
    border: 2px solid black;
    background-color: rgba(0, 0, 0, 0.5);
    margin: 10px 2.5% 2.5% 10px;
}

#fullscreen-requirement p {
    color: white;
    font-size: xx-large;
    text-align: center;
}

.green-felt, .green-felt-blank {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.green-felt {
    background-image: url(images/background-practice.jpg);
}

.green-felt-blank {
    background-image: url(images/felt-green.png);
}

.purple-felt, .purple-felt-blank {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.purple-felt {
    background-image: url(images/background-campaign.jpg);
}

.purple-felt-blank {
    background-image: url(images/felt-purple.png);
}

.red-felt {
    background-image: url(images/background-classic.jpg);
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.header-content.inception {
    width: 150px;
}

.balance {
    font-size: 22px;
}

#fullscreen {
    width: 4%;
    position: absolute; 
    top: 55px; 
    left: 5px; 
    z-index: 102;
    transition: transform 0.3s ease;

}

#fullscreen:hover {
    transform: scale(1.1);
}

#selectedHand {
    width: 130px; 
    height: 130px; 
    border-radius: 50%; 
    border: 3px solid white; 
    position: absolute; 
    z-index: 99; 
    transform: translate(-50%, -50%);
    pointer-events: none;
}

#info, #mute {
    position: absolute;
    top: 10px;
    width: 30px;
    height: 30px;
    z-index: 100;
}

@keyframes slideDown {
    from {
        transform: translateY(-200%);
    }
    to {
        transform: translateY(0);
    }
}

.slideDown {
    animation: slideDown 1s ease-out; /* Adjust the duration and easing as desired */
}

@keyframes slideUp {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-200%);
    }
}
.slideUp {
    animation: slideUp 0.5s ease-out;
}


#info:hover, #mute:hover {
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
}

#info img, #mute img {
    width: 100%;
}

#info {
    left: 70px;
}

#mute {
    left: 110px;
}

.draggable {
    cursor: grab;
}

.popup-container.active, .modal-overlay.active {
    visibility: visible;
}

.modal-overlay {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* Dark background */
    visibility: hidden;
    z-index: 99; /* Ensure it’s below the popup but above everything else */
}

.popup-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 130px;
    background: none;
    position: fixed;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    visibility: hidden;
    z-index: 100;
}

.popup {
    background: rgba(0, 0, 0, 0.8);
    padding: 8px;
    border-radius: 8px;
    text-align: left;
    width: 100%;
    height: 100%;
    position: relative;
}

#feed {
    position: absolute;
    z-index: 99;
    top: 100px;
    left: -5px;
    width: 300px;
    height: 100px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid white;
    border-radius: 5px;
}

#feed p {
    color: whitesmoke;
    font-size: small;
    margin-left: 10px;
}

@keyframes dealAndSpin {
    0% {
        transform:  translateY(-100vh) translateX(-50%) rotate(0deg);
    }
    100% {
        transform:  translateY(0) translateX(-50%) rotate(720deg);
    }
    
}

.card {
    position: absolute;
    width: 60px;
    height: 80px;
    transition: all 1s ease-out;
    transform: translate(-50%,-50%);
    animation: dealAndSpin 1s ease-out forwards;
    left: 50%; /* Position the card horizontally centered */
    transform-origin: center; /* Ensure the card rotates around its center */
}

@keyframes dealAndSpinDouble {
    0% {
        transform: translateY(-100vh) translateX(-50%) rotate(0deg);
    }
    100% {
        transform: translateY(0) translateX(-50%) rotate(810deg);
    }
}

.card-double {
    position: absolute;
    width: 60px;
    height: 80px;
    transition: all 1s ease-out;
    transform: translate(-50%,-50%);
    animation: dealAndSpinDouble 1s ease-out forwards;
    left: 50%;
    transform-origin: center;
}

@keyframes winInsurance {
    from {
        transform: translateY(-90vh);
    }
    to {
        transform: translateY(0);
    }
}

.insurance-chip-won {
    animation: winInsurance 2s forwards !important;
}

@keyframes loseInsurance {
    from {
        transform: translateY(-90vh);
    }
    to {
        transform: translateY(-190vh);
    }
}

.insurance-chip-lost {
    animation: loseInsurance 2s forwards !important;
}

@keyframes slideToHand {
    0%{
        transform: translateY(-100vh);
    }
    100%{
        transform: translate(var(--x-offset), var(--y-offset)); /* Use CSS variables for dynamic offsets */
    }
}

.chip-to-hand {
    animation: slideToHand 1s forwards;
}

@keyframes slideToHandDouble {
    from {
        /*nothing*/
    }
    to {
        transform: translateY(-90vh);
    }
}

.chip-to-hand-double {
    animation: slideToHandDouble 1s forwards;
}

@keyframes slideToDealer {
    0% {
        /*nothing?*/
    }
    100% {
        transform: translateY(-100vh);
    }
}

.chip-to-dealer {
    animation: slideToDealer 1s linear forwards;
}

@keyframes slideToPlayer {
    0% {
        /*nothing*/
    }
    100% {
        transform: translateY(100vh);
    }
}

.chip-to-player {
    animation: slideToPlayer 1s linear forwards;
}

@keyframes slideToPlayerSurrender {
    0% {
        /*nothing*/
    }
    100% {
        transform: translateY(200vh);
    }
}

.chip-to-player-surrender {
    animation: slideToPlayerSurrender 2s linear forwards;
}

@keyframes showGameInfo {
    0% {
        
    }
    100% {
        left: 0px;
    }
}

.show-game-info {
    animation: showGameInfo 1s ease-out forwards;
}

@keyframes hideGameInfo {
    0% {
        left: 0px;
    }
    100% {
        
    }
}

.hide-game-info {
    animation: hideGameInfo 1s ease-out forwards;
}

.popup p {
    color: white;
    margin-top: 0;
    margin-bottom: 8px;
}

.popup-header {
    display: flex;
}

.popup-body p {
    font-size: 15px;
}

.popup-footer {
    position: absolute;
    right: 8px;
    top: 120px;
}

.popup-footer p {
    font-size: 12px;
}

.close-button {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

.close-button:hover {
    font-weight: bold;
}

.action-button, .clear-button {
    visibility: hidden;
    position: absolute;
    margin: 10px;
    z-index: 100;
    width: 80px;
    height: 100px;
    transition: transform 0.3s ease;
}

.button-moving-in {
    transform: translateX(-200%);
}

.button-moving-out {
    transform: translateX(200%);
}

.action-button img, .clear-button img, #rebet img {
    width: 100%;
}

.action-button p, .clear-button p, #rebet p {
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0;
    color: white;
    font-weight: bold;
}

.clear-button p {
    font-size: small;
}

.continue-button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: green;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#rebet {
    visibility: hidden;
    position: absolute;
    margin: 10px;
    z-index: 100;
    width: 80px;
    height: 100px;
    bottom: 10px;
    left: 120px;
}

.action-button:hover, .clear-button:hover, #rebet:hover {
    transform: scale(1.08);
}

.display-wager {
    visibility: hidden;
    z-index: 100;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    transform: translate(-50%, -50%);
    width: 100px;
    height: 40px;
    border-radius: 4px;
    border: 2px solid gold;
}

.display-wager img {
    position: absolute;
    height: 90%;
    top: 5%;
    right: 5%;
}

.display-wager p {
    text-align: left;
    color: gold;
    margin: 0px auto;
    position: absolute;
    top: 50%;
    right: 42%;
    transform: translateY(-50%);
}

#tip {
    top: 30%;
    left: 50%;
    width: 200px;
}

#tip span {
    text-align: center;
    color: wheat;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
}

#hit {
    right: -60px;
    top: 50px;
}

#stand {
    right: -160px;
    top: 50px;
}

#double {
    right: -60px;
    top: 170px;
}

#split {
    right: -160px;
    top: 170px;
}

#surrender {
    right: -160px;
    top: 290px;
}

#surrender p {
    position: absolute;
    right: 10px;
}

.insurance-button {
    position: absolute;
    z-index: 100;
    width: 100px;
    text-align: center;
    display: block;
    visibility: hidden; 
    background-color: rgba(100, 100, 100, 0.8);
    color: white;
    padding: 10px;
    border: 5px solid orange;
    height: 60px;
    width: 80px;
    transform: translateX(-50%);
}

.insurance-button p {
    margin: 0px;
    font-size: large;
}

#hand-1-insurance { top: 150px; left: 20%; }
#hand-2-insurance { top: 150px; left: 40%; }
#hand-3-insurance { top: 150px; left: 50%; }
#hand-4-insurance { top: 150px; left: 60%; }
#hand-5-insurance { top: 150px; left: 80%; }

.insurance-button img {
    width: 50%;
}

#deal {
    position: absolute;
    visibility: hidden;
    bottom: 10px;
    left: 20px;
    z-index: 100;
    width: 100px;
    transition: transform 0.3s ease;

}

#deal:hover {
    transform: scale(1.08);
}

#deal img {
    width: 100%;
    border-radius: 50%;
    border: 2px dashed white;
}

#deal p {
    margin: 0;
    padding: 0;
    text-align: center;
    color: white;
    font-weight: bold;
}

#clear-hand {
    right: 100px;
    bottom: 20px;
}

#clear-all {
    right: 0px;
    bottom: 20px;
}

.display-hand-score {
    visibility: hidden;
    z-index: 100;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%);
    height: 40px;
    border-radius: 4px;
    border: 2px solid white;
    padding: 0px 10px 0px;
}

.display-hand-score p {
    color: gold;
    margin: 9px auto;
}

/* index.html - CAYDEN DESHON */


.play-div {
    height: 500px;
    justify-content: center;
    align-items: center;
    display: flex;
}
.play-button {
    max-width: 100px;
    /* height: 100px; */
    border-radius: 50%;
    border: none;
    background: url("images/Playbutton.png") no-repeat center center;
    background-size:cover;
    cursor: pointer;
    outline: none;
    transition: transform 0.3s ease;
    padding: 8%;
    position: absolute;
    top: 40%; 
    left: 50%; 
    transform: translate(-50%, -50%);  
    width: 20%; 
    height: auto; 
}
.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

#end-game-modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
    z-index: 200; /* Ensures it's on top */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: rgb(255,215,0);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 60%;
    max-width: 400px; /* Adjust based on your preference */
}

.modal-button {
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #007BFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

#game-objective {
    background-color: black;
    color: white;
    padding: 10px;
    position: absolute;
    top: 300px; /* Adjust based on the height of the accuracy score box + a small gap */
    left: -278px;
    width: 280px; /* Match the width of the accuracy score box */
    font-size: 14px;
    text-align: left;
    z-index: 100; /* Ensure it's above other elements but below popups if any */
}

.game-objective-title {
    font-size: 16px;
    text-decoration: underline;
    margin-bottom: 5px; /* Spacing between title and content */
    text-align: center;
}

#instructionsArrow {
    position: absolute;
    top: 4px;
    right: 4px;
    margin: 0px;
    padding: 0px 4px;
    background-color: green;
    border-radius: 5px;
    font-weight: bolder;
    cursor: pointer;
}

.deposit-button {
    background-position: center;
    background-color: rgba(14, 109, 47, 0.5);
    color: black;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    font-weight: bolder;
    font-family: 'Inter';
    transition: transform 0.3s ease;
    border-radius: 10px;

    width: 100px;
    height: 50px;
    margin: 30px;


  

    position: absolute;
    bottom: 25%;
    left: 37%;
    transform: translate(-50%, -50%);

}

.withdraw-button {
    background-position: center;
    background-color: rgba(255, 70, 70, 0.6);
    color: black;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    font-family: 'Inter';
    border-radius: 10px;
    font-weight: bolder;
    height: 50px;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers perfectly */
}

.admin-button {
    background-position: center;
    background-color: rgba(70, 255, 70, 0.6);
    color: black;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    font-family: 'Inter';
    border-radius: 10px;
    font-weight: bolder;
    height: 50px;
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers perfectly */
}

#players-table-wrapper {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: calc(100vh - 200px); /* Ensures table wrapper is large */
    overflow-y: auto; /* Enables scrolling when there are many rows */
    display: flex;
    flex-direction: column;
}

#players-table {
    width: 100%;
    min-height: 100%; /* Makes sure the table takes the full height */
    border-collapse: collapse;
    border: 4px solid goldenrod;
    font-family: system-ui;
}

#players-table tr:nth-child(odd) {
    display: flex;
    width: 100%;
    background-color: lightgray;
    height: 50px; /* Fixes row height */
}

#players-table tr:nth-child(even) {
    display: flex;
    width: 100%;
    background-color: burlywood;
    height: 50px;
}
 
#players-table th, #players-table td {
    flex: 1;
    text-align: left;
    padding: 12px 15px;
    align-items: center;
}

#players-table th {
    background-color: whitesmoke;
    font-weight: bolder;
}

div.banner::before { 
    content: url("images/banner.png");

    /* positioning */
    position: absolute;
    top: 85%; 
    left: 50%; 
    transform: translate(-50%, -50%) scale(0.8);    
}

@keyframes whiskCards {
    to {
        transform: translate(100vw, -85vh); /* Move to the lower right corner */
        opacity: 0; /* Fade out */
    }
}

.card-whisked {
    animation: whiskCards 2s ease forwards; /* Apply the animation */
}


@media screen and (max-width: 768px) {
    .play-div {
        height: 210px; /* height of withdraw, deposit, and banner */
        padding: 30px 0; /* Add some vertical padding */
    }
    .play-button {
        width: 100%; /* sets width to max */
        aspect-ratio: 1 / 1; /* Ensures the element stays circular */
        max-width: 150px; /* max size of button */
        border-radius: 50%; /* Ensures the border of the button is fully rounded */
        border: none;
        background: url("images/Playbutton.png") no-repeat center center;
        background-size: cover;
        cursor: pointer;
        outline: none;
        transition: transform 0.3s ease;
    
        /* Adjust positioning for responsiveness */
        margin-top: -40px; /* Moves the button down */
        margin-left: auto;
        margin-right: auto;
        display: block; /* Ensure it's treated as a block-level element for margin auto to work */
    }

    .withdraw-button, .deposit-button {
        width: 60%; /* width of buttons */
        height: auto; /* Adjust height automatically */
        padding: 8%; /* adjust vertical size of buttons */
        margin: 10px auto; /* space between buttons */
        position: relative; /* Change position to relative for stacking */
        left: 50%; /* Center align */
        transform: translateX(-50%); /* Adjust translate to only affect X axis */
    }

    .banner-container {
        padding-top: 30px;
    }

    div.banner::before {
        content: url("images/banner_small.png");
        /* Adjust the size of the banner image */
        background-size: contain; /* Makes the background image fully contained within the div, resizing as needed */
        width: 100%; /* Adjust the width of the pseudo-element to take the full width of its parent */
        position: relative; /* Adjust position if needed */
        top: 10; /* Reset top position */
        left: 0; /* Reset left position */
        transform: translate(0, 0); /* Reset transform properties if they were previously set */
    }

}

/* index.html - CAYDEN DESHON */

/* LOADING BUTTON - CAYDEN DESHON */


body, html {
    height: 100%;
    margin: 0;
}

.loading-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(245, 245, 245, 0.71);
    flex-direction: column; /* Align children vertically */
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-info {
    display: flex;
    align-items: center; /* This aligns the GIF and text vertically */
    margin-top: 20px; /* Adjust as needed to space below the poker chip */
}

.loading-gif {
    width: 70px; /* gif size */
    height: auto;
    margin-right: -30px; /* pulls gif and text to the right */
    margin-top: 15px; /* move dots down */
}

.loading-text {
    font-size: 24px; 
    color: #000; 
    font-family: Georgia, 'Times New Roman', Times, serif; /* change to jsMath-cmti10 */
    margin-right: -20px; /* distance between gif and text */
}

.poker-chip {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    animation: flip 1.5s infinite; 
}

@keyframes flip {
    0% {
        transform: rotateY(0);
    }
    50% {
        transform: rotateY(180deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

#level-num {
    z-index: 100;
    position: absolute;
    padding: 0px;
    margin: 0px;
    font-size: 20px;
    left: 200px;
    top: -6px;
}

/* END LOADING SCREEN - CAYDEN DESHON */
