body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
}

h1, h2, h3 {
    margin: 0 0 10px;
}

a {
    text-decoration: none;
    color: #045D58;
    transition: color 0.3s ease;
}

a:hover {
    color: #073363;
}

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

/* En-tête */
header {
    background-color: #023C40;
    color: white;
    padding: 30px;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
}

header p {
    font-size: 1.2rem;
}

header nav ul {
    list-style: none;
    margin: 40px 0 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

header nav ul li {
    display: inline;
}

header nav ul li a {
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

header nav ul li a:hover {
    background-color: white;
}

/* Sections */
.section {
    padding: 50px 0;
    border-bottom: 1px solid #ddd;
}

.section:last-child {
    border-bottom: none;
}

.section h2 {
    text-align: center;
    color: #023C40;
    margin-bottom: 20px;
    font-size: 2rem;
}

/* A propos */
#about p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

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

#zones {
	text-align: center;
	margin-bottom: 20px;
}

/* Compétences */
#skills ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

#skills ul li {
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: bold;
}

#skills ul li:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/* Expériences */
.experience {
    margin-bottom: 20px;
}

.experience h3 {
    margin-bottom: 5px;
    color: #023C40;
}

.experience p {
    margin: 5px 0;
}

/* Projets */
#projets .projet {
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

#projets p {
    text-align: center;
}

#projets .projet a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #023C40;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#projets .projet a:hover {
    background-color: #045d58;
}

#maquettes h3 {
    texte-align: center;
}

/* Hobbies */
#hobbies ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

#hobbies ul li {
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 50px 70px;
    font-weight: bold;
    text-align: center;
}

#hobbies ul li:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}


/* Contact */
#contact p {
	text-align: center;
}

#contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

#contact label {
    font-weight: bold;
}

#contact input, #contact textarea, #contact button {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

#contact button {
    background-color: #023C40;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#contact button:hover {
    background-color: #045d58;
}

/* Footer */
footer {
    background-color: #023C40;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

footer p {
    margin: 0;
}

/* Responsive */
@media (max-width: 600px) {
    header h1 {
        font-size: 2rem;
    }

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

    #skills ul {
        flex-direction: column;
        align-items: center;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    #hobbies ul {
    grid-template-columns: 1fr; /* une colonne en version mobile */
  }
}
