diff --git a/index.html b/index.html index c3861b0..31dd3b7 100644 --- a/index.html +++ b/index.html @@ -13,6 +13,7 @@ align-items: center; height: 100vh; font-family: Arial, sans-serif; + overflow: hidden; } #game { @@ -45,12 +46,17 @@ #gameCanvas { border: 1px solid #333; background: #000; + width: 100vw; + height: 100vh; + position: fixed; + top: 0; + left: 0; } .loader { width: 48px; height: 48px; - border: 5px solid #fff; + border: 5px solid #ffffff; border-bottom-color: transparent; border-radius: 50%; display: inline-block; @@ -72,6 +78,50 @@ font-size: 18px; color: #aaa; } + + #pauseMenu { + position: fixed; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + background: rgba(0, 0, 0, 0.9); + padding: 30px; + border-radius: 10px; + border: 1px solid #333; + text-align: center; + z-index: 1000; + } + + #pauseMenu h2 { + font-size: 32px; + margin-bottom: 20px; + color: #fff; + } + + .menu-buttons { + display: flex; + flex-direction: column; + gap: 10px; + } + + .menu-buttons button { + background: #333; + color: #fff; + border: none; + padding: 15px 30px; + font-size: 18px; + border-radius: 5px; + cursor: pointer; + transition: background-color 0.3s; + } + + .menu-buttons button:hover { + background: #444; + } + + .menu-buttons button:active { + background: #555; + }
@@ -85,6 +135,14 @@Loading... 0%
+