nav {
    background-color: white;
    border-radius: 5px;
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #f6ba83;
}

nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

nav img {
    max-width: 100px;
    text-align: center;
}

nav a {
    text-decoration: none;
    color: black;
    font-size: 25px;
    transition: transform 0.5s ease, color 0.3s ease;
    display: inline-block;
}

nav a:hover {
    color: #fff; /* Devenir blanc au survol */
    transform: scale(1.25); /* Zoom à 120% */
}

#contact a {
    background-color: rgb(144, 174, 116);
    padding: 15px 10px;
    border-radius: 10px;
}

#rubrique {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 3rem;
}

.menuderoulant {
    list-style: none;
    display: flex;
    flex-direction: row;
    text-align: center;
}

.menuderoulant li {
    display: flex;
    flex-direction: row;
    width: 300px;
    position: relative;
    justify-content: center;
}

.menuderoulant li a:link, .menuderoulant li a:visited {
    display: block;
    padding: 6px 10px;
    text-align: center;
    text-decoration: none;
    background-color: #f6ba83;
}

.menuderoulant li a:hover {background-color: #f6ba83;}
.menuderoulant li a:active {background-color: #f6ba83;}

.menuderoulant .sousmenuderoulant {
    list-style-type: none;
    display: none;
    padding: 0;
    margin: 0;
    position: absolute;
    background-color: #f6ba83;
    top: 110%;
    z-index: 1000;
}

.menuderoulant .sousmenuderoulant li {
    margin: 0;
    padding: 0;
    text-align: center;
}

.menuderoulant .sousmenuderoulant li a:link, .menuderoulant li a:visited {
    display: block;
    text-decoration: none;
}

.menuderoulant li:hover .sousmenuderoulant {
    display: block;
}