body, html {
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    font-size: 16px;
    background-color: #f0f0f0;
}

#gameContainer {
    text-align: center;
}

#play2x, #fold {
    margin-bottom: 1em;
    font-size: 1em;
    padding: 0.5em 1em;
    cursor: pointer;
}

#dealer, #board, #player {
    display: flex;
    justify-content: center;
    gap: 0.5em;
    margin-bottom: 2em;
}

#handEV, #handInfo {
    margin-bottom: 1em;
    font-size: 1em;
    height: 0.5em;
    padding: 0px 1em;
}

#handInfo {
    height: 1.5em; /* Set a fixed height */
    overflow: hidden; /* Hide any content that overflows */
    opacity: 0; /* Make the content invisible */
    transition: opacity 0.5s ease; /* Smooth transition for visibility */
}
#handInfo.visible {
    opacity: 1; /* Make the content visible */
}

.card {
    width: 5em; /* Adjust based on your images */
    height: 7em; /* Adjust based on your images */
    background-size: cover;
}

.other .card {
    margin-top: 0.5em;
    margin-right: 2em;
}

.label {
    width: 5em;
    text-align: center;
    margin-top: 0.5em;
}

#links {
    margin-top: 5em;
}

#infoBox, #strategyBox {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

#strategyBox {
    width: 600px;
}

.hidden {
    display: none;
}

#infoContent, #strategyContent {
    position: relative;
}

#closeBtn, #closeStrategy {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}



label {
    margin-right: 10px;
}

/* Unvisited link */
a:link {
  color: #007bff; /* Blue color for links */
  text-decoration: none; /* Removes underline from links */
  transition: color 0.3s ease-in-out; /* Smooth color transition */
}

/* Visited link */
a:visited {
  color: #5a5a5a; /* Dark grey color for visited links */
}

/* Hover link */
a:hover {
  color: #ff4500; /* Orange color when mouse hovers over link */
  text-decoration: underline; /* Adds underline on hover for emphasis */
}

/* Active link */
a:active {
  color: #0336ff; /* Different color when link is clicked */
}
