initialer commit

This commit is contained in:
Mara 2026-05-06 22:05:16 +00:00
commit 2e61b6810d
9 changed files with 326 additions and 0 deletions

4
.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
*.save
*.swp
*~
.DS_Store

54
css/style.css Normal file
View file

@ -0,0 +1,54 @@
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
--royal: #003f8a;
--royal-light: #0057c2;
--royal-dark: #001f44;
--white: #f5f8ff;
--muted: rgba(255,255,255,0.45);
}
body { background: var(--royal-dark); color: var(--white); font-family: 'Barlow', sans-serif; min-height: 100vh; }
nav {
display: flex; justify-content: space-between; align-items: center;
padding: 1.2rem 2.5rem;
background: rgba(0,20,60,0.88); backdrop-filter: blur(12px);
border-bottom: 1px solid rgba(255,255,255,0.07);
position: sticky; top: 0; z-index: 100;
}
nav .logo { font-family: 'Bebas Neue', sans-serif; font-size: 1.7rem; letter-spacing: 0.12em; color: #fff; }
nav ul { list-style: none; display: flex; gap: 2rem; }
nav ul a { color: var(--muted); text-decoration: none; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.2s; }
nav ul a:hover, nav ul a.active { color: #fff; }
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; background: linear-gradient(rgba(0,15,40,0.52), rgba(0,15,40,0.52)), url('../img/Hintergrund.jpg') center/cover no-repeat; }
canvas#bg { display: none; }
.hero-content { position: relative; z-index: 2; padding: 0 3rem; max-width: 820px; animation: fadeUp 0.9s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-tag { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 1.2rem; }
.hero h1 {
font-family: 'Bebas Neue', sans-serif; font-size: clamp(3.5rem, 9vw, 7rem);
line-height: 0.95; letter-spacing: 0.03em; color: #fff;
text-shadow: 0 4px 40px rgba(0,80,200,0.7); margin-bottom: 1.6rem;
}
.hero h1 span { color: #7ab3ff; }
.hero p { font-size: 1.05rem; font-weight: 300; color: rgba(255,255,255,0.6); line-height: 1.8; max-width: 480px; margin-bottom: 2.5rem; }
.btn {
display: inline-block; padding: 0.8rem 2.4rem;
background: #fff; color: var(--royal-dark);
font-family: 'Barlow', sans-serif; font-size: 0.82rem; font-weight: 500;
letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn:hover { background: var(--royal-light); color: #fff; transform: translateY(-2px); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1px; background: rgba(255,255,255,0.06); }
.card { background: var(--royal-dark); padding: 2.5rem 2rem; transition: background 0.3s; }
.card:hover { background: var(--royal); }
.card .num { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; color: rgba(255,255,255,0.07); line-height: 1; margin-bottom: 0.8rem; }
.card h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.card p { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.65; font-weight: 300; }
footer { text-align: center; padding: 2rem; font-size: 0.78rem; color: rgba(255,255,255,0.22); border-top: 1px solid rgba(255,255,255,0.07); }
footer a { color: rgba(255,255,255,0.22); text-decoration: none; margin: 0 0.5rem; }
footer a:hover { color: #fff; }

40
eis_projekt.html Normal file
View file

@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> Glück Auf Projekt</title>
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<nav>
<span class="logo">Glück Auf</span>
<ul>
<li><a href="index.html">Start</a></li>
<li><a href="ueber_mich.html">Über mich</a></li>
<li><a href="eis_projekt.html" class="active">Projekt</a></li>
<li><a href="kontakt.html">Kontakt</a></li>
<li><a href="impressum.html">Impressum</a></li>
</ul>
</nav>
<div class="page">
<p class="tag">Glück Auf Projekt</p>
<h1>Mein Projekt.</h1>
<p class="sub">Hier findest du Informationen zu meinem Glück Auf-Lernprojekt.</p>
<div class="content">
<!-- Projektinhalt hier einfügen -->
</div>
</div>
<footer>
<a href="impressum.html">Impressum</a> · <a href="kontakt.html">Kontakt</a>
<p style="margin-top:0.6rem;">© 2026 Glück Auf</p>
</footer>
</body>
</html>

BIN
img/Hintergrund.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

56
impressum.html Normal file
View file

@ -0,0 +1,56 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Impressum</title>
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<nav>
<span class="logo">Glück Auf</span>
<ul>
<li><a href="index.html">Start</a></li>
<li><a href="ueber_mich.html">Über mich</a></li>
<li><a href="eis_projekt.html">Projekt</a></li>
<li><a href="kontakt.html">Kontakt</a></li>
<li><a href="impressum.html" class="active">Impressum</a></li>
</ul>
</nav>
<div class="page">
<p class="tag">Rechtliches</p>
<h1>Impressum</h1>
<section>
<h2>Angaben gemäß § 5 TMG</h2>
<address>Vorname Nachname<br>Musterstraße 1<br>12345 Musterstadt<br>Deutschland</address>
</section>
<section>
<h2>Kontakt</h2>
<p>E-Mail: <a href="mailto:info@beispiel.de">info@beispiel.de</a></p>
</section>
<section>
<h2>Haftung für Inhalte</h2>
<p>Als Diensteanbieter sind wir gemäß § 7 Abs. 1 TMG für eigene Inhalte auf diesen Seiten nach den allgemeinen Gesetzen verantwortlich. Nach §§ 8 bis 10 TMG sind wir als Diensteanbieter jedoch nicht verpflichtet, übermittelte oder gespeicherte fremde Informationen zu überwachen.</p>
</section>
<section>
<h2>Haftung für Links</h2>
<p>Unser Angebot enthält Links zu externen Websites Dritter, auf deren Inhalte wir keinen Einfluss haben. Für die Inhalte der verlinkten Seiten ist stets der jeweilige Anbieter oder Betreiber verantwortlich.</p>
</section>
<section>
<h2>Urheberrecht</h2>
<p>Die durch die Seitenbetreiber erstellten Inhalte und Werke auf diesen Seiten unterliegen dem deutschen Urheberrecht. Vervielfältigung und Verbreitung bedürfen der schriftlichen Zustimmung des jeweiligen Autors.</p>
</section>
</div>
<footer>
<a href="impressum.html">Impressum</a> · <a href="kontakt.html">Kontakt</a>
<p style="margin-top:0.6rem;">© 2026 Glück Auf</p>
</footer>
</body>
</html>

45
index.html Normal file
View file

@ -0,0 +1,45 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Startseite</title>
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<nav>
<span class="logo">Glück Auf</span>
<ul>
<li><a href="index.html" class="active">Start</a></li>
<li><a href="ueber_mich.html">Über mich</a></li>
<li><a href="eis_projekt.html">Projekt</a></li>
<li><a href="kontakt.html">Kontakt</a></li>
<li><a href="impressum.html">Impressum</a></li>
</ul>
</nav>
<section class="hero">
<canvas id="bg"></canvas>
<div class="hero-content">
<p class="hero-tag">Willkommen auf meiner Website</p>
<h1>Meine<br><span>persön&shy;liche</span><br>Seite</h1>
<p>Hier findest du Informationen über mich, meine Projekte und wie du mich erreichen kannst.</p>
<a href="ueber_mich.html" class="btn">Mehr über mich</a>
</div>
</section>
<div class="cards">
<div class="card"><div class="num">01</div><h3>Über mich</h3><p>Lerne mich und meinen Werdegang kennen.</p></div>
<div class="card"><div class="num">02</div><h3>Projekte</h3><p>Ein Überblick über meine bisherigen Arbeiten.</p></div>
<div class="card"><div class="num">03</div><h3>Kontakt</h3><p>Schreib mir ich freue mich über Nachrichten.</p></div>
</div>
<footer>
<a href="impressum.html">Impressum</a> · <a href="kontakt.html">Kontakt</a>
<p style="margin-top:0.6rem;">© 2026 Glück Auf</p>
</footer>
<script src="script.js"></script>
</body>
</html>

43
js/script.js Normal file
View file

@ -0,0 +1,43 @@
console.log("Meine Seite läuft!");
const canvas = document.getElementById('bg');
const ctx = canvas.getContext('2d');
let W, H, particles = [];
function resize() { W = canvas.width = canvas.offsetWidth; H = canvas.height = canvas.offsetHeight; }
function createParticles() {
particles = [];
const count = Math.floor(W * H / 6500);
for (let i = 0; i < count; i++) {
particles.push({ x: Math.random()*W, y: Math.random()*H, r: Math.random()*1.8+0.4,
dx: (Math.random()-0.5)*0.3, dy: (Math.random()-0.5)*0.3, alpha: Math.random()*0.5+0.1 });
}
}
function drawBg() {
const g = ctx.createRadialGradient(W*0.3, H*0.4, 0, W*0.3, H*0.4, W*0.85);
g.addColorStop(0, '#0057c2'); g.addColorStop(0.5, '#001f44'); g.addColorStop(1, '#000d22');
ctx.fillStyle = g; ctx.fillRect(0,0,W,H);
const g2 = ctx.createRadialGradient(W*0.82, H*0.72, 0, W*0.82, H*0.72, W*0.5);
g2.addColorStop(0, 'rgba(0,55,150,0.45)'); g2.addColorStop(1, 'transparent');
ctx.fillStyle = g2; ctx.fillRect(0,0,W,H);
}
function animate() {
ctx.clearRect(0,0,W,H); drawBg();
ctx.lineWidth = 1;
for (let i = 0; i < particles.length; i++) {
for (let j = i+1; j < particles.length; j++) {
const dx = particles[i].x-particles[j].x, dy = particles[i].y-particles[j].y;
const d = Math.sqrt(dx*dx+dy*dy);
if (d < 120) { ctx.globalAlpha = (1-d/120)*0.12; ctx.strokeStyle='#fff'; ctx.beginPath(); ctx.moveTo(particles[i].x,particles[i].y); ctx.lineTo(particles[j].x,particles[j].y); ctx.stroke(); }
}
}
ctx.globalAlpha = 1;
particles.forEach(p => {
p.x+=p.dx; p.y+=p.dy;
if(p.x<0||p.x>W) p.dx*=-1; if(p.y<0||p.y>H) p.dy*=-1;
ctx.beginPath(); ctx.arc(p.x,p.y,p.r,0,Math.PI*2);
ctx.fillStyle=`rgba(255,255,255,${p.alpha})`; ctx.fill();
});
requestAnimationFrame(animate);
}
window.addEventListener('resize', ()=>{ resize(); createParticles(); });
resize(); createParticles(); animate();

41
kontakt.html Normal file
View file

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Kontakt</title>
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<nav>
<span class="logo">Glück Auf</span>
<ul>
<li><a href="index.html">Start</a></li>
<li><a href="ueber_mich.html">Über mich</a></li>
<li><a href="eis_projekt.html">Projekt</a></li>
<li><a href="kontakt.html" class="active">Kontakt</a></li>
<li><a href="impressum.html">Impressum</a></li>
</ul>
</nav>
<div class="page">
<p class="tag">Kontakt</p>
<h1>Schreib mir.</h1>
<p class="sub">Ich freue mich über jede Nachricht egal ob Frage, Zusammenarbeit oder einfach Hallo.</p>
<div class="form-group"><label for="name">Name</label><input type="text" id="name" placeholder="Dein Name"></div>
<div class="form-group"><label for="email">E-Mail</label><input type="email" id="email" placeholder="deine@email.de"></div>
<div class="form-group"><label for="msg">Nachricht</label><textarea id="msg" placeholder="Deine Nachricht..."></textarea></div>
<button type="button">Absenden</button>
</div>
<footer>
<a href="impressum.html">Impressum</a> · <a href="kontakt.html">Kontakt</a>
<p style="margin-top:0.6rem;">© 2026 Glück Auf</p>
</footer>
</body>
</html>

43
ueber_mich.html Normal file
View file

@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Über mich</title>
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<nav>
<span class="logo">Glück Auf</span>
<ul>
<li><a href="index.html">Start</a></li>
<li><a href="ueber_mich.html" class="active">Über mich</a></li>
<li><a href="eis_projekt.html">Projekt</a></li>
<li><a href="kontakt.html">Kontakt</a></li>
<li><a href="impressum.html">Impressum</a></li>
</ul>
</nav>
<div class="page">
<p class="tag">Über mich</p>
<h1>Hallo, ich bin Mara.</h1>
<p class="bio">Ich weiß noch nicht, was ich preisgeben will.</p>
<p class="bio"> Gib mir bitte noch etwas Zeit!</p>
<hr>
<p class="skills-label">Kenntnisse</p>
<div class="skills">
<span class="skill">HTML</span>
<span class="skill">CSS</span>
<span class="skill">JavaScript</span>
<span class="skill">Webdesign</span>
<span class="skill">Linux</span>
</div>
</div>
<footer>
<a href="impressum.html">Impressum</a> · <a href="kontakt.html">Kontakt</a>
<p style="margin-top:0.6rem;">© 2026 Glück Auf</p>
</footer>
</body>
</html>