oskarnr1 commited on
Commit
067fe8a
·
verified ·
1 Parent(s): 1bc0d1d

Manual changes saved

Browse files
Files changed (1) hide show
  1. index.html +273 -290
index.html CHANGED
@@ -9,91 +9,96 @@
9
  <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
  <style>
11
  @import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
 
12
  body {
13
  font-family: 'Space Grotesk', sans-serif;
14
  scroll-behavior: smooth;
15
  }
16
- .skill-icon {
 
17
  transition: all 0.3s ease;
18
  }
19
- .skill-icon:hover {
20
- transform: scale(1.1);
21
- }
 
 
22
  .project-card {
23
  transition: all 0.3s ease;
24
  }
25
- .project-card:hover {
26
- transform: translateY(-5px);
27
- box-shadow: 0 10px 25px -5px rgba(239, 68, 68, 0.2);
28
- }
29
- </style>
 
30
  </head>
31
  <body class="bg-gray-50 text-gray-800 relative">
32
  <!-- Scroll Indicator -->
33
  <div class="fixed right-8 top-1/2 transform -translate-y-1/2 h-screen flex flex-col items-center justify-center z-40">
34
- </div>
35
 
36
  <!-- Navigation -->
37
- <nav class="fixed w-full bg-white/80 backdrop-blur-md z-50 shadow-sm">
38
  <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
39
  <div class="flex justify-between h-16">
40
  <div class="flex items-center">
41
- <a href="#" class="text-xl font-bold text-red-600">Oskar Lundmark Koblanck</a>
42
- <span class="ml-2 px-2 py-1 text-xs bg-red-100 text-red-800 rounded-full">Game Designer</span>
43
- </div>
44
  <div class="hidden md:flex items-center space-x-8">
45
- <a href="#works" class="text-gray-700 hover:text-red-500 transition">Works</a>
46
- <a href="#resume" class="text-gray-700 hover:text-red-500 transition">Resume</a>
47
- <a href="#contact" class="text-gray-700 hover:text-red-500 transition">Contact</a>
48
- </div>
49
  <div class="md:hidden flex items-center">
50
  <button id="menu-toggle" class="text-gray-700">
51
  <i data-feather="menu"></i>
52
  </button>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  </div>
54
  </div>
55
- <!-- Art Column (Filtered State) -->
56
- <div id="art-col-filtered" class="grid grid-cols-1 gap-8" style="display: none;">
57
- <h3 class="text-2xl font-bold mb-6 text-center">Art</h3>
58
- <div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm w-full">
59
- <img src="https://static.wixstatic.com/media/6588f2_24e4126d37144f21863c7c78faba9f93~mv2.jpg" alt="Project 2" class="w-full h-48 object-cover">
60
- <div class="p-6">
61
- <h2 class="text-2xl font-bold mb-2">The Fireflies Night</h2>
62
- <h3 class="text-xl font-semibold mb-2">In the full moonlight, there is a house, where the fireflies lead weary travelers to its doors.</h3>
63
- <p class="text-gray-600 mb-4">Take control of a powerful mech and engage in intense combat scenarios</p>
64
- <a href="#" class="text-red-600 hover:text-red-800 font-medium inline-flex items-center">
65
- View Project
66
- <i data-feather="arrow-right" class="ml-2"></i>
67
- </a>
68
- </div>
69
- </div>
70
- <div class="project-card bg-white rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition">
71
- <img src="http://static.photos/art/640x360/42" alt="Art Project 1" class="w-full h-48 object-cover">
72
- <div class="p-6">
73
- <h2 class="text-2xl font-bold mb-2">Concept Art Collection</h2>
74
- <h3 class="text-xl font-semibold mb-2">Stylized character designs</h3>
75
- <p class="text-gray-600 mb-4">A series of character concepts for fantasy RPG game</p>
76
- <a href="#" class="text-red-600 hover:text-red-800 font-medium inline-flex items-center">
77
- View Project
78
- <i data-feather="arrow-right" class="ml-2"></i>
79
- </a>
80
- </div>
81
- </div>
82
- <div class="project-card bg-white rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition">
83
- <img src="http://static.photos/art/640x360/43" alt="Art Project 2" class="w-full h-48 object-cover">
84
- <div class="p-6">
85
- <h2 class="text-2xl font-bold mb-2">Environment Art</h2>
86
- <h3 class="text-xl font-semibold mb-2">Fantasy landscapes</h3>
87
- <p class="text-gray-600 mb-4">Digital paintings of magical environments and world-building</p>
88
- <a href="#" class="text-red-600 hover:text-red-800 font-medium inline-flex items-center">
89
- View Project
90
- <i data-feather="arrow-right" class="ml-2"></i>
91
- </a>
92
- </div>
93
- </div>
94
- </div>
95
  </div>
96
- </nav>
 
97
 
98
  <!-- Mobile Menu -->
99
  <div id="mobile-menu" class="hidden fixed inset-0 bg-white z-40 pt-20 px-4">
@@ -119,81 +124,90 @@
119
  <a href="#works" class="relative inline-block px-8 py-4 border-2 border-white hover:border-transparent rounded-full font-medium transition-all duration-300 transform hover:scale-105 group overflow-hidden">
120
  <span class="relative z-10 flex items-center hovered-element">View Projects</span>
121
  <span class="absolute inset-0 bg-red-500 opacity-0 group-hover:opacity-40 transition-opacity duration-300 rounded-full hovered-element"></span>
122
- </a>
123
  <a href="#contact" class="relative inline-block px-8 py-4 border-2 border-white hover:border-transparent rounded-full font-medium transition-all duration-300 transform hover:scale-105 group overflow-hidden">
124
  <span class="relative z-10 hovered-element">Get in Touch</span>
125
  <span class="absolute inset-0 bg-red-500 opacity-0 group-hover:opacity-40 transition-opacity duration-300 rounded-full hovered-element"></span>
126
- </a>
127
  </div>
128
- </div>
129
  <div class="absolute bottom-8 left-1/2 transform -translate-x-1/2 animate-bounce">
130
  <i data-feather="chevron-down" class="w-8 h-8"></i>
131
  </div>
132
  </section>
133
- <style>
134
  .hero-image {
135
  position: relative;
136
  }
137
- .hero-image video {
138
- position: absolute;
139
- top: 0;
140
- left: 0;
141
- width: 100%;
142
- height: 100%;
143
- object-fit: cover;
144
- z-index: 0;
145
- }
146
- .hero-image .content {
147
- position: relative;
148
- z-index: 1;
149
- }
 
 
 
