-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
176 lines (176 loc) · 7.12 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>a2.games - Free Browser games</title>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="./images/logo.png">
<style>
body {
font-family: 'Poppins', sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
color: white;
text-align: center;
}
header {
background: rgba(0, 0, 0, 0.9);
padding: 20px;
font-size: 28px;
font-weight: bold;
letter-spacing: 1px;
text-transform: lowercase;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.container {
max-width: 1200px;
margin: auto;
padding: 50px 20px;
}
.hero {
padding: 50px 20px;
}
.hero h1 {
font-size: 48px;
margin-bottom: 10px;
}
.hero p {
font-size: 18px;
opacity: 0.9;
max-width: 700px;
margin: auto;
}
.games {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
margin-top: 40px;
}
.game-card {
background: rgba(255, 255, 255, 0.1);
padding: 20px;
border-radius: 12px;
width: 250px;
text-align: center;
transition: 0.3s;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.game-card:hover {
background: rgba(255, 255, 255, 0.2);
transform: translateY(-5px);
}
.game-card img {
width: 100%;
border-radius: 10px;
}
.game-card h3 {
margin-top: 10px;
}
.platforms {
font-size: 16px;
margin-top: 5px;
opacity: 0.8;
}
.footer {
margin-top: 50px;
padding: 20px;
background: rgba(0, 0, 0, 0.9);
}
@media (max-width: 768px) {
.hero h1 {
font-size: 36px;
}
.game-card {
width: 90%;
}
}
</style>
</head>
<body>
<header><img src="./images/logo.png" width="96" height="96" alt="A2 games logo"><br>a2.games</header>
<div class="container">
<div class="hero">
<h1> Welcome to a2.games</h1>
<p>Play fun and engaging games right from your browser. No installs, no hassle, just pure entertainment.</p>
</div>
<div class="games">
<div class="game-card">
<img src="./images/hero-images/memory-match.png" alt="Memory Match Game">
<h3>Memory Match</h3>
<p>Test your memory with this fun matching game!</p>
<div class="platforms">🖥️ 📱</div>
<a href="./memory-match.html" style="color: #ff9800; text-decoration: none; font-weight: bold;">Play Now</a>
</div>
<div class="game-card">
<img src="./images/hero-images/brick-breaker.png" alt="Brick Breaker Arcade Game">
<h3>Brick Breaker Arcade</h3>
<p>Break the bricks, 3 lives, collect power ups!</p>
<div class="platforms">🖥️ 📱</div>
<a href="./brick-breaker.html" style="color: #ff9800; text-decoration: none; font-weight: bold;">Play Now</a>
</div>
<div class="game-card">
<img src="./images/hero-images/flappy-boy.png" alt="Flappy Boy Game">
<h3>Flappy Boy</h3>
<p>Tap to fly and avoid obstacles on the way!</p>
<div class="platforms">🖥️ 📱</div>
<a href="./flappy.html" style="color: #ff9800; text-decoration: none; font-weight: bold;">Play Now</a>
</div>
<div class="game-card">
<img src="./images/hero-images/runner.png" alt="Runner Game">
<h3>Runner</h3>
<p>Endless running fun, jump over obstacles!</p>
<div class="platforms">🖥️ 📱</div>
<a href="./runner.html" style="color: #ff9800; text-decoration: none; font-weight: bold;">Play Now</a>
</div>
<div class="game-card">
<img src="./images/hero-images/image-puzzle.png" alt="Image puzzle Game">
<h3>Image Puzzle</h3>
<p>Match the scrambled image puzzles.</p>
<div class="platforms">🖥️ 📱</div>
<a href="./image-puzzle.html" style="color: #ff9800; text-decoration: none; font-weight: bold;">Play Now</a>
</div>
<div class="game-card">
<img src="./images/hero-images/battle-arena.png" alt="Battle arena fight simulator Game">
<h3>Battle Arena Fight Simulator</h3>
<p>Choose your hero and defeat enemies.</p>
<div class="platforms">🖥️ 📱</div>
<a href="./battle-arena-fight-simulator.html" style="color: #ff9800; text-decoration: none; font-weight: bold;">Play Now</a>
</div>
<div class="game-card">
<img src="./images/hero-images/maze-hunter.png" alt="Maze Hunter Game">
<h3>Maze Hunter</h3>
<p>Navigate the maze and reach the exit.</p>
<div class="platforms">🖥️ 📱</div>
<a href="./maze-hunter.html" style="color: #ff9800; text-decoration: none; font-weight: bold;">Play Now</a>
</div>
<div class="game-card">
<img src="./images/hero-images/infinity-leap.png" alt="Infinity leap Game">
<h3>Infinity Leap</h3>
<p>Jump on ledge, collect coins, avoid red bomb.</p>
<div class="platforms">🖥️</div>
<a href="./infinity-leap.html" style="color: #ff9800; text-decoration: none; font-weight: bold;">Play Now</a>
</div>
<div class="game-card">
<img src="./images/hero-images/a2-bros.png" alt="A2 Bros">
<h3>A2 Bros</h3>
<p>Classic platform adventure awaits!</p>
<div class="platforms">🖥️</div>
<a href="./a2bros.html" style="color: #ff9800; text-decoration: none; font-weight: bold;">Play Now</a>
</div>
<div class="game-card">
<img src="./images/hero-images/dodge.png" alt="Dodge Game">
<h3>Dodge</h3>
<p>Dodge the falling obstacles by moving sideways!</p>
<div class="platforms">🖥️</div>
<a href="./dodge.html" style="color: #ff9800; text-decoration: none; font-weight: bold;">Play Now</a>
</div>
</div>
</div>
<div class="footer">
© 2025 A2 Games. All rights reserved.
</div>
</body>
</html>