/* ===== Style général ===== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Header */
header {
    background-color: #007BFF;
    color: white;
    padding: 20px 0;
    text-align: center;
    position: relative;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

#menu-toggle {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 15px;
    background-color: #0056b3;
    color: white;
    border: none;
    cursor: pointer;
}

/* Nav */
nav {
    background-color: #0056b3;
    display: flex;
    justify-content: center;
}

nav a {
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    transition: background 0.3s;
}

nav a:hover {
    background-color: #003d80;
}

/* Sections */
section {
    padding: 40px 20px;
    max-width: 900px;
    margin: auto;
    background-color: white;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

h2 {
    color: #007BFF;
    margin-bottom: 20px;
}

/* About */
.about img {
    max-width: 200px;
    border-radius: 50%;
    float: left;
    margin-right: 20px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #007BFF;
    color: white;
}

/* Responsive */
@media (max-width: 600px) {
    .about img {
        float: none;
        display: block;
        margin: 0 auto 20px;
    }
    nav {
        flex-direction: column;
        display: none;
    }
    #menu-toggle {
        display: block;
    }
}
/* Style pour les projets */
.project {
    margin-bottom: 40px;
    text-align: center;
}

.project img {
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.project p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.project .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
}

.project .btn:hover {
    background-color: #0056b3;
}