150
  .bg-orange-500 {
151
  background-color: #ff0000;
152
  }
 
153
  .bg-orange-600 {
154
  background-color: #cc0000;
155
  }
 
156
  .bg-orange-700 {
157
  background-color: #990000;
158
  }
 
159
  .text-orange-500 {
160
  color: #ff0000;
161
  }
 
162
  .border-orange-500 {
163
  border-color: #ff0000;
164
  }
 
165
  .bg-orange-100 {
166
  background-color: #ffcccc;
167
  }
 
168
  .text-orange-800 {
169
  color: #800000;
170
  }
171
- </style>
172
  <!-- About Section -->
173
  <section id="about" class="py-20 bg-white relative overflow-hidden">
174
  <div class="absolute -right-32 -top-32 w-64 h-64 bg-red-100 rounded-full opacity-20 mix-blend-multiply"></div>
175
  <div class="absolute -left-32 -bottom-32 w-64 h-64 bg-indigo-100 rounded-full opacity-20 mix-blend-multiply"></div>
176
- <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
177
  <div class="flex flex-col md:flex-row items-center">
178
  <div class="md:w-1/2 mb-10 md:mb-0 md:pr-10 relative z-10">
179
  <h2 class="text-4xl font-bold mb-6 bg-gradient-to-r from-red-600 to-indigo-600 bg-clip-text text-transparent">Hello There!</h2>
180
  <p class="text-xl mb-6 font-medium">My name is <span class="text-red-600">Oskar Lundmark Koblanck</span></p>
181
- <div class="prose lg:prose-xl">
182
  <p>Hello! My name is Oskar, and I'm a passionate game designer and maker. At 18, my journey into game development took an unexpected start. Initially, I pursued a career as an aircraft mechanic, but as I approached graduation during the COVID-19 pandemic, I decided to follow a passion of mine for game-making.</p>
183
  <p class="mt-4">I began my formal education in game and UX & Game Design in the charming northern town of Skellefteå, Sweden. After two enriching years there (and a few too many cups of coffee and a couple of student parties), I decided to level up my skills and knowledge. This quest led me to Kortrijk, Belgium, where I'm enrolled in the Independent Game Production course at DAE. My diverse background and experiences fuel my ambition to create engaging and immersive gaming experiences, because let's be honest, who doesn't want to escape reality occasionally?</p>
184
  <p class="mt-4">Thank you for visiting my portfolio!</p>
185
  </div>
186
  <a href="https://www.oskarlkportfolio.com/_files/ugd/6588f2_702049f1c21a4c0093148d8d58579f11.pdf" class="mt-6 inline-flex items-center px-6 py-3 border border-red-600 text-red-600 rounded-full hover:bg-red-700 hover:text-white transition">
187
- Download CV
188
  <i data-feather="download" class="ml-2"></i>
189
  </a>
190
  </div>
191
  <div class="md:w-1/2 flex justify-center">
192
  <div class="relative">
193
- <img src="https://static.wixstatic.com/media/6588f2_4fd8efde373342ed96ab1e31ce703032~mv2.jpg" alt="Oskar photo" class="rounded-lg shadow-xl w-full max-w-md">
194
- <img src="https://static.wixstatic.com/media/6588f2_89c0a3ecc407460e9dd1208d6f38f934~mv2.png" alt="Portfolio map" class="absolute -bottom-16 -right-16 w-32 h-32 md:w-48 md:h-48 rounded-full border-4 border-white shadow-lg bg-white">
195
- </div>
196
- </div>
197
  </div>
198
  </div>
199
  </section>
@@ -207,7 +221,7 @@ Download CV
207
  <div class="bg-white p-8 rounded-xl shadow-sm">
208
  <h3 class="text-xl font-semibold mb-6">Programs</h3>
209
  <div class="grid grid-cols-1 sm:grid-cols-2 gap-6">
210
- <div class="flex items-start space-x-4">
211
  <img src="https://static.wixstatic.com/media/6588f2_343426c645c343119c7573fe9fc062a2~mv2.png" alt="Github" class="w-12 h-12 skill-icon">
212
  <div>
213
  <h4 class="font-medium">Github</h4>
@@ -240,7 +254,7 @@ Download CV
240
  <!-- Education -->
241
  <div class="bg-white p-8 rounded-xl shadow-sm mt-10">
242
  <h3 class="text-xl font-semibold mb-6">Education & Languages</h3>
243
- <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
244
  <div class="space-y-6">
245
  <div>
246
  <h4 class="font-medium">DEA, Howest - IGP</h4>
@@ -260,12 +274,12 @@ Download CV
260
  </div>
261
  </div>
262
  </div>
263
- </div>
264
  </div>
265
  </section>
266
  <!-- Projects Section -->
267
  <section id="works" class="py-20 bg-gradient-to-b from-white to-gray-50">
268
- <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
269
  <h2 class="text-3xl font-bold text-center mb-6">Featured Projects</h2>
270
  <div class="flex justify-center space-x-4 mb-16">
271
  <button id="all-btn" class="px-6 py-2 bg-red-600 text-white rounded-full font-medium" onclick="filterProjects('all')">All</button>
@@ -276,9 +290,9 @@ Download CV
276
  <!-- Games Column -->
277
  <div id="games-col" class="w-full">
278
  <h3 class="text-3xl font-bold mb-10 text-center">Games</h3>
279
- <div class="grid grid-cols-1 gap-8">
280
  <div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm h-full">
281
- <img src="https://static.wixstatic.com/media/6588f2_d9fdecb14bfc48ac99bd5efed3e1b054~mv2.png" alt="Bap Cat" class="w-full h-48 object-cover">
282
  <div class="p-6">
283
  <h2 class="text-2xl font-bold mb-2">Bap Cat</h2>
284
  <h3 class="text-xl font-semibold mb-2">A game about a cat spreading chaos in their owners cafe</h3>
@@ -290,7 +304,7 @@ Download CV
290
  </div>
291
  </div>
292
  <div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm h-full">
293
- <img src="http://static.photos/gaming/640x360/101" alt="Mech Warrior" class="w-full h-48 object-cover">
294
  <div class="p-6">
295
  <h2 class="text-2xl font-bold mb-2">Mech Warrior</h2>
296
  <h3 class="text-xl font-semibold mb-2">Epic mech battles in futuristic cities</h3>
