/* style.css */
body {
    font-family: Arial, sans-serif;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.square {
    width: 100px;
    height: 100px;
    background-color: lightgreen;
    background-image: url('../img/hole.png'); /* Add your hole image URL here */
    background-size: cover;
    background-position: center;
    border: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.hole {
    width: 100px;
    height: 100px;
    background-image: url('../img/hole.png'); /* Add your hole image URL here */
    background-size: cover;
    background-position: center;
}

.mole {
    width: 100px;
    height: 100px;
    background-image: url('../img/mole.png'); /* Add your mole image URL here */
    background-size: cover;
    background-position: center;
    animation: appear 0.3s ease-out;
}

.hit {
    animation: hit 0.1s ease-out;
}

@keyframes hit {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

#startButton {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

.timer {
    margin-top: 20px;
    font-size: 18px;
}

.sound-control {
    position: absolute;
    top: 20px;
    right: 20px;
}

#volumeDown,
#volumeUp {
    font-size: 20px;
    margin: 5px;
    cursor: pointer;
}

.scoreboard {
    margin-top: 20px;
    display: none; /* Initially hide the scoreboard */
}

table {
    margin: 0 auto;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #000;
    padding: 5px 10px;
}

th {
    background-color: #f2f2f2;
}
