@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-container {
    display: flex;
    flex-direction: column;
    height: 410px;
    width: 100%;
}

#game-header{
    width: 100%;
    font-size: 20px;
    font-family: Arial;
    padding: 10px;
    z-index: 2;
    background: #333;
    color: #fff;
    text-align: center;
    position: absolute;
    top: 0;
}

#score{
    float: left;
    width: 150px;
    text-align: left;
    padding-left: 5px;
}
#time{
    float: right;
    width: 115px;
    text-align: left;
}
#scorev, #timer {
    color: red;
    font-weight: bold;
}
#timer{
    position: absolute;
    left: 700px;
}

.balloon {
  position: absolute;
  width: 40px;
  height: 60px;
  background-color: red;
  border-radius: 50%;
  cursor: pointer;
  animation: float 4s linear infinite;
  align-content: center;
  text-align: center;
}

#balloons{
    position: relative;
    display: flex;
    justify-content: center; /* Centers content horizontally */
    align-items: center;
}

.points {
    font-size: 16px; /* Adjust text size */
    font-weight: bold;
    color: white;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-360px);
  }
}
#gameover{
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(22, 28, 28, 0.95);
}
#gameover p.msg {
    font-family: Arial;
    font-size: 36px;
    color: grey;
    margin: 0 auto;
    margin-top: 120px;
    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;
}