@@ -301,12 +315,30 @@ Download CV
301
  </a>
302
  </div>
303
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
304
  <div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm h-full">
305
- <img src="http://static.photos/gaming/640x360/102" alt="Pixel Adventure" class="w-full h-48 object-cover">
306
  <div class="p-6">
307
- <h2 class="text-2xl font-bold mb-2">Pixel Adventure</h2>
308
- <h3 class="text-xl font-semibold mb-2">Retro-style platformer with modern mechanics</h3>
309
- <p class="text-gray-600 mb-4">Explore a vibrant pixel world full of secrets and challenges</p>
310
  <a href="#" class="text-red-600 hover:text-red-800 font-medium inline-flex items-center">
311
  View Project
312
  <i data-feather="arrow-right" class="ml-2"></i>
@@ -315,113 +347,71 @@ Download CV
315
  </div>
316
  </div>
317
  </div>
318
- <!-- Art Column -->
319
- <div id="art-col" class="w-full" style="display: grid;">
320
- <h3 class="text-3xl font-bold mb-10 text-center">Art</h3>
321
- <div class="grid grid-cols-1 gap-8">
322
- <div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm w-full">
323
- <img src="https://static.wixstatic.com/media/6588f2_24e4126d37144f21863c7c78faba9f93~mv2.jpg" alt="Project 2" class="w-full h-48 object-cover">
324
- <div class="p-6">
325
- <h2 class="text-2xl font-bold mb-2">The Fireflies Night</h2>
326
- <h3 class="text-xl font-semibold mb-2">In the full moonlight, there is a house, where the fireflies lead weary travelers to its doors.</h3>
327
- <p class="text-gray-600 mb-4">Take control of a powerful mech and engage in intense combat scenarios</p>
328
- <a href="#" class="text-red-600 hover:text-red-800 font-medium inline-flex items-center">
329
- View Project
330
- <i data-feather="arrow-right" class="ml-2"></i>
331
- </a>
332
- </div>
333
- </div>
334
- <div class="project-card bg-white rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition">
335
- <img src="http://static.photos/art/640x360/42" alt="Art Project 1" class="w-full h-48 object-cover">
336
- <div class="p-6">
337
- <h2 class="text-2xl font-bold mb-2">Concept Art Collection</h2>
338
- <h3 class="text-xl font-semibold mb-2">Stylized character designs</h3>
339
- <p class="text-gray-600 mb-4">A series of character concepts for fantasy RPG game</p>
340
- <a href="#" class="text-red-600 hover:text-red-800 font-medium inline-flex items-center">
341
- View Project
342
- <i data-feather="arrow-right" class="ml-2"></i>
343
- </a>
344
- </div>
345
- </div>
346
- <div class="project-card bg-white rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition">
347
- <img src="http://static.photos/art/640x360/43" alt="Art Project 2" class="w-full h-48 object-cover">
348
- <div class="p-6">
349
- <h2 class="text-2xl font-bold mb-2">Environment Art</h2>
350
- <h3 class="text-xl font-semibold mb-2">Fantasy landscapes</h3>
351
- <p class="text-gray-600 mb-4">Digital paintings of magical environments and world-building</p>
352
- <a href="#" class="text-red-600 hover:text-red-800 font-medium inline-flex items-center">
353
- View Project
354
- <i data-feather="arrow-right" class="ml-2"></i>
355
- </a>
356
- </div>
357
- </div>
358
- </div>
359
  </div>
360
- </div>
361
- <!-- Games Column (Filtered State) -->
362
- <div id="games-col-filtered" class="w-full" style="display: none;">
363
- <h3 class="text-3xl font-bold mb-10 text-center">Games</h3>
364
- <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
365
- <div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm h-full">
366
- <img src="https://static.wixstatic.com/media/6588f2_d9fdecb14bfc48ac99bd5efed3e1b054~mv2.png" alt="Project 1" class="w-full h-48 object-cover">
367
- <div class="p-6">
368
- <h2 class="text-2xl font-bold mb-2">Bap Cat</h2>
369
- <h3 class="text-xl font-semibold mb-2">A game about a cat spreading chaos in their owners cafe</h3>
370
- <p class="text-gray-600 mb-4">Why? Simply because it wants to spend more time with their owner.</p>
371
- <a href="#" class="text-red-600 hover:text-red-800 font-medium inline-flex items-center">
372
- View Project
373
- <i data-feather="arrow-right" class="ml-2"></i>
374
- </a>
375
- </div>
376
  </div>
377
- <div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm h-full">
378
- <img src="http://static.photos/gaming/640x360/101" alt="Game Project 1" class="w-full h-48 object-cover">
379
- <div class="p-6">
380
- <h2 class="text-2xl font-bold mb-2">Mech Warrior</h2>
381
- <h3 class="text-xl font-semibold mb-2">Epic mech battles in futuristic cities</h3>
382
- <p class="text-gray-600 mb-4">Strategic combat game with customizable mech units</p>
383
- <a href="#" class="text-red-600 hover:text-red-800 font-medium inline-flex items-center">
384
- View Project
385
- <i data-feather="arrow-right" class="ml-2"></i>
386
  </a>
387
  </div>
388
- </div>
389
- <div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm h-full">
390
- <img src="http://static.photos/gaming/640x360/102" alt="Game Project 2" class="w-full h-48 object-cover">
391
- <div class="p-6">
392
- <h2 class="text-2xl font-bold mb-2">Pixel Adventure</h2>
393
- <h3 class="text-xl font-semibold mb-2">Retro-style platformer with modern mechanics</h3>
394
- <p class="text-gray-600 mb-4">Explore a vibrant pixel world full of secrets and challenges</p>
395
- <a href="#" class="text-red-600 hover:text-red-800 font-medium inline-flex items-center">
396
- View Project
397
- <i data-feather="arrow-right" class="ml-2"></i>
398
- </a>
399
  </div>
400
- </div>
401
- </div>
402
- </div>
403
- </div>
404
- <div class="text-center mt-16">
405
- <a href="#" class="inline-block px-8 py-3 bg-red-600 text-white rounded-full font-medium transition hover:bg-red-700">
406
- View All Projects
407
- <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 inline ml-2" viewBox="0 0 20 20" fill="currentColor">
408
- <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-8.707l-3-3a1 1 0 00-1.414 1.414L10.586 9H7a1 1 0 100 2h3.586l-1.293 1.293a1 1 0 101.414 1.414l3-3a1 1 0 000-1.414z" clip-rule="evenodd" />
409
- </svg>
410
- </a>
411
- </div>
412
- </div>
413
  </section>
