*{
    margin: 0;
    padding: 0;
}
html, body{
    height: 100%;
}
body{
    /* font-family: Arial, Helvetica, sans-serif; */
    font-family: 'Press Start 2P', cursive;
    background-color: #3a8100;
    color: #fff;
    overflow: hidden;

}
.container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.heading{
    font-size: 3em;
    margin: .5em 0;
    color:#e6cc22;
    -webkit-text-stroke: 2px rgb(16, 15, 15);
    text-align: center;
}
.board{
    /* border: 2px solid red; */
    height: 500px;
    width: 500px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 40px;
}
.hole{
    background-color: rgb(165, 85, 11);
    border-radius: 50%;
    box-shadow: inset 0 10px 0 7px rgb(53, 21, 6),
                inset 0 20px 20px 15px rgba(0, 0, 0, .3),
                0 0 5px rgba(0, 0, 0, .5);
    position: relative;
    overflow: hidden;
    /* width: 130px; */
    /* height: 130px; */
}
.hole .mole{
    width: 70%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    animation: rise .3s ease-out;
}
@keyframes rise {
    0%{
        transform: translateX(-50%) translateY(100%);
    }
    100%{
        transform: translateX(-50%) translateY(0);
    }
}

.cursor{
    height: 110px;
    width: 100px;
    position: absolute;
    top: 100px;
    left: 100px;
    background-image: url('assets/hammer.png');
    background-size: 100% 100%;
    transform: translate(-80%, -20%);
    transition: transform .1s;
    pointer-events: none;
}
.cursor.active{
    transform: translate(-80%, -20%) rotate(45deg);
}
.footer{
    /* border: 2px solid red; */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
    margin-top: 1em;
    flex-wrap: wrap;
    /* color: #ccc; */
}
.score{
    font-size: 2em;
}
.level{
    font-size: 2em;
}
.footer span{
    /* color:#e6cc22 */
    color: #302407;
    -webkit-text-stroke: 0px #302407;

}
/* span{
    color:#48370f
} */
.footer{
    color: #e6cc22;
    -webkit-text-stroke: 2px rgb(16, 15, 15);

}
@media (max-width: 500px) {
    .board{
        /* border: 2px solid red; */
        height: 300px;
        width: 300px;
        gap: 10px;
    }
    .heading{
        font-size: 3em;
    }
}
