html, body {
    height: 100%;
    width: 100%;
}
body {
    margin: 0;
    background-image: url('../image/bg.jpg');
    cursor: default;
}
.info_btns {
    background: rgba(51, 51, 51, 0.5);
    cursor: default !important;
}
.grade_time {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: default;
}
.gt {
    width: 50%;
    text-align: center;
    font-size: 1.4em;
    padding: 5px 0;
    color: #ddd;
}
#time,#grade {  
    color: rgb(95, 7, 95);
    font-weight: bold;
}
.btn_div {
    display: flex;
    justify-content: center;
    align-items: center;
}
.inner_btn_div {
    width: 50%;
    padding: 10px 0 5px;
}
.inner_btn_div p {
    margin: 0 auto;
    color: #fff;
    font-size: 1em;
    width: 80px;
    text-align: center;
    padding: 5px 10px;
    cursor: pointer;
    background: rgba(92, 245, 87, 0.5);
    border-radius: 8px;
}

.inner_btn_div .beginBtn {
    background: rgba(243, 92, 92, 0.7);
    color: rgb(231, 233, 236);
}

#gameInfo {
    cursor: pointer;
}
.main {
    margin: 10px auto 20px;
}
.changeCursor {
    cursor: url('../image/cursor.png'), auto;
}
.row {
    display: flex;
    flex-wrap: wrap;
}
.col {
    width: 25%;
    background-image: url(../image/hole.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    text-align: center;
    box-sizing:border-box;
    position: relative;
}
img {
    width: 60px;
    height: 0;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}

/* 地鼠上升 */
.mouseup {  
    animation: up 0.3s linear;
    animation-fill-mode: forwards;
}

/* 地鼠下降 */
.mousedown {  
    animation: down 0.1s linear;
    animation-fill-mode: forwards;
}

#moreGame {
    font-size: 1.4em;
    font-family: 楷体;
    text-align: center;
    margin-top: 50px;
    font-weight: bold;
    color: rgb(33, 138, 47);
    cursor: pointer !important;
}
#moreGame:hover {
    opacity: .8;
    text-decoration: underline;
}

@media (max-width: 320px) {
    .col {
        height: 50px;
        width: 25%;
        background-size: 100%;
    }
    img {
        width: 35px;
    }
    @keyframes up {
        0% {
            height: 0;
        }
        100% {
            height: 35px;
        }
    }
    
    @keyframes down {
        0% {
            height: 30px;
        }
        100% {
            height: 0;
        }
    }

}
@media (min-width: 320px) and (max-width: 460px) {
    .col {
        height: 60px;
        width: 25%;
        background-size: 80px;
    }
    img {
        width: 50px;
    }
    @keyframes up {
        0% {
            height: 0;
        }
        100% {
            height: 40px;
        }
    }
    
    @keyframes down {
        0% {
            height: 40px;
        }
        100% {
            height: 0;
        }
    }
}
@media (min-width: 460px) and (max-width: 768px) {
    .main {
        width: 90%;
    }
    .col {
        height: 80px;
        width: 25%;
        background-size: 100px;
    }
    img {
        width: 60px;
    }
    @keyframes up {
        0% {
            height: 0;
        }
        100% {
            height: 50px;
        }
    }
    
    @keyframes down {
        0% {
            height: 50px;
        }
        100% {
            height: 0;
        }
    }
}
@media (min-width: 768px) and (max-width: 1080px) {
    .main {
        width: 60%;
    }
    .col {
        height: 80px;
        width: 25%;
        background-size: 120px;
    }
    img {
        width: 70px;
    }
    @keyframes up {
        0% {
            height: 0;
        }
        100% {
            height: 60px;
        }
    }
    
    @keyframes down {
        0% {
            height: 60px;
        }
        100% {
            height: 0;
        }
    }
}

@media (min-width: 1080px) {
    .main {
        width: 60%;
    }
    .col {
        height: 120px;
        width: 25%;
        background-size: 160px;
    }
    img {
        width: 100px;
    }
    @keyframes up {
        0% {
            height: 0;
        }
        100% {
            height: 80px;
        }
    }
    @keyframes down {
        0% {
            height: 80px;
        }
        100% {
            height: 0;
        }
    }
}




