# Create the CSS content for the site vitrine MIO
css_content = """
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

header img {
    height: 60px;
    margin-right: 1rem;
}

header h1 {
    display: inline;
    font-size: 1.5rem;
}

nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 1rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

main {
    padding: 2rem;
}

section {
    margin-bottom: 2rem;
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

section h2 {
    color: #333;
}

section ul {
    list-style: disc;
    padding-left: 1.5rem;
}

section ul li {
    margin-bottom: 0.5rem;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.2rem;
    }

    nav ul li {
        display: block;
        margin: 0.5rem 0;
    }

    main {
        padding: 1rem;
    }
}
"""

# Write the CSS content to the styles.css file
with open("styles.css", "w") as file:
    file.write(css_content)

print("The styles.css file has been created successfully.")

