body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    
}

.game-container {
    /* border: 2px solid red; */
    position: relative;
    top: -0px;
    left: 0px;
    min-width: 397px; /* Adjusted width for mobile */
    max-width: fit-content;
    height: 100vh; /* Adjusted height for mobile */
    background-color: transparent;
   /* Hide overflow to fit within the container */
    text-align: center;
}

video{
    /* margin-top: 0; */
    rotate: 180deg;
}

h2{
    position: absolute;
    top: -15px;
    left: 70px;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
}
.score {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

h3{
    position: absolute;
    top: 105px;
    left: 50%;
    transform: translateX(-50%);
    color: rgb(255, 85, 85);
    font-size: 24px;
    font-weight: bold;
}

.balloon {
    position: absolute;
    background-image: url("./falak.png");
    background-repeat: no-repeat;
    background-size: cover;
    width: 140px;
    height: 185px;
    /* border: 3px solid red; */
    padding: 0px;
    bottom: 160px;
    left: 50%;
    transform: translateX(-50%);
    transition: left 0.5s ease-out;
}
.balloon-out {
    position: absolute;
    background-image: url("./falak-out.png");
    background-repeat: no-repeat;
    background-size: cover;
    width: 140px;
    height: 185px;
    /* border: 3px solid red; */
    padding: 0px;
    bottom: 160px;
    left: 50%;
    transform: translateX(-50%);
    transition: left 0.5s ease-out;
}

button {
    margin: 10px;
    font-size: 16px;
}

.btn-control-l{
    position: absolute;
    left: 130px;
    bottom: 90px;
    border: 2px solid #786868;
    border-radius: 9px;
    padding: 12px 18px;
    background: white;
    border: none;
}
.btn-control-r{
    position: absolute;
    right: 120px;
    bottom: 90px;
    border: 2px solid #786868;
    border-radius: 9px;
    padding: 12px 18px;
    background: white;
    border: none;
}
.btn-control-up{
    position: absolute;
    right: 145px;
    bottom: 58px;
    border: 2px solid #786868;
    border-radius: 9px;
    padding: 12px;
    background: white;
}


.stone {
    position: absolute;
    /* border: 3px solid red; */
    background-image: url("./cloud.png");
    background-repeat: no-repeat;
    background-size: cover;
    width: 120px;
    height: 60px;
    top: 0;
    left: 0;
    animation: moveStone linear infinite;
}

@keyframes moveStone {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(100vh);
    }
}

.background {
    position: absolute;
    width: 100%;
    height: 200%;
    background: linear-gradient(to bottom, #87CEEB, #fff); /* Sky Blue to White gradient */
    animation: moveBackground linear infinite;
}

@keyframes moveBackground {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100%);
    }
}

.reset-btn{
    visibility: hidden;
}

.reset-btn-show{
    color: white;
    visibility: visible;
    position: absolute;
    top: 182px;
    right: 158px;
    font-size: 24px;
    border: 2px solid #786868;
    border-radius: 9px;
    padding: 12px;
    background: rgb(255, 85, 85);
    border: none;
}

@media (max-width: 400px) {

}