Compare commits
5 Commits
landingpag
...
spacing-fi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
49a4cd77d1 | ||
| ff4f59157e | |||
|
|
0cd13e91d8 | ||
|
|
4627f25b86 | ||
| 269a03fbad |
@@ -8,13 +8,12 @@ services:
|
||||
- DOMAIN_MAIN=${DOMAIN_MAIN}
|
||||
#- NGINX_ENVSUBST_OUTPUT_DIR=/usr/share/nginx/html
|
||||
volumes:
|
||||
- ./html/index.html:/var/www/html/index.html:ro
|
||||
|
||||
- ./html/index.html:/usr/share/nginx/html/index.html:ro
|
||||
- ./html/style.css:/usr/share/nginx/html/style.css:ro
|
||||
# Wir mounten das Template - Nginx macht daraus beim Start die echte index.html
|
||||
#- ./html/index.html.template:/etc/nginx/templates/index.html.template:ro
|
||||
|
||||
|
||||
#- ./html/crl.pem:/var/www/html/crl.pem:ro
|
||||
#- ./html/crl.pem:/usr/share/nginx/html/crl.pem:ro
|
||||
#- ./nginx/crl.conf:/etc/nginx/conf.d/crl.conf:ro
|
||||
networks:
|
||||
|
||||
@@ -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>
|
||||
360
html/style.css
Normal file
360
html/style.css
Normal file
@@ -0,0 +1,360 @@
|
||||
/* ==========================================
|
||||
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 {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
2. HEADER & NAVIGATION
|
||||
========================================== */
|
||||
header {
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
backdrop-filter: blur(10px);
|
||||
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 1rem 0;
|
||||
}
|
||||
|
||||
.logo {
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
color: #667eea;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
display: flex;
|
||||
gap: 2rem;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.nav-links a {
|
||||
color: #333;
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
transition: color 0.3s;
|
||||
}
|
||||
|
||||
.nav-links a:hover {
|
||||
color: #667eea;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
color: white;
|
||||
padding-top: 80px;
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
max-width: 800px;
|
||||
}
|
||||
|
||||
.hero h1 {
|
||||
font-size: 3.5rem;
|
||||
margin-bottom: 1rem;
|
||||
background: linear-gradient(45deg, #091e7a, #667eea);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.hero p {
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 2rem;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
4. BUTTONS & CTAs
|
||||
========================================== */
|
||||
.cta-button {
|
||||
display: inline-block;
|
||||
background: #667eea;
|
||||
color: white;
|
||||
padding: 1rem 2rem;
|
||||
text-decoration: none;
|
||||
border-radius: 50px;
|
||||
font-weight: bold;
|
||||
transition: transform 0.3s, box-shadow 0.3s;
|
||||
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
|
||||
}
|
||||
|
||||
.cta-button:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
|
||||
}
|
||||
|
||||
.demo-buttons {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
justify-content: center;
|
||||
margin-top: 2rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.demo-button {
|
||||
background: #667eea;
|
||||
color: white;
|
||||
padding: 0.8rem 1.5rem;
|
||||
text-decoration: none;
|
||||
border-radius: 25px;
|
||||
font-weight: 500;
|
||||
transition: background 0.3s, transform 0.3s;
|
||||
}
|
||||
|
||||
.demo-button:hover {
|
||||
background: #5a6fd8;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
5. SECTIONS & CONTENT CARDS
|
||||
========================================== */
|
||||
section {
|
||||
padding: 5rem 0;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.section-dark {
|
||||
background: #f8f9fa;
|
||||
}
|
||||
|
||||
h2 {
|
||||
text-align: center;
|
||||
font-size: 2.5rem;
|
||||
margin-bottom: 3rem;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.about-text {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
font-size: 1.1rem;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.projects, .tech-features {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
gap: 2rem;
|
||||
margin-top: 3rem;
|
||||
}
|
||||
|
||||
.project-card, .tech-card {
|
||||
background: white;
|
||||
border-radius: 15px;
|
||||
padding: 2rem;
|
||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
||||
transition: transform 0.3s, box-shadow 0.3s;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.project-card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.project-card h3, .tech-card h3 {
|
||||
color: #667eea;
|
||||
margin-bottom: 1rem;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.project-card p, .tech-card p {
|
||||
color: #666;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* ==========================================
|
||||
6. FOOTER
|
||||
========================================== */
|
||||
footer {
|
||||
background: #333;
|
||||
color: white;
|
||||
text-align: center;
|
||||
padding: 3rem 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.footer-links {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 2rem;
|
||||
margin-bottom: 1.5rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.footer-links a {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
transition: opacity 0.3s;
|
||||
}
|
||||
|
||||
.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) {
|
||||
/* 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