/*! MiniGame Name: Bắn vịt Author: Kelvin Do Author URI: https://facebook.com/dohaanh Description: Ứng dụng giải trí bắn vịt Version: 1.0.0 */ html, body { margin: 0; overflow: hidden; background: #87ceeb; font-family: Coiny, sans-serif; } .position-relative { position: relative; overflow: hidden; } .wrapper { position: fixed; width: 100%; height: 100%; z-index: 1; } button { padding: 10px 20px; font-size: 16px; margin-top: 20px; cursor: pointer; } button::hover, button::focus, button::active { outline: none; } .container { display: flex; align-items: center; justify-content: center; gap: 40px; } .hud { position: fixed; bottom: 9%; left: 8%; transform: translate(-10%, -10%); color: #fff; font-size: 35px; font-weight: bold; z-index: 2; } .button-control { display: none; } #mute-btn { padding: 0; margin: 0; background: transparent; border: 0; font-size: 40px; } .banner img { width: 35vw; height: auto; margin: 0 auto; } #start-screen { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; text-align: center; } .overlay { justify-content: center; align-items: center; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; color: #000000; padding: 30px; border-radius: 12px; font-size: 22px; text-align: center; z-index: 20; width: 40vw; min-height: 115px; } .overlay button { padding: 0; margin: 10px 0; font-size: 0; background: transparent; border: none; cursor: pointer; } .overlay button .reset-img { display: block; width: 135px; height: auto; } #message { display: none; } #game-over { display: none; } #reward-message { display: none; } @media screen and (max-width: 640px) { .banner img { width: 80vw; } .overlay { width: 55vw; } .container { gap: 10px; } .hud { bottom: 6%; left: 0; right: 0; transform: translate(0, 0); font-size: 22px; } }