79 lines
1.4 KiB
CSS
79 lines
1.4 KiB
CSS
/* 1. SCHRIFTART & HINTERGRUND */
|
|
body {
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
background-color: #f0f4f8; /* Heller, sauberer Hintergrund */
|
|
color: #333;
|
|
margin: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* 2. BUTTONS (in der Nav) */
|
|
nav a {
|
|
display: inline-block;
|
|
text-decoration: none;
|
|
background-color: #2563eb; /* Blau */
|
|
color: white;
|
|
padding: 10px 20px;
|
|
border-radius: 5px;
|
|
font-weight: bold;
|
|
transition: background 0.3s;
|
|
}
|
|
|
|
nav a:hover {
|
|
background-color: #1d4ed8; /* Dunkleres Blau bei Hover */
|
|
}
|
|
|
|
/* 3. RESPONSIVE NAVIGATION */
|
|
nav {
|
|
background-color: white;
|
|
padding: 1rem;
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 15px;
|
|
border-bottom: 1px solid #ddd;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
nav {
|
|
flex-direction: column; /* Stapelt Buttons auf Handys */
|
|
align-items: center;
|
|
}
|
|
|
|
nav a {
|
|
width: 80%; /* Buttons werden auf Handy breiter */
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
/* 4. CONTENT BEREICH (Main) */
|
|
main {
|
|
flex: 1;
|
|
padding: 20px;
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* 5. RESPONSIVE FOOTER */
|
|
footer {
|
|
background-color: #1e293b; /* Dunkles Grau/Blau */
|
|
color: white;
|
|
padding: 20px;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
footer a {
|
|
color: #fbbf24; /* Akzentfarbe für Links im Footer */
|
|
text-decoration: none;
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
footer {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
}
|
|
} |