/*
Theme Name: IEW Theme
Theme URI: http://example.com/iew-theme
Author: Dein Name
Author URI: http://example.com
Description: Ein WordPress-Theme für die Interessengemeinschaft Essener Wirtschaft e.V.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iew-theme
*/
# Save the updated WordPress theme stylesheet to a downloadable file
file_path = "/mnt/data/style.css"

wordpress_theme_css = """/*
Theme Name: Mein Theme
Theme URI: https://example.com/mein-theme
Author: Ihr Name
Author URI: https://example.com
Description: Ein benutzerdefiniertes WordPress-Theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mein-theme
*/

/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    margin: 0;
    color: #004080;
}

p {
    margin: 10px 0;
}

a {
    text-decoration: none;
    color: #004080;
}

button, .button {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-align: center;
    font-size: 1rem;
    cursor: pointer;
}

.button.primary {
    background-color: #007BFF;
    color: #fff;
}

.button.secondary {
    background-color: #28a745;
    color: #fff;
}

.button:hover {
    opacity: 0.8;
}

/* Header Styles */
.header {
    background: url('https://claudia.iew.hsnetworks.de/wp-content/uploads/2024/12/102_Skyline-c-Peter-Prengel-bearbeitet-scaled.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.header .logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.2rem;
}

.cta-buttons a {
    margin: 10px;
}

/* Section Styles */
section {
    padding: 40px 20px;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.welcome .text {
    flex: 1;
}

.welcome img {
    max-width: 900px;
    border-radius: 20px;
}

.services .cards {
    display: flex;
    gap: 20px;
}

.services .card {
    flex: 1;
    padding: 20px;
    background-color: #f0f8ff;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.projects .project-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
}

.projects .project {
    min-width: 300px;
    padding: 20px;
    background-color: #e6f7ff;
    border-radius: 8px;
}

.events .event {
    flex: 1;
	padding: 20px;
    background-color: #e6f7ff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
.footer {
    background-color: #004080;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

.footer .footer-links {
    list-style: none;
    padding: 0;
}

.footer .footer-links li {
    display: inline;
    margin: 0 10px;
}

.footer .footer-links a {
    color: #fff;
    font-weight: bold;
}
"""

with open(file_path, "w") as file:
    file.write(wordpress_theme_css)

file_path

