
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f4f4f4;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
}

header .header-container {
    display: flex; /* Aligne les enfants sur la même ligne */
    justify-content: space-between; /* Espacement entre le logo et le menu */
    align-items: center; /* Aligner verticalement au centre */
    padding: 10px 0; /* Ajoute un peu de padding en haut et en bas */
}

header .logo {
    display: flex; /* Aligne l'image et le texte du logo sur une ligne */
    flex-direction: column;
    align-items: center; /* Centre verticalement l'image et le texte */
    padding: 5px 10px; /* Ajoute un peu d'espace autour du logo */
    background-color: #fff; /* Fond blanc */
    border-radius: 8px; /* Coins arrondis */
    text-decoration: none; /* Supprime la décoration du lien */
}

header .logo p {
    text-align: center;
    color: #4a97d2; /* Couleur du texte */
    font-size: 24px ; /* Taille du texte */
    font-weight: bold; /* Épaisseur du texte */
}

header nav {
    float: right;
    font-size: x-large;
    padding: 4%;
}

header nav ul {
    list-style: none;
}

header nav ul li {
    display: inline;
    margin-left: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

header nav ul li a:hover {
    text-decoration: underline;
}

main {
    flex: 1;
}
.hero {
    background: #5C5240;
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
}

.about {
    padding: 2rem 0;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about p {
    font-size: 1.1rem;
    width: 75%;
    margin: auto;
}

.projects {
    background: #fff;
    padding: 2rem 0;
}

.projects h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.project-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.project-card {
    background: #f4f4f4;
    padding: 1.5rem;
    margin: 1rem;
    border: 1px solid #ddd;
    width: 30%;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.project-card h3 {
    margin-bottom: 1rem;
}

.project-card p {
    margin-bottom: 1.5rem;
}

.project-card .button {
    background: #5C5240;
    color: #fff;
    padding: 0.7rem 1.2rem;
    text-decoration: none;
    border-radius: 5px;
}

.project-card .button:hover {
    background: #333;
}


footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

footer .menu_footer ul {
    list-style: none;
    padding: 0;
}

footer .menu_footer ul li {
    display: inline;
    margin-right: 20px;
}

footer .menu_footer ul li a {
    color: #fff;
    text-decoration: none;
}

footer .menu_footer ul li a:hover {
    text-decoration: underline;
}

footer .copyright {
    margin-top: 1rem;
    font-size: 0.9rem;
}
