eis-website/css/style.css

244 lines
No EOL
3.6 KiB
CSS

* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Segoe UI', Arial, sans-serif;
color: #333;
background-color: #fff;
line-height: 1.6;
}
nav {
display: flex;
gap: 1.5rem;
padding: 1rem 2rem;
background: #fff;
border-bottom: 1px solid #e2e8f0;
box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
nav a {
text-decoration: none;
color: #003366;
font-weight: 500;
}
nav a:hover { text-decoration: underline; }
main {
max-width: 860px;
margin: 2rem auto;
padding: 0 1.5rem;
}
h1 {
color: #003366;
font-size: 4rem;
font-weight: 700;
margin-top: 2rem;
margin-bottom: 1rem;
letter-spacing: -0.5px;
}
h2 {
font-size: 1.4rem;
color: #444;
margin-top: 35px;
margin-bottom: 15px;
}
p {
font-size: 1.1rem;
margin-bottom: 25px;
}
.galerie {
display: flex;
flex-wrap: wrap;
gap: 16px;
margin-top: 20px;
}
.galerie img {
width: 100%;
max-width: 420px;
height: 200px;
object-fit: cover;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
transition: transform 0.3s ease;
}
.galerie img:hover {
transform: scale(1.03);
}
.btn {
display: inline-block;
margin-top: 30px;
padding: 12px 30px;
background-color: #2563eb;
color: #fff;
text-decoration: none;
border-radius: 6px;
font-weight: 600;
transition: background 0.3s ease;
}
.btn:hover {
background-color: #1a4aaa;
}
footer {
text-align: center;
padding: 2rem;
font-size: 0.85rem;
color: #64748b;
border-top: 1px solid #e2e8f0;
margin-top: 4rem;
}
/* Logo in Nav */
.nav-logo {
display: flex;
align-items: center;
margin-right: 1rem;
}
.logo {
height: 40px;
width: auto;
}
/* Galerien nebeneinander */
.galerien-wrapper {
display: flex;
gap: 2rem;
margin-top: 2rem;
flex-wrap: wrap;
}
.slideshow-container {
flex: 1;
min-width: 220px;
max-width: 300px;
}
.slideshow-container h2 {
margin-bottom: 0.75rem;
}
/* Slideshow */
.slideshow {
position: relative;
overflow: hidden;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.slide {
display: none;
}
.slide.active {
display: block;
}
.slide img {
width: 100%;
height: 380px;
object-fit: contain;
border-radius: 8px;
display: block;
background-color: #f0f4f8;
}
.prev, .next {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(0,0,0,0.4);
color: #fff;
border: none;
padding: 8px 14px;
cursor: pointer;
font-size: 1.2rem;
border-radius: 4px;
transition: background 0.2s;
z-index: 10;
}
.prev { left: 8px; }
.next { right: 8px; }
.prev:hover, .next:hover { background: rgba(0,0,0,0.7); }
.dots {
text-align: center;
padding: 10px 0 6px;
background: rgba(255,255,255,0.85);
}
.dot {
display: inline-block;
width: 10px;
height: 10px;
margin: 0 4px;
background: #ccc;
border-radius: 50%;
cursor: pointer;
transition: background 0.3s;
}
.dot.active { background: #2563eb; }
/* Notenrechner */
.rechner-box {
display: flex;
flex-direction: column;
gap: 1rem;
max-width: 400px;
margin-top: 2rem;
}
.rechner-feld {
display: flex;
flex-direction: column;
gap: 0.4rem;
}
.rechner-feld label {
font-weight: 600;
color: #003366;
}
.rechner-feld input {
padding: 10px 14px;
border: 1px solid #e2e8f0;
border-radius: 6px;
font-size: 1rem;
outline: none;
}
.rechner-feld input:focus {
border-color: #2563eb;
}
.ergebnis-box {
margin-top: 2rem;
padding: 1.2rem 1.5rem;
background: #f0f4ff;
border-left: 4px solid #2563eb;
border-radius: 6px;
max-width: 400px;
}
.ergebnis-box p {
font-size: 1.1rem;
font-weight: 600;
color: #003366;
margin: 0;
}