Compare commits
3 Commits
4627f25b86
...
spacing-fi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
49a4cd77d1 | ||
| ff4f59157e | |||
|
|
0cd13e91d8 |
@@ -12,7 +12,12 @@
|
||||
<header>
|
||||
<nav class="container">
|
||||
<a href="#" class="logo">Ground Zero Lab</a>
|
||||
<ul class="nav-links">
|
||||
<div class="hamburger" onclick="toggleHamburger()">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
<ul class="nav-links" id="navLinks">
|
||||
<li><a href="#about">Über Uns</a></li>
|
||||
<li><a href="#projects">Projekte</a></li>
|
||||
<li><a href="#tech">Technologie</a></li>
|
||||
@@ -134,6 +139,9 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Separator Line zwischen Content und Footer -->
|
||||
<div class="separator-line"></div>
|
||||
|
||||
<footer>
|
||||
<div class="container">
|
||||
<p>Ground Zero Lab - KI für kritische Wahrheit</p>
|
||||
@@ -147,5 +155,28 @@
|
||||
<p>© 2026 Ground Zero Lab</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
function toggleHamburger() {
|
||||
const navLinks = document.getElementById('navLinks');
|
||||
navLinks.classList.toggle('mobile-open');
|
||||
|
||||
const hamburger = document.querySelector('.hamburger');
|
||||
hamburger.classList.toggle('active');
|
||||
}
|
||||
|
||||
// Close mobile menu when clicking on a link
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
const navLinks = document.getElementById('navLinks');
|
||||
const links = navLinks.querySelectorAll('a');
|
||||
|
||||
links.forEach(link => {
|
||||
link.addEventListener('click', function() {
|
||||
navLinks.classList.remove('mobile-open');
|
||||
document.querySelector('.hamburger').classList.remove('active');
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
181
html/style.css
181
html/style.css
@@ -1,15 +1,22 @@
|
||||
/* Reset & Base Styles */
|
||||
/* ==========================================
|
||||
1. RESET & BASIS STILE
|
||||
========================================== */
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
line-height: 1.6;
|
||||
color: #333;
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.container {
|
||||
@@ -18,7 +25,9 @@ body {
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
/* Header & Navigation */
|
||||
/* ==========================================
|
||||
2. HEADER & NAVIGATION
|
||||
========================================== */
|
||||
header {
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
backdrop-filter: blur(10px);
|
||||
@@ -52,6 +61,7 @@ nav {
|
||||
.nav-links a {
|
||||
color: #333;
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
transition: color 0.3s;
|
||||
}
|
||||
|
||||
@@ -59,7 +69,27 @@ nav {
|
||||
color: #667eea;
|
||||
}
|
||||
|
||||
/* Hero Section */
|
||||
/* Hamburger Icon (Standard versteckt) */
|
||||
.hamburger {
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
cursor: pointer;
|
||||
gap: 5px;
|
||||
z-index: 1100;
|
||||
}
|
||||
|
||||
.hamburger span {
|
||||
display: block;
|
||||
width: 25px;
|
||||
height: 3px;
|
||||
background-color: #667eea;
|
||||
border-radius: 3px;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
3. HERO SECTION
|
||||
========================================== */
|
||||
.hero {
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
@@ -81,6 +111,7 @@ nav {
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.hero p {
|
||||
@@ -89,7 +120,9 @@ nav {
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
/* ==========================================
|
||||
4. BUTTONS & CTAs
|
||||
========================================== */
|
||||
.cta-button {
|
||||
display: inline-block;
|
||||
background: #667eea;
|
||||
@@ -130,7 +163,9 @@ nav {
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
/* Sections General */
|
||||
/* ==========================================
|
||||
5. SECTIONS & CONTENT CARDS
|
||||
========================================== */
|
||||
section {
|
||||
padding: 5rem 0;
|
||||
background: white;
|
||||
@@ -155,7 +190,6 @@ h2 {
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
/* Project & Tech Cards */
|
||||
.projects, .tech-features {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
@@ -188,32 +222,22 @@ h2 {
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* Community & FAQ Styles */
|
||||
.demo-section, .community {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.faq-item {
|
||||
background: white;
|
||||
border-radius: 10px;
|
||||
padding: 1.5rem;
|
||||
margin-bottom: 1rem;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
/* ==========================================
|
||||
6. FOOTER
|
||||
========================================== */
|
||||
footer {
|
||||
background: #333;
|
||||
color: white;
|
||||
text-align: center;
|
||||
padding: 2rem 0;
|
||||
padding: 3rem 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.footer-links {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 2rem;
|
||||
margin-bottom: 1rem;
|
||||
margin-bottom: 1.5rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
@@ -223,25 +247,114 @@ footer {
|
||||
transition: opacity 0.3s;
|
||||
}
|
||||
|
||||
/* Responsiveness */
|
||||
.footer-links a:hover {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
/* Separator Line zwischen Content und Footer */
|
||||
footer::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -2px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 100px;
|
||||
height: 2px;
|
||||
background: linear-gradient(90deg, transparent, #667eea, transparent);
|
||||
border-radius: 1px;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
7. MOBILE RESPONSIVENESS (BREAKPOINTS)
|
||||
========================================== */
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.hero h1 {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
.hero p {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
nav {
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
/* Zeige Hamburger-Icon */
|
||||
.hamburger {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
/* Verwandle Nav-Links in Dropdown */
|
||||
.nav-links {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
background: rgba(255, 255, 255, 0.98);
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
max-height: 0;
|
||||
overflow: hidden;
|
||||
transition: max-height 0.4s ease-in-out;
|
||||
box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
/* Wenn Menü offen ist */
|
||||
.nav-links.mobile-open {
|
||||
max-height: 500px;
|
||||
}
|
||||
|
||||
.nav-links li {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
.nav-links a {
|
||||
padding: 1.2rem;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Hamburger Animation zum X */
|
||||
.hamburger.active span:nth-child(1) {
|
||||
transform: translateY(8px) rotate(45deg);
|
||||
}
|
||||
.hamburger.active span:nth-child(2) {
|
||||
opacity: 0;
|
||||
}
|
||||
.hamburger.active span:nth-child(3) {
|
||||
transform: translateY(-8px) rotate(-45deg);
|
||||
}
|
||||
|
||||
/* Hero Text für Mobile */
|
||||
.hero h1 {
|
||||
font-size: 2.2rem;
|
||||
}
|
||||
.hero p {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Tablet Portrait */
|
||||
@media (min-width: 769px) and (max-width: 1024px) {
|
||||
section {
|
||||
padding: 4rem 0;
|
||||
}
|
||||
|
||||
footer {
|
||||
padding: 2.5rem 0;
|
||||
}
|
||||
|
||||
.demo-buttons {
|
||||
gap: 0.8rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Desktop */
|
||||
@media (min-width: 1025px) {
|
||||
section {
|
||||
padding: 5rem 0;
|
||||
}
|
||||
|
||||
footer {
|
||||
padding: 3rem 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Extra Large Desktop */
|
||||
@media (min-width: 1400px) {
|
||||
.container {
|
||||
max-width: 1400px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user