/* style_3.css */

:root {
    --primary-color: #2c3e50;
    --accent-color: #3498db;
    --text-color: #333;
    --bg-color: #f4f7f6;
    --card-bg: #ffffff;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.citiesContainer {
    max-width: 800px;
    width: 100%;
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

h1 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

.citiesIntro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 40px;
}

.cityList {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.cityList li {
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 2px;
    transition: var(--transition);
}

.cityList li:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

.link {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
}

.link:hover {
    color: var(--accent-color);
}

.backHome {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.backHome a {
    text-decoration: none;
    color: #7f8c8d;
    font-weight: bold;
    transition: var(--transition);
}

.backHome a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Responsive Anpassungen */
@media (max-width: 600px) {
    .citiesContainer {
        padding: 20px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .cityList {
        grid-template-columns: 1fr;
    }
}
