diff --git a/pages/game.html b/pages/game.html index a6274c9..8e90dd7 100644 --- a/pages/game.html +++ b/pages/game.html @@ -47,13 +47,7 @@ transition: background-color 0.3s ease; } - .button-container #sound-toggle{ - background-color: rgb(12, 1, 1); - border-radius: 4px; - padding: 10px 20px; - } - - .button-container #music-toggle{ + .button-container #sound-toggle { background-color: rgb(12, 1, 1); border-radius: 4px; padding: 10px 20px; @@ -74,11 +68,7 @@ background-color: rgb(69, 133, 254); } - .button-container #sound-toggle:hover { - background-color: rgb(21, 39, 77); - } - - .button-container #music-toggle:hover { + .button-container #sound-toggle:hover { background-color: rgb(21, 39, 77); } @@ -115,7 +105,7 @@ left: 0; width: 100%; height: 100%; - background: rgba(0, 0, 0, 0.2); + background: rgba(0, 0, 0, 0.3); display: none; align-items: center; justify-content: center; @@ -225,13 +215,122 @@ gap: 10px; } + /* Responsive styles for tablets and mobile devices */ + @media screen and (max-width: 768px) { + .tour-step { + width: 80%; + padding: 15px; + } + + .tour-step h3 { + font-size: 1.2em; + } + + .tour-step p { + font-size: 0.9em; + } + + .tour-controls .button { + padding: 5px 10px; + font-size: 0.9em; + } + + .tour-controls { + flex-direction: column; + gap: 5px; + } + } + + @media screen and (max-width: 480px) { + .tour-step.step-1 { + width: 83%; + padding: 10px; + left: 41%; + margin-left: -32%; + } + + .tour-step.step-2 { + width: 83%; + padding: 10px; + left: 41%; + margin-left: -32%; + margin-top: -39px; + + } + + .tour-step.step-3 { + width: 83%; + padding: 10px; + left: 41%; + margin-left: -32%; + margin-top: -392px; + } + + .tour-step.step-7 { + width: 83%; + padding: 10px; + left: 41%; + margin-left: -32%; + margin-top: -339px; + } + + .tour-step.step-4 { + width: 83%; + padding: 10px; + left: 41%; + margin-left: -32%; + margin-bottom: 53px; + } + + .tour-step.step-5 { + width: 83%; + padding: 10px; + left: 41%; + margin-left: -32%; + margin-top: -119px; + } + + .tour-step.step-6 { + width: 83%; + padding: 10px; + left: 41%; + margin-left: -32%; + margin-top: -193px; + } + + .tour-step h3 { + font-size: 1em; + } - @media (max-width : 768px){ - .circle-container{ - display: none; - } - } + .tour-step p { + font-size: 0.8em; + } + + .tour-controls .button { + padding: 5px 10px; + font-size: 0.8em; + } + + .tour-controls { + flex-direction: column; + gap: 3px; + margin-bottom: -15%; + margin-left: 8px; + } + + .circle-container { + display: none; + } + } + #myVideo { + position: fixed; + right: 0; + bottom: 0; + min-width: 100%; + min-height: 100%; + z-index: -1; + } @@ -239,47 +338,42 @@
-