body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0a192f;
    color: #ccd6f6;
}

/* Header */
header {
    display: flex;
    justify-content: space-between ;
    align-items: center;
    padding: 15px 5%;
    background-color: rgba(10, 25, 47, 0.9);
    position: fixed;
    width: 90%;
    top: 0;
    z-index: 1000;
}

.logo img {
    width: 50px; /* Ajuste la taille du logo */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    text-decoration: none;
    color: #64ffda;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s;
    padding: 10px 15px;
}

nav ul li a:hover {
    color: #8892b0;
}

/* Responsive pour mobile */
@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        padding: 10px 5%;
    }

    .logo img {
        width: 40px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    nav ul li a {
        display: block;
        padding: 8px;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: url('background.jpg') no-repeat center center/cover; */
    text-align: center;
}

.hero-text h1 {
    font-size: 3rem;
    color: #64ffda;
}

.hero-text h2 {
    font-size: 2rem;
}

.hero-text h3 {
    font-size: 1.5rem;
    color: #8892b0;
}

.hero-text p {
    max-width: 600px;
    margin: 20px auto;
}

/* Section Works */
#works {
    padding: 80px 20px;
    text-align: center;
}

#works h2 {
    font-size: 2.5rem;
    color: #64ffda;
}

.projects {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.project-card {
    background-color: #112240;
    border-radius: 10px;
    padding: 20px;
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s;
}

.project-card img {
    width: 100%;
    border-radius: 10px;
}

.project-card h3 {
    color: #64ffda;
}

.project-card:hover {
    transform: scale(1.05);
}

/* Contact Section */
#contact {
    padding: 50px 20px;
    text-align: center;
}

#contact h2 {
    font-size: 2.5rem;
    color: #64ffda;
}

#contact a {
    color: #64ffda;
    text-decoration: none;
    transition: color 0.3s;
}

#contact a:hover {
    color: #8892b0;
}