414
  <!-- Contact Section -->
415
  <section id="contact" class="py-20 bg-red-600 text-white">
416
- <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
417
  <h2 class="text-3xl font-bold mb-12">Get In Touch</h2>
418
-
419
  <div class="flex flex-col items-center">
420
  <div class="mb-8">
421
  <h3 class="text-xl font-semibold mb-4">Email</h3>
422
  <a href="mailto:Oskar.nr1.one@gmail.com" class="text-xl hover:underline">Oskar.nr1.one@gmail.com</a>
423
  </div>
424
-
425
  <div>
426
  <h3 class="text-xl font-semibold mb-4">Follow Me</h3>
427
  <div class="flex space-x-4 justify-center">
@@ -436,22 +426,22 @@ Download CV
436
  </div>
437
  </div>
438
  </section>
439
- <!-- Footer -->
440
  <footer class="bg-red-800 text-red-100 py-8 hovered-element">
441
- <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center hovered-element">
442
  <p class="hovered-element">© 2023 Oskar Lundmark Koblanck. All rights reserved.</p>
443
  <p class="mt-2 text-sm hovered-element">Game Designer &amp; Developer</p>
444
  </div>
445
  </footer>
446
- <script>
447
  // Mobile menu toggle
448
- document.getElementById('menu-toggle').addEventListener('click', function() {
449
  document.getElementById('mobile-menu').classList.toggle('hidden');
450
  });
451
 
452
  // Close mobile menu when clicking a link
453
  document.querySelectorAll('#mobile-menu a').forEach(link => {
454
- link.addEventListener('click', function() {
455
  document.getElementById('mobile-menu').classList.add('hidden');
456
  });
457
  });
@@ -467,52 +457,45 @@ Download CV
467
  });
468
  // Initialize feather icons
469
  feather.replace();
470
- // Project filtering functionality
471
- function filterProjects(filter) {
472
- const gamesCol = document.getElementById('games-col');
473
- const artCol = document.getElementById('art-col');
474
- const gamesBtn = document.getElementById('games-btn');
475
- const artBtn = document.getElementById('art-btn');
476
- const allBtn = document.getElementById('all-btn');
477
- const projectsGrid = document.getElementById('projects-grid');
478
-
479
- // Reset all buttons
480
- gamesBtn.classList.remove('bg-red-600', 'text-white');
481
- gamesBtn.classList.add('border', 'border-red-600', 'text-red-600');
482
- artBtn.classList.remove('bg-red-600', 'text-white');
483
- artBtn.classList.add('border', 'border-red-600', 'text-red-600');
484
- allBtn.classList.remove('bg-red-600', 'text-white');
485
- allBtn.classList.add('border', 'border-red-600', 'text-red-600');
486
-
487
- if (filter === 'games') {
488
- projectsGrid.classList.remove('lg:grid-cols-2');
489
- projectsGrid.classList.add('lg:grid-cols-1');
490
- gamesCol.style.display = 'grid';
491
- artCol.style.display = 'none';
492
- gamesBtn.classList.add('bg-red-600', 'text-white');
493
- gamesBtn.classList.remove('border', 'border-red-600', 'text-red-600');
494
- } else if (filter === 'art') {
495
- projectsGrid.classList.remove('lg:grid-cols-2');
496
- projectsGrid.classList.add('lg:grid-cols-1');
497
- gamesCol.style.display = 'none';
498
- artCol.style.display = 'grid';
499
- artBtn.classList.add('bg-red-600', 'text-white');
500
- artBtn.classList.remove('border', 'border-red-600', 'text-red-600');
501
- } else { // all
502
- projectsGrid.classList.remove('lg:grid-cols-1');
503
- projectsGrid.classList.add('lg:grid-cols-2');
504
- gamesCol.style.display = 'grid';
505
- artCol.style.display = 'grid';
506
- allBtn.classList.add('bg-red-600', 'text-white');
507
- allBtn.classList.remove('border', 'border-red-600', 'text-red-600');
508
- }
509
- }
510
- // Initialize with all shown by default
511
- document.addEventListener('DOMContentLoaded', function() {
512
  filterProjects('all');
513
  });
