-
Notifications
You must be signed in to change notification settings - Fork 112
/
Achievements.html
366 lines (331 loc) · 13.3 KB
/
Achievements.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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"
/>
<title>Tony Stark's Remarkable Achievements</title>
<link rel="website icon" href="/assets/logo/icon.png">
<style>
/* Basic Styling */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
body {
background-image: url(assets/bg3.jpg);
color: white;
padding: 0px;
display: flex;
flex-direction: column;
align-items: center;
}
h2{
padding-top: 20px;
text-align: center;
margin-bottom: 20px;
color: #f5f5f5;
}
/* Card Styling */
.card {
display: flex;
align-items: center;
background-color: #09081fc5;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin: 40px 0;
padding: 20px;
width: 100%;
max-width: 1400px;
opacity: 0;
transform: translateY(30px);
transition: opacity 0.5s ease, transform 0.5s ease;
}
.card.visible {
opacity: 1;
transform: translateY(0);
}
/* Alternating Layout */
.card:nth-child(even) {
flex-direction: row; /* Image on left */
text-align: left;
}
.card:nth-child(odd) {
flex-direction: row-reverse; /* Image on right */
text-align: right;
}
.card img {
width: 150px;
height: 150px;
border-radius: 8px;
margin-right: 20px;
}
.card:nth-child(even) img {
margin-right: 0;
margin-left: 20px;
}
.card-content {
padding: 20px;
flex: 1;
}
.card h2 {
color: #007bff;
margin-bottom: 10px;
text-align: start;
}
.card p {
color: #d3d1d1;
font-family: Arial, Helvetica, sans-serif;
}
</style>
</head>
<body>
<button id="BacktoTop">
<div class="circle1">
<svg
id="back-to-top"
xmlns="http://www.w3.org/2000/svg"
width="30"
height="30"
fill="currentColor"
class="bi bi-arrow-up-circle-fill"
viewBox="0 0 16 16"
>
<path
d="M16 8A8 8 0 1 0 0 8a8 8 0 0 0 16 0m-7.5 3.5a.5.5 0 0 1-1 0V5.707L5.354 7.854a.5.5 0 1 1-.708-.708l3-3a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 5.707z"
></path>
</svg>
</div>
</button>
<style>
#BacktoTop {
display: block;
/* Ensure the button is part of the layout */
position: fixed;
bottom: 20px;
right: 20px;
width: 55px;
height: 55px;
background-color: rgb(170, 5, 5);
border-radius: 50%;
border: none;
cursor: pointer;
text-align: center;
line-height: 50px;
font-size: 24px;
z-index: 1000;
visibility: hidden;
opacity: 0;
transition: opacity 1.5s, visibility 1.5s, box-shadow 0.3s ease;
box-shadow: 0 0 0 2px #fff, 0 0 0 3px #262626,
0 0 6px 2px rgba(255, 255, 255, 0.2);
/* Adjusted outer rings */
overflow: hidden;
}
.circle1 {
display: flex;
align-items: center;
justify-content: center;
}
#BacktoTop:hover {
background-color: rgb(106, 12, 11);
/* Darker shade on hover */
transform: scale(1.1);
/* Slight zoom effect on hover */
}
#BacktoTop svg {
fill: #b4a933;
transition: fill 0.3s ease-in-out;
}
#BacktoTop:hover svg {
fill: #ffd700;
}
#BacktoTop{
animation: glow 5s infinite alternate;
}
@keyframes glow {
from {
box-shadow: 0 0 0 2px #fff, 0 0 0 3px #262626, 0 0 6px 2px rgba(255, 255, 255, 0.2), 0 0 5px -8px #6a0a0a;
}
to {
box-shadow: 0 0 0 2px #fff, 0 0 0 3px #262626, 0 0 6px 2px rgba(255, 255, 255, 0.2), 0 0 10px 8px #7b0a0a;
}
}
footer{
margin: 0;
padding: 0;
width: 100%;
}
</style>
<script>
/* Back to Top Button */
const scrollToTopBtn = document.getElementById("BacktoTop");
window.onscroll = function () {
scrollFunction();
};
function scrollFunction() {
if (
document.body.scrollTop > 50 ||
document.documentElement.scrollTop > 50
) {
scrollToTopBtn.style.visibility = "visible";
scrollToTopBtn.style.opacity = "1";
} else {
scrollToTopBtn.style.visibility = "hidden";
scrollToTopBtn.style.opacity = "0";
}
}
scrollToTopBtn.addEventListener("click", function () {
// Smooth scroll back to top
window.scrollTo({ top: 0, behavior: "smooth" });
});
</script>
<h2>Tony Stark's Remarkable Achievements</h2>
<nav class="navbar h-nav background">
<ul class="nav-list visibility">
<div class="logo" id="ironmask"><a href="/index.html"><img src="assets\logo\icon.png" alt="logo" srcset=""></a></div>
<li> <a href="index.html">Home</a></li>
<li> <a href="index.html#about" onclick="scrollToSection(event, 'home')">About</a></li>
<li> <a href="Appearances.html#Appearance">Appearances</a></li>
<li> <a href="index.html#Comics">Comics</a></li>
<li> <a href="index.html#contact">Contact</a></li>
<li> <a href="/blog.html">Blogs</a></li>
</ul>
<div class="rightNav visibility">
<form class="search-bar">
<input type="text" name="search" placeholder="Search the website">
<button type="submit"><i class="fa-solid fa-magnifying-glass"></i></button>
</form>
</div>
<div class="burger">
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
</div>
</nav>
<div class = "main-content">
<h1>Tony Stark's Remarkable Achievements</h1>
<div class="card">
<img src="assets/arc-reactor.jpg" alt="Arc Reactor">
<div class="card-content">
<h2>Invented Arc Reactor</h2>
<p>The arc reactor is a compact, self-sustaining energy source created by Tony Stark. Originally designed to keep shrapnel from reaching his heart, it later powered the Iron Man suit. Stark's design revolutionized clean energy with nearly limitless potential. It became a symbol of his transition from arms dealer to humanitarian innovator.</p>
</div>
</div>
<div class="card">
<img src="assets/iron-man-suit-1.jpg" alt="Iron Man Suit">
<div class="card-content">
<h2 style="text-align: end;">Built the First Iron Man Suit</h2>
<p style="text-align: end;">Tony Stark built his first Iron Man suit while held captive, using scrap materials. The suit allowed him to escape and laid the foundation for future upgrades. His suits are equipped with advanced weaponry, flight capabilities, and artificial intelligence. Each iteration reflects Stark's genius, pushing the boundaries of human capability.</p>
</div>
</div>
<div class="card">
<img src="assets/stark-industries.png" alt="Stark Industries">
<div class="card-content">
<h2>Founded Stark Industries</h2>
<p>Stark Industries is a pioneering multinational corporation in tech and defense. Founded by Tony's father, Howard Stark, Tony expanded its reach globally. Under Tony’s leadership, the company shifted focus toward sustainable technologies and clean energy. Stark Industries remains a symbol of cutting-edge innovation in the tech world.</p>
</div>
</div>
<div class="card">
<img src="assets/jarvis.jpg" alt="J.A.R.V.I.S.">
<div class="card-content">
<h2 style="text-align: end;">Created J.A.R.V.I.S.</h2>
<p style="text-align: end;">J.A.R.V.I.S. (Just A Rather Very Intelligent System) is an AI assistant developed by Tony Stark. Initially managing household tasks, it evolved into an integral part of the Iron Man suits. J.A.R.V.I.S. handles complex operations, assists in combat, and analyzes data in real-time. It showcases Stark’s expertise in artificial intelligence and robotics.</p>
</div>
</div>
<div class="card">
<img src="assets/avengers-initiative.jpg" alt="Avengers Initiative">
<div class="card-content">
<h2>Avengers Initiative</h2>
<p>Tony Stark played a vital role in forming the Avengers, a team of Earth’s mightiest heroes. This initiative was a response to the growing threats beyond human control. His leadership and resources enabled the team to face formidable foes like Loki and Ultron. The Avengers Initiative is a testament to Stark’s belief in protecting humanity.</p>
</div>
</div>
</div>
<footer>
<div class="footer background">
<div class="footer-col">
<img src="/assets/logo/icon.png" id="ironlogo" alt="">
<p class="footer-p">
<!-- Iron Man is a fictional superhero in the Marvel Comics universe, created by writer Stan Lee. His real name is Tony Stark, a billionaire industrialist and genius inventor who builds a high-tech suit of powered armor to fight crime after a life-threatening injury. -->
<!-- Iron Man, or Tony Stark, is a billionaire genius who becomes a superhero with his advanced armored suit. -->
<!-- Iron Man, Tony Stark, is a tech genius who fights for justice in a powerful, high-tech suit of armor he created. -->
Iron Man, aka Tony Stark, is a tech genius and billionaire who uses his advanced armored suit to fight for justice.
</p>
<div class="footer-social">
<a href="#"><i class="fa-brands fa-github"></i></a>
<a href="#"><i class="fa-brands fa-instagram"></i></a>
<a href="#"><i class="fa-brands fa-square-x-twitter"></i></a>
<a href="#"><i class="fa-brands fa-facebook"></i></a>
<a href="#"><i class="fa-brands fa-linkedin"></i></a>
</div>
</div>
<div class="footer-col-main">
<h4 class="h46">Overview</h4>
<a href="index.html">Who is Iron Man?</a>
<a href="#">Franchise</a>
<a href="#">Community</a>
<!-- Added Villain page redirect -->
<a href="villain.html">Marvel Villains</a>
</div>
<div class="footer-col-main">
<h4 class="h46">About Us</h4>
<a href="blog.html">Blogs</a>
<a href="/contributor.html">Contributors</a>
<a href="#">Careers</a>
</div>
<div class="footer-col-main">
<h4 class="h46">Contact Us</h4>
<a href="FAQs.html">Help/Faq's</a>
<a href="index.html#contact">Contact</a>
<a href="PrivacyPolicy.html">Privacy Policy</a>
<a href="Terms&Conditions.html">Terms & Conditions</a>
<a href="#">Advertising</a>
</div>
</div>
<div class="footer-bar background">
<p>
© Copyright 2024- All Rights Reserved -Made With ❤️ by <a class="mygithub" href="https://github.com/aslams2020"><span>Aslam</span> Sayyad</a>
</p>
</div>
</footer>
<script>
// Scroll Animation JavaScript
const cards = document.querySelectorAll('.card');
const showCardsOnScroll = () => {
const triggerBottom = window.innerHeight * 0.85;
cards.forEach(card => {
const cardTop = card.getBoundingClientRect().top;
if (cardTop < triggerBottom) {
card.classList.add('visible');
}
});
};
window.addEventListener('scroll', showCardsOnScroll);
window.addEventListener('load', showCardsOnScroll);
//js for go top button
const goTopBtn = document.querySelector('.go-top-btn');
window.addEventListener('scroll', checkHeight)
function checkHeight() {
if (window.scrollY > 200) {
goTopBtn.style.display = "flex"
} else {
goTopBtn.style.display = "none"
}
}
goTopBtn.addEventListener('click', () => {
window.scrollTo({
top: 0,
behavior: "smooth"
})
})
</script>
<script src="./Js/secrets.js"></script>
</body>
</html>