-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
265 lines (233 loc) · 7.01 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Portfolio</title>
<style>
/* General Styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #000000;
color: #fff; /* Changed text color to white */
padding-bottom: 60px; /* Adjusted padding to make space for the footer */
}
header {
background-color: #333;
color: #fff;
text-align: center;
padding: 20px 0;
}
nav {
background-color: #333;
color: #fff;
padding: 9px 0;
text-align: center;
position: relative;
}
nav ul {
list-style-type: none;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
}
nav ul li {
margin: 0 10px;
}
nav ul li a {
color: #fff;
text-decoration: none;
padding: 10px;
border-radius: 5px;
transition: background-color 0.3s;
}
nav ul li a:hover {
background-color: #555;
filter: brightness(110%);
transform: scale(1.1);
box-shadow: 0px 0px 40px rgb(255, 255, 255);
}
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 15px 0;
position: fixed;
bottom: 0;
width: 100%;
z-index: 1000;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
text-align: center;
}
.about-me {
border-radius: 10px;
padding: 20px;
margin-bottom: 30px;
text-align: center; /* Center the text */
color: rgb(255, 255, 255);
}
.about-me h2 {
margin-top: 0;
color: rgb(255, 255, 255);
}
.logo img {
width: 100px;
height: auto;
margin-right: 10px;
transition: transform 0.3s, filter 0.3s;
box-shadow: 0px 0px 37px rgb(35, 212, 0);
border-radius: 50%;
}
.logo img:hover {
transform: scale(1.2);
filter: brightness(110%);
box-shadow: 0px 0px 40px rgb(0, 189, 31);
}
.social-media {
margin-top: 10px;
}
.social-media a {
margin: 0 10px;
display: inline-block;
}
.social-media img {
width: 30px;
height: 30px;
transition: transform 0.3s, filter 0.3s;
}
.social-media img:hover {
transform: scale(1.2);
filter: brightness(110%);
}
#background-video {
width: 100vw;
height: 100vh;
object-fit: cover;
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: -1;
}
@media (max-width: 750px) {
body {
background: url("./videos/47802-451812879_small.mp4") no-repeat;
background-size: cover;
}
}
.blackbox {
background: rgb(0, 0, 0);
border-radius: 10px;
padding: 10px;
margin-bottom: 10px;
text-align: center; /* Center the text */
box-shadow: 0 0 5px #000;
}
.shadowfilter {
text-align: center;
vertical-align: middle;
margin-left: auto;
margin-right: auto;
width: 100%;
}
/* Burger Menu Styles */
.menu-toggle {
display: none;
flex-direction: column;
cursor: pointer;
position: fixed;
top: 20px;
right: 20px;
z-index: 2000; /* Ensure the burger menu appears above other elements */
}
.menu-toggle .burger {
width: 25px;
height: 3px;
background-color: white;
margin: 4px 0;
}
@media (max-width: 768px) {
nav ul {
display: none;
flex-direction: column;
width: 100%;
}
nav ul.show {
display: flex;
}
.menu-toggle {
display: flex;
}
}
</style>
</head>
<body>
<header>
<h1>HOME</h1>
</header>
<nav>
<div class="menu-toggle">
<div class="burger"></div>
<br>
<div class="burger"></div>
<br>
<div class="burger"></div>
</div>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="projects.html">Projects</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a target="_blank" href="https://stuffbymax.github.io/cv">CV</a></li>
<li><a href="units.html">Units</a></li>
<li><a href="gallery.html">Gallery</a></li>
</ul>
</nav>
<video id="background-video" autoplay loop muted poster="./videos/47802-451812879_small.mp4">
<source src="./videos/47802-451812879_small.mp4" type="video/mp4">
</video>
<br><br>
<div class="container">
<div class="blackbox">
<div class="logo">
<a href="about.html">
<img src="./logo/96355058.jpg" alt="me.icon">
</a>
</div>
<h1>Welcome to My Portfolio</h1>
<p>This is where I showcase my work and talents.</p>
<p>Feel free to explore!</p>
<br>
</div>
</div>
<footer>
<p>© 2024 Martin Petik. MIT License. This website is hosted on GitHub</p>
<div class="social-media">
<a href="https://mastodon.social/@stuffbymax" target="_blank">
<img src="./icons/Mastodon_Logotype_(Simple).svg.png" alt="Mastodon" width="30" height="30">
</a>
<a href="https://github.com/stuffbymax" target="_blank">
<img src="./icons/github-mark-c791e9551fe4/github-mark/github-mark-white.png" alt="GitHub" width="30" height="30">
</a>
</div>
</footer>
<script>
document.addEventListener('DOMContentLoaded', function () {
const menuToggle = document.querySelector('.menu-toggle');
const menu = document.querySelector('nav ul');
menuToggle.addEventListener('click', function () {
menu.classList.toggle('show');
});
});
</script>
</body>
</html>