514
- // Scroll to section function
515
- function scrollToSection(sectionId) {
516
  if (sectionId === 'hero') {
517
  window.scrollTo({
518
  top: 0,
@@ -527,66 +510,66 @@ function scrollToSection(sectionId) {
527
  }
528
  }
529
  }
530
- // Scroll position indicator that moves smoothly with scroll
531
- function updateScrollIndicator() {
532
- const indicator = document.getElementById('scroll-indicator');
533
- const dots = document.querySelectorAll('[data-section]');
534
- const sections = document.querySelectorAll('section');
535
- const viewportMiddle = window.scrollY + (window.innerHeight / 2);
536
-
537
- let activeSection = null;
538
- let closestDistance = Infinity;
539
- const positions = {
540
- 'hero': 10,
541
- 'about': 30,
542
- 'skills': 55,
543
- 'works': 80,
544
- 'contact': 95
545
- };
546
-
547
- // Find which section is currently in focus
548
- sections.forEach(section => {
549
- const sectionTop = section.offsetTop;
550
- const sectionHeight = section.offsetHeight;
551
- const sectionMiddle = sectionTop + (sectionHeight / 2);
552
- const distance = Math.abs(viewportMiddle - sectionMiddle);
553
-
554
- if (distance < closestDistance) {
555
- closestDistance = distance;
556
- activeSection = section.id;
557
- }
558
- });
559
 
560
- // Move red indicator to active section
561
- if (activeSection && positions[activeSection]) {
562
 
563
- }
564
 
565
- // Update dot highlighting
566
- dots.forEach(dot => {
567
- const section = dot.getAttribute('data-section');
568
- const innerDot = dot.querySelector('div');
569
- if (section === activeSection) {
570
  innerDot.classList.add('bg-gray-600', 'hover:bg-gray-700');
571
  innerDot.classList.remove('bg-gray-400', 'hover:bg-gray-500');
572
- } else {
573
- innerDot.classList.add('bg-gray-400', 'hover:bg-gray-500');
574
- innerDot.classList.remove('bg-red-600', 'hover:bg-red-700');
 
 
575
  }
576
- });
577
- }
578
- // Add click handlers for section dots (excluding top dot which has separate handler)
579
- document.querySelectorAll('[data-section]').forEach(dot => {
580
- dot.addEventListener('click', function() {
581
- const sectionId = this.getAttribute('data-section');
582
- scrollToSection(sectionId);
583
- });
584
- });
585
  // Throttle scroll events for performance
586
  let isScrolling;
587
- window.addEventListener('scroll', function() {
588
  window.clearTimeout(isScrolling);
589
- isScrolling = setTimeout(function() {
590
  updateScrollIndicator();
591
  }, 16); // ~60fps
592
  }, false);
@@ -596,7 +579,7 @@ document.querySelectorAll('[data-section]').forEach(dot => {
596
  function updateScrollIndicator() {
597
  const sections = document.querySelectorAll('section');
598
  const viewportMiddle = window.scrollY + (window.innerHeight / 2);
599
-
600
  let activeSection = null;
601
  let closestDistance = Infinity;
602
 
@@ -624,6 +607,6 @@ document.querySelectorAll('[data-section]').forEach(dot => {
624
  }
625
  });
626
  }
627
- </script>
628
  </body>
629
  </html>
 
9
  <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
  <style>
11
  @import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
12
+
13
  body {
14
  font-family: 'Space Grotesk', sans-serif;
15
  scroll-behavior: smooth;
16
  }
17
+
18
+ .skill-icon {
19
  transition: all 0.3s ease;
20
  }
21
+
22
+ .skill-icon:hover {
23
+ transform: scale(1.1);
24
+ }
25
+
26
  .project-card {
27
  transition: all 0.3s ease;
28
  }
29
+
30
+ .project-card:hover {
31
+ transform: translateY(-5px);
32
+ box-shadow: 0 10px 25px -5px rgba(239, 68, 68, 0.2);
33
+ }
34
+ </style>
35
  </head>
36
  <body class="bg-gray-50 text-gray-800 relative">
37
  <!-- Scroll Indicator -->
38
  <div class="fixed right-8 top-1/2 transform -translate-y-1/2 h-screen flex flex-col items-center justify-center z-40">
39
+ </div>
40
 
41
  <!-- Navigation -->
42
+ <nav class="fixed w-full bg-white/80 backdrop-blur-md z-50 shadow-sm">
43
  <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
44
  <div class="flex justify-between h-16">
45
  <div class="flex items-center">
46
+ <a href="#" class="text-xl font-bold text-red-600">Oskar Lundmark Koblanck</a>
47
+ <span class="ml-2 px-2 py-1 text-xs bg-red-100 text-red-800 rounded-full">Game Designer</span>
48
+ </div>
49
  <div class="hidden md:flex items-center space-x-8">
50
+ <a href="#works" class="text-gray-700 hover:text-red-500 transition">Works</a>
51
+ <a href="#resume" class="text-gray-700 hover:text-red-500 transition">Resume</a>
52
+ <a href="#contact" class="text-gray-700 hover:text-red-500 transition">Contact</a>
53
+ </div>
54
  <div class="md:hidden flex items-center">
55
  <button id="menu-toggle" class="text-gray-700">
56
  <i data-feather="menu"></i>
57
  </button>
58
+ </div>
59
+ </div>
60
+ <!-- Art Column (Filtered State) -->
61
+ <div id="art-col-filtered" class="grid grid-cols-1 gap-8" style="display: none;">
62
+ <h3 class="text-2xl font-bold mb-6 text-center">Art</h3>
63
+ <div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm w-full">
64
+ <img src="https://static.wixstatic.com/media/6588f2_24e4126d37144f21863c7c78faba9f93~mv2.jpg" alt="Project 2" class="w-full h-48 object-cover">
65
+ <div class="p-6">
66
+ <h2 class="text-2xl font-bold mb-2">The Fireflies Night</h2>
67
+ <h3 class="text-xl font-semibold mb-2">In the full moonlight, there is a house, where the fireflies lead weary travelers to its doors.</h3>
68
+ <p class="text-gray-600 mb-4">Take control of a powerful mech and engage in intense combat scenarios</p>
69
+ <a href="#" class="text-red-600 hover:text-red-800 font-medium inline-flex items-center">
70
+ View Project
71
+ <i data-feather="arrow-right" class="ml-2"></i>
72
+ </a>
73
+ </div>
74
+ </div>
75
+ <div class="project-card bg-white rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition">
76
+ <img src="http://static.photos/art/640x360/42" alt="Art Project 1" class="w-full h-48 object-cover">
77
+ <div class="p-6">
78
+ <h2 class="text-2xl font-bold mb-2">Concept Art Collection</h2>
79
+ <h3 class="text-xl font-semibold mb-2">Stylized character designs</h3>
80
+ <p class="text-gray-600 mb-4">A series of character concepts for fantasy RPG game</p>
81
+ <a href="#" class="text-red-600 hover:text-red-800 font-medium inline-flex items-center">
82
+ View Project
83
+ <i data-feather="arrow-right" class="ml-2"></i>
84
+ </a>
85
+ </div>
86
+ </div>
87
+ <div class="project-card bg-white rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition">
88
+ <img src="http://static.photos/art/640x360/43" alt="Art Project 2" class="w-full h-48 object-cover">
89
+ <div class="p-6">
90
+ <h2 class="text-2xl font-bold mb-2">Environment Art</h2>
91
+ <h3 class="text-xl font-semibold mb-2">Fantasy landscapes</h3>
92
+ <p class="text-gray-600 mb-4">Digital paintings of magical environments and world-building</p>
93
+ <a href="#" class="text-red-600 hover:text-red-800 font-medium inline-flex items-center">
94
+ View Project
95
+ <i data-feather="arrow-right" class="ml-2"></i>
96
+ </a>
97
  </div>
98
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  </div>
100
+ </div>
101
+ </nav>
102
 
103
  <!-- Mobile Menu -->
104
  <div id="mobile-menu" class="hidden fixed inset-0 bg-white z-40 pt-20 px-4">
 
124
  <a href="#works" class="relative inline-block px-8 py-4 border-2 border-white hover:border-transparent rounded-full font-medium transition-all duration-300 transform hover:scale-105 group overflow-hidden">
125
  <span class="relative z-10 flex items-center hovered-element">View Projects</span>
126
  <span class="absolute inset-0 bg-red-500 opacity-0 group-hover:opacity-40 transition-opacity duration-300 rounded-full hovered-element"></span>
127
+ </a>
128
  <a href="#contact" class="relative inline-block px-8 py-4 border-2 border-white hover:border-transparent rounded-full font-medium transition-all duration-300 transform hover:scale-105 group overflow-hidden">
129
  <span class="relative z-10 hovered-element">Get in Touch</span>
130
  <span class="absolute inset-0 bg-red-500 opacity-0 group-hover:opacity-40 transition-opacity duration-300 rounded-full hovered-element"></span>
131
+ </a>
132
  </div>
133
+ </div>
134
  <div class="absolute bottom-8 left-1/2 transform -translate-x-1/2 animate-bounce">
135
  <i data-feather="chevron-down" class="w-8 h-8"></i>
136
  </div>
137
  </section>
138
+ <style>
139
  .hero-image {
140
  position: relative;
141
  }
142
+
143
+ .hero-image video {
144
+ position: absolute;
145
+ top: 0;
146
+ left: 0;
147
+ width: 100%;
148
+ height: 100%;
149
+ object-fit: cover;
150
+ z-index: 0;
151
+ }
152
+
153
+ .hero-image .content {
154
+ position: relative;
155
+ z-index: 1;
156
+ }
157
+
158
  .bg-orange-500 {
159
  background-color: #ff0000;
160
  }
161
+
162
  .bg-orange-600 {
163
  background-color: #cc0000;
164
  }
165
+
166
  .bg-orange-700 {
167
  background-color: #990000;
168
  }
169
+
170
  .text-orange-500 {
171
  color: #ff0000;
172
  }
173
+
174
  .border-orange-500 {
175
  border-color: #ff0000;
176
  }
177
+
178
  .bg-orange-100 {
179
  background-color: #ffcccc;
180
  }
181
+
182
  .text-orange-800 {
183
  color: #800000;
184
  }
185
+ </style>
186
  <!-- About Section -->
187
  <section id="about" class="py-20 bg-white relative overflow-hidden">
188
  <div class="absolute -right-32 -top-32 w-64 h-64 bg-red-100 rounded-full opacity-20 mix-blend-multiply"></div>
189
  <div class="absolute -left-32 -bottom-32 w-64 h-64 bg-indigo-100 rounded-full opacity-20 mix-blend-multiply"></div>
190
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
191
  <div class="flex flex-col md:flex-row items-center">
192
  <div class="md:w-1/2 mb-10 md:mb-0 md:pr-10 relative z-10">
193
  <h2 class="text-4xl font-bold mb-6 bg-gradient-to-r from-red-600 to-indigo-600 bg-clip-text text-transparent">Hello There!</h2>
194
  <p class="text-xl mb-6 font-medium">My name is <span class="text-red-600">Oskar Lundmark Koblanck</span></p>
195
+ <div class="prose lg:prose-xl">
196
  <p>Hello! My name is Oskar, and I'm a passionate game designer and maker. At 18, my journey into game development took an unexpected start. Initially, I pursued a career as an aircraft mechanic, but as I approached graduation during the COVID-19 pandemic, I decided to follow a passion of mine for game-making.</p>
197
  <p class="mt-4">I began my formal education in game and UX & Game Design in the charming northern town of Skellefteå, Sweden. After two enriching years there (and a few too many cups of coffee and a couple of student parties), I decided to level up my skills and knowledge. This quest led me to Kortrijk, Belgium, where I'm enrolled in the Independent Game Production course at DAE. My diverse background and experiences fuel my ambition to create engaging and immersive gaming experiences, because let's be honest, who doesn't want to escape reality occasionally?</p>
198
  <p class="mt-4">Thank you for visiting my portfolio!</p>
199
  </div>
200
  <a href="https://www.oskarlkportfolio.com/_files/ugd/6588f2_702049f1c21a4c0093148d8d58579f11.pdf" class="mt-6 inline-flex items-center px-6 py-3 border border-red-600 text-red-600 rounded-full hover:bg-red-700 hover:text-white transition">
201
+ Download CV
202
  <i data-feather="download" class="ml-2"></i>
203
  </a>
204
  </div>
205
  <div class="md:w-1/2 flex justify-center">
206
  <div class="relative">
207
+ <img src="https://static.wixstatic.com/media/6588f2_4fd8efde373342ed96ab1e31ce703032~mv2.jpg" alt="Oskar photo" class="rounded-lg shadow-xl w-full max-w-md">
208
+ <img src="https://static.wixstatic.com/media/6588f2_89c0a3ecc407460e9dd1208d6f38f934~mv2.png" alt="Portfolio map" class="absolute -bottom-16 -right-16 w-32 h-32 md:w-48 md:h-48 rounded-full border-4 border-white shadow-lg bg-white">
209
+ </div>
210
+ </div>
211
  </div>
212
  </div>
213
  </section>
 
221
  <div class="bg-white p-8 rounded-xl shadow-sm">
222
  <h3 class="text-xl font-semibold mb-6">Programs</h3>
223
  <div class="grid grid-cols-1 sm:grid-cols-2 gap-6">
224
+ <div class="flex items-start space-x-4">
225
  <img src="https://static.wixstatic.com/media/6588f2_343426c645c343119c7573fe9fc062a2~mv2.png" alt="Github" class="w-12 h-12 skill-icon">
226
  <div>
227
  <h4 class="font-medium">Github</h4>
 
254
  <!-- Education -->
255
  <div class="bg-white p-8 rounded-xl shadow-sm mt-10">
256
  <h3 class="text-xl font-semibold mb-6">Education & Languages</h3>
257
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
258
  <div class="space-y-6">
259
  <div>
260
  <h4 class="font-medium">DEA, Howest - IGP</h4>
 
274
  </div>
275
  </div>
276
  </div>
277
+ </div>
278
  </div>
279
  </section>
280
  <!-- Projects Section -->
281
  <section id="works" class="py-20 bg-gradient-to-b from-white to-gray-50">
282
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
283
  <h2 class="text-3xl font-bold text-center mb-6">Featured Projects</h2>
284
  <div class="flex justify-center space-x-4 mb-16">
285
  <button id="all-btn" class="px-6 py-2 bg-red-600 text-white rounded-full font-medium" onclick="filterProjects('all')">All</button>
 
290
  <!-- Games Column -->
291
  <div id="games-col" class="w-full">
292
  <h3 class="text-3xl font-bold mb-10 text-center">Games</h3>
293
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
294
  <div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm h-full">
295
+ <img src="https://static.wixstatic.com/media/6588f2_d9fdecb14bfc48ac99bd5efed3e1b054~mv2.png" alt="Bap Cat" class="w-full h-48 object-cover">
296
  <div class="p-6">
297
  <h2 class="text-2xl font-bold mb-2">Bap Cat</h2>
298
  <h3 class="text-xl font-semibold mb-2">A game about a cat spreading chaos in their owners cafe</h3>
 
304
  </div>
305
  </div>
306
  <div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm h-full">
307
+ <img src="http://static.photos/gaming/640x360/101" alt="Mech Warrior" class="w-full h-48 object-cover">
308
  <div class="p-6">
309
  <h2 class="text-2xl font-bold mb-2">Mech Warrior</h2>
310
  <h3 class="text-xl font-semibold mb-2">Epic mech battles in futuristic cities</h3>
 
315
  </a>
316
  </div>
317
  </div>
318
+ </div>
319
+ </div>
320
+ <!-- Art Column -->
321
+ <div id="art-col" class="w-full">
322
+ <h3 class="text-3xl font-bold mb-10 text-center">Art</h3>
323
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
324
+ <div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm h-full">
325
+ <img src="https://static.wixstatic.com/media/6588f2_24e4126d37144f21863c7c78faba9f93~mv2.jpg" alt="The Fireflies Night" class="w-full h-48 object-cover">
326
+ <div class="p-6">
327
+ <h2 class="text-2xl font-bold mb-2">The Fireflies Night</h2>
328
+ <h3 class="text-xl font-semibold mb-2">In the full moonlight, there is a house, where the fireflies lead weary travelers to its doors.</h3>
329
+ <p class="text-gray-600 mb-4">Take control of a powerful mech and engage in intense combat scenarios</p>
330
+ <a href="#" class="text-red-600 hover:text-red-800 font-medium inline-flex items-center">
331
+ View Project
332
+ <i data-feather="arrow-right" class="ml-2"></i>
333
+ </a>
334
+ </div>
335
+ </div>
336
  <div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm h-full">
337
+ <img src="http://static.photos/art/640x360/42" alt="Concept Art Collection" class="w-full h-48 object-cover">
338
  <div class="p-6">
339
+ <h2 class="text-2xl font-bold mb-2">Concept Art Collection</h2>
340
+ <h3 class="text-xl font-semibold mb-2">Stylized character designs</h3>
341
+ <p class="text-gray-600 mb-4">A series of character concepts for fantasy RPG game</p>
342
  <a href="#" class="text-red-600 hover:text-red-800 font-medium inline-flex items-center">
343
  View Project
344
  <i data-feather="arrow-right" class="ml-2"></i>
 
347
  </div>
348
  </div>
349
  </div>
350
+ </div>
351
+ <!-- Games Column (Filtered State) -->
352
+ <div id="games-col-filtered" class="w-full" style="display: none;">
353
+ <h3 class="text-3xl font-bold mb-10 text-center">Games</h3>
354
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
355
+ <div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm h-full">
356
+ <img src="https://static.wixstatic.com/media/6588f2_d9fdecb14bfc48ac99bd5efed3e1b054~mv2.png" alt="Project 1" class="w-full h-48 object-cover">
357
+ <div class="p-6">
358
+ <h2 class="text-2xl font-bold mb-2">Bap Cat</h2>
359
+ <h3 class="text-xl font-semibold mb-2">A game about a cat spreading chaos in their owners cafe</h3>
360
+ <p class="text-gray-600 mb-4">Why? Simply because it wants to spend more time with their owner.</p>
361
+ <a href="#" class="text-red-600 hover:text-red-800 font-medium inline-flex items-center">
362
+ View Project
363
+ <i data-feather="arrow-right" class="ml-2"></i>
364
+ </a>
365
+ </div>
366
+ </div>
367
+ <div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm h-full">
368
+ <img src="http://static.photos/gaming/640x360/101" alt="Game Project 1" class="w-full h-48 object-cover">
369
+ <div class="p-6">
370
+ <h2 class="text-2xl font-bold mb-2">Mech Warrior</h2>
371
+ <h3 class="text-xl font-semibold mb-2">Epic mech battles in futuristic cities</h3>
372
+ <p class="text-gray-600 mb-4">Strategic combat game with customizable mech units</p>
373
+ <a href="#" class="text-red-600 hover:text-red-800 font-medium inline-flex items-center">
374
+ View Project
375
+ <i data-feather="arrow-right" class="ml-2"></i>
376
+ </a>
377
+ </div>
378
+ </div>
379
+ <div class="project-card bg-gray-50 rounded-xl overflow-hidden shadow-sm h-full">
380
+ <img src="http://static.photos/gaming/640x360/102" alt="Game Project 2" class="w-full h-48 object-cover">
381
+ <div class="p-6">
382
+ <h2 class="text-2xl font-bold mb-2">Pixel Adventure</h2>
383
+ <h3 class="text-xl font-semibold mb-2">Retro-style platformer with modern mechanics</h3>
384
+ <p class="text-gray-600 mb-4">Explore a vibrant pixel world full of secrets and challenges</p>
385
+ <a href="#" class="text-red-600 hover:text-red-800 font-medium inline-flex items-center">
386
+ View Project
387
+ <i data-feather="arrow-right" class="ml-2"></i>
388
+ </a>
389
+ </div>
390
+ </div>
391
  </div>
392
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
393
  </div>
394
+ <div class="text-center mt-16">
395
+ <a href="#" class="inline-block px-8 py-3 bg-red-600 text-white rounded-full font-medium transition hover:bg-red-700">
396
+ View All Projects
397
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 inline ml-2" viewBox="0 0 20 20" fill="currentColor">
398
+ <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-8.707l-3-3a1 1 0 00-1.414 1.414L10.586 9H7a1 1 0 100 2h3.586l-1.293 1.293a1 1 0 101.414 1.414l3-3a1 1 0 000-1.414z" clip-rule="evenodd" />
399
+ </svg>
 
 
 
400
  </a>
401
  </div>
 
 
 
 
 
 
 
 
 
 
 
402
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
403
  </section>
404
  <!-- Contact Section -->
405
  <section id="contact" class="py-20 bg-red-600 text-white">
406
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
407
  <h2 class="text-3xl font-bold mb-12">Get In Touch</h2>
408
+
409
  <div class="flex flex-col items-center">
410
  <div class="mb-8">
411
  <h3 class="text-xl font-semibold mb-4">Email</h3>
412
  <a href="mailto:Oskar.nr1.one@gmail.com" class="text-xl hover:underline">Oskar.nr1.one@gmail.com</a>
413
  </div>
414
+
415
  <div>
416
  <h3 class="text-xl font-semibold mb-4">Follow Me</h3>
417
  <div class="flex space-x-4 justify-center">
 
426
  </div>
427
  </div>
428
  </section>
429
+ <!-- Footer -->
430
  <footer class="bg-red-800 text-red-100 py-8 hovered-element">
431
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center hovered-element">
432
  <p class="hovered-element">© 2023 Oskar Lundmark Koblanck. All rights reserved.</p>
433
  <p class="mt-2 text-sm hovered-element">Game Designer &amp; Developer</p>
434
  </div>
435
  </footer>
436
+ <script>
437
  // Mobile menu toggle
438
+ document.getElementById('menu-toggle').addEventListener('click', function () {
439
  document.getElementById('mobile-menu').classList.toggle('hidden');
440
  });
441
 
442
  // Close mobile menu when clicking a link
443
  document.querySelectorAll('#mobile-menu a').forEach(link => {
444
+ link.addEventListener('click', function () {
445
  document.getElementById('mobile-menu').classList.add('hidden');
446
  });
447
  });
 
457
  });
458
  // Initialize feather icons
459
  feather.replace();
460
+ // Project filtering functionality
461
+ function filterProjects(filter) {
462
+ const gamesCol = document.getElementById('games-col');
463
+ const artCol = document.getElementById('art-col');
464
+ const gamesBtn = document.getElementById('games-btn');
465
+ const artBtn = document.getElementById('art-btn');
466
+ const allBtn = document.getElementById('all-btn');
467
+
468
+ // Reset all buttons
469
+ gamesBtn.classList.remove('bg-red-600', 'text-white');
470
+ gamesBtn.classList.add('border', 'border-red-600', 'text-red-600');
471
+ artBtn.classList.remove('bg-red-600', 'text-white');
472
+ artBtn.classList.add('border', 'border-red-600', 'text-red-600');
473
+ allBtn.classList.remove('bg-red-600', 'text-white');
474
+ allBtn.classList.add('border', 'border-red-600', 'text-red-600');
475
+
476
+ if (filter === 'games') {
477
+ gamesCol.style.display = 'grid';
478
+ artCol.style.display = 'none';
479
+ gamesBtn.classList.add('bg-red-600', 'text-white');
480
+ gamesBtn.classList.remove('border', 'border-red-600', 'text-red-600');
481
+ } else if (filter === 'art') {
482
+ gamesCol.style.display = 'none';
483
+ artCol.style.display = 'grid';
484
+ artBtn.classList.add('bg-red-600', 'text-white');
485
+ artBtn.classList.remove('border', 'border-red-600', 'text-red-600');
486
+ } else { // all
487
+ gamesCol.style.display = 'grid';
488
+ artCol.style.display = 'grid';
489
+ allBtn.classList.add('bg-red-600', 'text-white');
490
+ allBtn.classList.remove('border', 'border-red-600', 'text-red-600');
491
+ }
492
+ }
493
+ // Initialize with all shown by default
494
+ document.addEventListener('DOMContentLoaded', function () {
 
 
 
 
 
 
 
495
  filterProjects('all');
496
  });
497
+ // Scroll to section function
498
+ function scrollToSection(sectionId) {
499
  if (sectionId === 'hero') {
500
  window.scrollTo({
501
  top: 0,
 
510
  }
511
  }
512
  }
513
+ // Scroll position indicator that moves smoothly with scroll
514
+ function updateScrollIndicator() {
515
+ const indicator = document.getElementById('scroll-indicator');
516
+ const dots = document.querySelectorAll('[data-section]');
517
+ const sections = document.querySelectorAll('section');
518
+ const viewportMiddle = window.scrollY + (window.innerHeight / 2);
519
+
520
+ let activeSection = null;
521
+ let closestDistance = Infinity;
522
+ const positions = {
523
+ 'hero': 10,
524
+ 'about': 30,
525
+ 'skills': 55,
526
+ 'works': 80,
527
+ 'contact': 95
528
+ };
529
+
530
+ // Find which section is currently in focus
531
+ sections.forEach(section => {
532
+ const sectionTop = section.offsetTop;
533
+ const sectionHeight = section.offsetHeight;
534
+ const sectionMiddle = sectionTop + (sectionHeight / 2);
535
+ const distance = Math.abs(viewportMiddle - sectionMiddle);
536
+
537
+ if (distance < closestDistance) {
538
+ closestDistance = distance;
539
+ activeSection = section.id;
540
+ }
541
+ });
542
 
543
+ // Move red indicator to active section
544
+ if (activeSection && positions[activeSection]) {
545
 
546
+ }
547
 
548
+ // Update dot highlighting
549
+ dots.forEach(dot => {
550
+ const section = dot.getAttribute('data-section');
551
+ const innerDot = dot.querySelector('div');
552
+ if (section === activeSection) {
553
  innerDot.classList.add('bg-gray-600', 'hover:bg-gray-700');
554
  innerDot.classList.remove('bg-gray-400', 'hover:bg-gray-500');
555
+ } else {
556
+ innerDot.classList.add('bg-gray-400', 'hover:bg-gray-500');
557
+ innerDot.classList.remove('bg-red-600', 'hover:bg-red-700');
558
+ }
559
+ });
560
  }
561
+ // Add click handlers for section dots (excluding top dot which has separate handler)
562
+ document.querySelectorAll('[data-section]').forEach(dot => {
563
+ dot.addEventListener('click', function () {
564
+ const sectionId = this.getAttribute('data-section');
565
+ scrollToSection(sectionId);
566
+ });
567
+ });
 
 
568
  // Throttle scroll events for performance
569
  let isScrolling;
570
+ window.addEventListener('scroll', function () {
571
  window.clearTimeout(isScrolling);
572
+ isScrolling = setTimeout(function () {
573
  updateScrollIndicator();
574
  }, 16); // ~60fps
575
  }, false);
 
579
  function updateScrollIndicator() {
580
  const sections = document.querySelectorAll('section');
581
  const viewportMiddle = window.scrollY + (window.innerHeight / 2);
582
+
583
  let activeSection = null;
584
  let closestDistance = Infinity;
585
 
 
607
  }
608
  });
609
  }
610
+ </script>
611
  </body>
612
  </html>