body {
    font-family: Arial, sans-serif;
    text-align: center;
  
}

#gameImage {
    margin: 20px auto;
    display: block;
    border: 2px cadetblue solid;
}



#gameControls {
    display: none;
    padding: 20px;
}

#gameBoard {
    display: grid;
    grid-template-columns: repeat(7, 50px);
    grid-gap: 5px;
    justify-content: center;
    margin-top: 20px;
}

.cell {
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    border-radius: 50%;
}

.player1 {
    background-color: red;
    animation: dropPlayer1 1s ease-in-out forwards;
}

.player2 {
    background-color: yellow;
    animation: dropPlayer2 1s ease-in-out forwards;
    
}

.player3 {
    background-color: blue;
    animation: dropPlayer3 1s ease-in-out forwards;
}

.player4 {
    background-color: green;
    animation: dropPlayer4 1s ease-in-out forwards;
}

@keyframes dropPlayer1 {
    0% {
        transform: translateY(-500px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes dropPlayer2 {
    0% {
        transform: translateY(-500px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes dropPlayer3 {
    0% {
        transform: translateY(-500px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes dropPlayer4 {
    0% {
        transform: translateY(-500px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes rise {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-500px);
    }
}
button {
    padding: 15px 25px;
    border: unset;
    border-radius: 15px;
    color: #212121;
    z-index: 1;
    background: #e8e8e8;
    position: relative;
    font-weight: 1000;
    font-size: 17px;
    -webkit-box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
    box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
    transition: all 250ms;
    overflow: hidden;
   }
   
   button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    border-radius: 15px;
    background-color: #212121;
    z-index: -1;
    -webkit-box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
    box-shadow: 4px 8px 19px -3px rgba(0,0,0,0.27);
    transition: all 250ms
   }
   
   button:hover {
    color: #e8e8e8;
   }
   
   button:hover::before {
    width: 100%;
   }
