@import url('https://fonts.googleapis.com/css2?family=Shadows+Into+Light&display=swap');

html {
    box-sizing: border-box;
    font-size: 10px;
    background-image: url("bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    padding: 0;
    margin: 0;
    font-family: 'Shadows Into Light', cursive;
}
.btn{
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
    padding: 10px;
    
}

.start {
    text-align: center;
    
}

h1 {
    text-align: center;
    font-size: 5rem;
    margin-bottom: 0;
    color: #fff;
    text-shadow: 2px 2px 4px #000;
}

.score {
    color: #fff;
    margin-top: 0;
    font-size: 5rem;
    text-align: center;
    text-shadow: 2px 2px 4px #000;
}

.game {
    width: 800px;
    height: 400px;
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    border: 5px solid #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 1);
}

.hole {
    flex: 1 0 33.33%;
    overflow: hidden;
    position: relative;
}

.hole:after {
    display: block;
    background: url(dirt.svg) bottom center no-repeat;
    background-size: contain;
    content: '';
    width: 100%;
    height: 70px;
    position: absolute;
    z-index: 2;
    bottom: -30px;
}

.mole {
    background: url('mole.svg') bottom center no-repeat;
    background-size: 50%;
    position: absolute;
    top: 100%;
    width: 100%;
    height: 100%;
    transition: all 0.4s ease;
}

.hole.up .mole {
    top: 0;
}

button {
    /* background: rgb(85, 19, 190); */
    /* border: 1px solid red; */
    font-size: 3rem;
    cursor: pointer;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: background 0.3s ease;
}
.start button{
    background-color: green!important;
}
.stop button{
    background-color: red!important;
}
button:hover {
    background: rgba(190, 19, 124, 0.5);
}

footer {
    /* gap:0px; */
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    /* bottom: 10px; */
    margin-top: auto;
    text-align: center;
    line-height: 0.5;
    padding: 0;
    /* font-size: 5px; */
}
footer a {
    color: white;
    text-decoration: none;
}
footer a:hover {
    color: rgb(38, 190, 190);
    text-decoration: underline;
}
footer p span {
    color: red;
}
