@media screen and (max-height: 640px) {
  .container.container-single{
    padding-top: 3px !important;
  }
}
#gamebox {
  width: 750px;
  height: 440px;
  background-color: #161c1c;
  border: 2px solid #313131;
  padding: 0;
  margin: 0px;
  position: relative;
}
#scoreAndTime {
  width: 600px;
  height: 30px;
}

#gameArea {
  width: 750px;
  /*height: 480px;*/
  height: 370px;
  position: relative;
}
#imgAndScore {
  padding: 5px 10px;
  height: 26px;
  background: #888;
  border-radius: 8px;
  position: absolute;
  top: 396px;
  width: 100%;
  height: 40px;
  color: #000;
}

#scoreBoard {
  position: absolute;
  top: 5px;
  left: 10px;
  font-size: 24px;
  color: #fff;
}

#remain{
  position: absolute;
  right: 60px;
  top: 5px;
  /*padding: 5px 5px 0px 0px;*/
  padding: 0px 5px 0px 0px;
  font-size: 24px;
  color: #fff;
}
#timer {
  position: absolute;
  left: 700px;
  top: 5px;
  color: red;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  /*padding:  5px 10px 0px 0px;*/
  padding:  0px 10px 0px 0px;
}

.fruit {
  animation: popIn 0.5s ease;
}

#collector {
  width: 50px; /* Assuming your image is 50x25 pixels */
  height: 25px;
  background-image: url('/play/images/fruit-collect/collector.png');
  background-size: cover;
  position: absolute;
}

#gameover {
  position: absolute;
  display: none;
  top: 0px;
  left: 0px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  text-align: center;
  vertical-align: middle;
  position: absolute;
  background-color: rgba(22, 28, 28, 0.95);
  z-index: 2;
}
#gameover #msg {
  font-family: Arial;
  font-size: 36px;
  color: red;
  margin: 0 auto;
  /*margin-top: 200px;*/
  margin-top: 120px;
  font-weight: bold;
}

#gameover #scoreGameOver {
  font-family: Arial;
  font-size: 36px;
  color: #fff;
  margin: 0 auto;
  margin-top: 20px;
  font-weight: bold;
}

#gameover #restartbtn {
  display: block;
  margin: 16px auto;
  /*width: 120px;*/
  width: 160px;
  padding: 5px;
  margin-top: 30px;
  background-color: #00BB00;
  font-family: Arial;
  /*font-size: 24px;*/
  font-size: 36px;
  color: red;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
}

@keyframes popIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.collected {
  animation: popOut 0.5s ease forwards;
}

@keyframes popOut {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(0);
    opacity: 0;
  }
}
