body{
    text-align: center;  
}
button{    
    margin: 10px;
    padding: 0.25em 0.75em;
    border-radius: 25%;
    font-size: 1em;
    font-style: bold; 
    border-color: aliceblue;
 }  
 .gameContainer{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    /* 2. Set your height limit */
    max-height: 70vh; 
    /* 3. Calculate max-width to maintain 7:6 ratio (70 * 1.166) */
    max-width: 70vh;
     
    margin: 0 auto; 
    padding: 10px;
    gap: 1vh;
    background-color: rgb(0, 148, 62);
    
 }

#board {
    display: grid;
    grid-template-columns: repeat(7, 1fr); 
    grid-template-rows: repeat(6, 1fr);
    
    gap: 8px; 
    padding: 10px;
    margin: 0 auto;
    background-color: blue;
    border-radius: 20px;

    
    width: 90%;
    min-height: fit-content; 
    aspect-ratio: 7 / 6;
    
 
    overflow: hidden;
}
#cursor-piece{ 
    width: calc((92% /7) - 10px);
    
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    transform: none;
    /* transform:  translateX(-50%); */
}

.tile {
    background-color: white;
    border-radius: 50%; 
    width: 100%; 
    aspect-ratio: 1/1;
    position: relative;
}
.piece {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    aspect-ratio: 1/1;
    border-radius: 50%;
}
.red-piece{
    background-color: red;
}
.yellow-piece{
    background-color: yellow;
}
@keyframes drop {
    0% { transform: translateY(-100vh); }
    100% { transform: translateY(0); }
}
.dropping{
    animation: drop 0.3s ease-in forwards;
} 