Files
Gallus_Pub/Gallus_Pub_v1/styles/index.css

216 lines
3.2 KiB
CSS

/* === Global Reset === */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Georgia', serif;
background-color: #1f1414;
color: #f5f5f5;
line-height: 1.6;
}
/* === Container für zentralen Content === */
.container {
max-width: 1140px;
margin: 0 auto;
padding: 0 1rem;
}
/* === Header & Nav === */
.header {
background-color: #0e0c0c;
display: flex;
align-items: center;
justify-content: space-between;
padding: 1rem 2rem;
border-bottom: 1px solid #444;
}
.nav-main {
display: flex;
align-items: center;
margin-right: 377px;
}
.nav-main a,
.dropdbtn {
margin: 0 1rem;
color: white;
text-decoration: none;
font-size: 1rem;
cursor: pointer;
}
.nav-main a:hover,
.dropdbtn:hover {
color: #ffa500;
}
/* Dropdown für Home */
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #0e0c0c;
min-width: 160px;
z-index: 1;
border: 1px solid #444;
border-radius: 4px;
}
.dropdown-content a {
color: #f5f5f5;
padding: 0.5rem 1rem;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {
background-color: #1f1a1a;
color: #ffa500;
}
.dropdown:hover .dropdown-content {
display: block;
}
/* === Hero === */
.hero {
position: relative;
height: 70vh;
display: flex;
align-items: center;
justify-content: center;
color: white;
margin-bottom: 2rem;
}
.hero-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
}
.hero-content {
position: relative;
text-align: center;
z-index: 1;
}
.hero-content h1 {
font-size: 4rem;
font-weight: bold;
}
.hero-content p {
margin: 0.5rem 0 1rem 0;
font-size: 1.2rem;
}
.button {
margin-top: 2rem;
padding: 0.8rem 2rem;
background: linear-gradient(45deg, #ffa500, #ff7f00);
color: white;
border: none;
border-radius: 30px;
font-size: 1rem;
font-weight: bold;
text-decoration: none;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
transition: transform 0.2s, box-shadow 0.2s;
}
.button:hover {
transform: translateY(-3px);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
/* === Welcome === */
.welcome {
display: flex;
flex-wrap: wrap;
align-items: center;
background-color: #1f3a2d;
padding: 3rem 0;
margin-bottom: 2rem;
gap: 2rem;
}
.welcome-text {
order: 1;
flex: 2 1 400px;
padding: 0 1.6rem 0 2rem;
color: #fff3e0;
}
.welcome-text h2 {
font-size: 2.5rem;
margin-bottom: 1rem;
color: #e8c6a7;
}
.welcome-text ul {
margin: 1rem 0;
padding-left: 1.2rem;
}
.welcome-image {
order: 2;
flex: 1 1 300px;
}
.welcome-image img {
width: 100%;
height: auto;
border-radius: 8px;
}
/* === Events Grid === */
.events-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 2rem;
margin: 3rem 0;
}
.event-card {
background-color: #2a2a2a;
padding: 1.5rem;
border-radius: 8px;
transition: transform 0.2s;
}
.event-card:hover {
transform: translateY(-5px);
}
.event-card h3 {
margin-bottom: 0.5rem;
color: #ffa500;
}
.event-card .date {
font-size: 0.9rem;
color: #ccc;
margin-bottom: 1rem;
}
.event-card .description {
font-size: 1rem;
color: #eee;
}
/* === Footer === */
.footer {
text-align: center;
padding: 1.5rem 0;
background-color: #0e0c0c;
color: #aaa;
margin-top: 4rem;
}