* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f0f0;
}

header {
    background-color: #333; /* Couleur de fond du header */
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.5s;
	margin-bottom: 50px;
    overflow: visible; /* Permet à l'image de dépasser */
}

header:hover {
    background-color: #444; /* Changement de couleur au survol */
}

.logo h1 {
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 2px;
    transition: transform 0.3s;
	color: white;
}
.logo a {
	text-decoration: none;
}

.logo h1:hover {
    transform: scale(1.1); /* Agrandissement du logo au survol */
}

.header-image {
    width: 100px; /* Ajuste la taille de l'image */
    position: absolute; /* Positionne l'image */
    top: 100%; /* Centre l'image verticalement */
    left: 50%; /* Centre l'image horizontalement */
    transform: translate(-50%, -50%) translateY(-30%); /* Déplace l'image pour qu'elle dépasse du header */
    transition: transform 0.3s ease; /* Transition pour l'animation */
}

.header-image:hover {
    transform: translate(-50%, -50%) translateY(-40%) scale(1.1); /* Agrandit et déplace l'image au survol */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px; /* Espace entre les éléments */
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

nav ul li a:hover {
    background-color: #ffeb3b; /* Couleur de fond au survol */
    color: #333; /* Changement de couleur du texte */
    transform: translateY(-3px); /* Légère translation au survol */
}

/* Effet de "glow" sur le texte au survol */
nav ul li a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: #ffeb3b; /* Couleur de l'animation */
    transition: width 0.3s ease, left 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
    left: 0;
}