eis-website/css/style.css
2026-07-01 12:56:32 +02:00

100 lines
No EOL
1.7 KiB
CSS

/* Grunddesign & Farben */
:root {
--primary: #4f46e5;
--primary-dark: #4338ca;
--text: #1e293b;
--bg: #f8fafc;
--white: #ffffff;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
background-color: var(--bg);
color: var(--text);
}
/* Moderne Navigation */
nav {
background-color: var(--white);
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
padding: 1rem 0;
position: sticky;
top: 0;
}
nav ul {
list-style: none;
display: flex;
justify-content: center;
gap: 2rem;
margin: 0;
padding: 0;
}
nav a {
text-decoration: none;
color: var(--text);
font-weight: 600;
transition: color 0.3s;
}
nav a:hover {
color: var(--primary);
}
/* Layout-Container */
header, main {
max-width: 900px;
margin: 2rem auto;
padding: 0 1.5rem;
}
header {
text-align: center;
border-bottom: 2px solid #e2e8f0;
padding-bottom: 2rem;
}
h1 {
color: var(--primary);
font-size: 2.5rem;
}
/* Responsivität für kleine Bildschirme */
@media (max-width: 600px) {
nav ul {
flex-direction: column;
align-items: center;
gap: 0.5rem;
}
h1 {
font-size: 1.8rem;
}
}
.galerie {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 1rem;
margin: 1rem 0;
}
.galerie img {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 8px;
cursor: pointer;
transition: transform 0.2s;
}
.galerie img:hover {
transform: scale(1.03);
}
.morgen { color: #d97706; } /* warmes Orange */
.tag { color: #16a34a; } /* frisches Grün */
.abend { color: #4338ca; } /* tiefes Blau */