* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Verdana', sans-serif;
    ;
    background-color: #f9f9f9;
    padding: 2rem;
    line-height: 1.6;
    text-align: center;
}

#userImput {

    font-family: 'Verdana', sans-serif;
    ;
    background-color: white;

    font-size: 1rem;
    border-radius: 2rem;
    padding: 1rem;
    text-align: center;
    max-width: 10rem;
    margin: 0 auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;

}

#userImput:hover {
    transform: translateY(-4px);
}

#gameboard {
    display: grid;
    grid-template-columns: repeat(3, 50px);
    gap: 5px;
    margin: 0 auto;
    max-width: 170px;
    background-color: rgb(205, 204, 204);
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgb(205, 204, 204);


}

.card {
    height: 50px;
    width: 50px;
    font-size: 26px;
    border-radius: 10px;
    border: none;
    background-color: #f9f9f9;
    transition: transform 0.2s ease;

}

.card:hover {
    transform: translateY(-2px);
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-2px);
    }

    40% {
        transform: translateX(2px);
    }

    60% {
        transform: translateX(-2px);
    }

    80% {
        transform: translateX(2px);
    }

    100% {
        transform: translateX(0);
    }
}

.shake {
    animation: shake 0.4s;
}


#status {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;

}

#player1Score,
#player2Score,
#playerTurn {

    background-color: white;

    font-size: 1rem;
    border-radius: 2rem;
    padding: 1rem;
    text-align: center;
    width: 10rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

#playerTurn {
    background-Color: #fcf67e;
    width: 15rem;
}

#player1Score {
    background-color: rgb(250, 248, 105);

}

#player2Score {
    background-color: rgb(105, 221, 250);

}