@media screen and (max-height: 640px) {
    .container.container-single{
        padding-top: 3px !important;
    }
}
#gamebox {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  /*height: 600px;
  width: 460px;*/
  height: 440px;
  width: 750px;
  background-color: #000;
  position: relative;

}
canvas {
    background-color: #161c1c;
    border: 2px solid #313131;
}

#score {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 20px;
    color: #fff;
}

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    /*height: 600px;
    width: 460px;*/
    height: 440px;
    width: 750px;
    background-color: rgba(22, 28, 28, 0.95);
    color: white;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

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


.gameover {
    font-size: 22px;
}

.yscore {
    font-size: 20px;
    color: red;
    margin: 20px 0px 10px 0px;
}

#finalScore {
    font-weight: bold;
}