@media screen and (max-height: 640px) {
    .container.container-single{
        padding-top: 3px !important;
    }
}
#gamebox {
    width: 750px;
    height: 440px;
    margin: 0;
    padding: 0;
    background-color: #161c1c;
    border: 2px solid #313131;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

#game-header{
    width: 100%;
    height: 40px;
    font-size: 24px;
    font-family: Arial;
    color: #fff;
    position: relative;
    margin: 2px;
}
#score{
    float: left;
    width: 150px;
    text-align: left;
    padding-left: 5px;
}
#time{
    float: right;
    width: 160px;
    text-align: left;
}
#scorev, #timer {
    color: red;
    font-weight: bold;
}
#timer{
    position: absolute;
    left: 690px;
}

#game-board {
    display: flex;
    justify-content: center;
    height: 390px;
    width: 100%;
    background-color: #111;
}

#gameover{
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}
#gameover p.msg {
    font-family: Arial;
    font-size: 36px;
    color: grey;
    margin: 0 auto;
    margin-top: 80px;
    text-align: center;
}
#tryagainbtn, #nextlevelbtn, #resetbtn {
    display: block;
    width: 160px;
    padding: 6px;
    background-color: #00BB00;
    font-family: Arial;
    font-size: 24px;
    color: red;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}
#tryagainbtn {
    margin: 16px auto 16px;
}
#nextlevelbtn {
    margin: 16px auto;
}
#resetbtn {
    margin: 16px auto;
}
#tryagainbtn:hover {
    background-color: #9f8b77;
}
#nextlevelbtn:hover{
    background-color: #9f8b77;
}
#resetbtn:hover {
    background-color: #9f8b77;
}
