*
{
    padding: 0;
    margin: 0;
}
@font-face {
	font-family: 'Delius';
	src: url('../font/Delius-Regular.ttf') format('truetype')
}
body
{
    min-height: 100vh;
    background-color: #FFE6F9 !important;
    display: flex;
    flex-direction: column;
    font-family: 'Delius' !important;
}
/* .grid-container {
    z-index: -99;
    width: 100vw;
    overflow: hidden;
    position: absolute;
}
.grid
{
    position: absolute;
    top: -40px;  Décale la grille vers le haut
    left: 0;
    width: 100vw;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fill, 150px);
    grid-auto-rows: 150px;
     gap: 0; <-- inutile, tu peux le laisser ou l'enlever
    min-height: 100vh;
    pointer-events: none;
    animation: gridMove 5s linear infinite;
    align-items: center;
    justify-items: center;
}
@keyframes gridMove
{
    0%
    {
        transform: translateY(-150px);
    }
    100%
    {
        transform: translateY(0);
    }
}
.cell
{
    width: 100px;
    height: 100px;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    margin: 0;
    border: none;
    pointer-events: auto;
}
.cell img
{
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    border-radius: 0;
    display: block;
    padding: 0;
    margin: 0;
    border: none;
} 

*/
header
{   
    display: flex;
    align-items: center;
    height: 100px;
    width: 100%;
    background-color: #faf1e7;
}
nav
{
    display: flex;
    width: 100%;
    justify-content: space-between;
    font-weight: bold;
}
nav > ul
{
    display: flex;
    align-items: center;
}
nav > ul > li
{
    list-style-type: none;
    margin-right: 20px;
}
nav > ul > li:nth-of-type(1) > button,
nav > ul > li:nth-of-type(2) > button,
nav > ul > li:nth-of-type(3) > button,
nav > ul > li:nth-of-type(4) > button,
nav > ul > li:nth-of-type(5) > button,
nav > ul > li:nth-of-type(6) > button
{
    background-color: #ff7fa3;
    border-radius: 25px;
    width: 100px;
    height: 30px;
    border-color: #FD6C9E;
    border: 0px solid black;
    transition: 0.3s;

}
nav > ul > li:nth-of-type(7) > button
{
    position: relative;
    background-color: #ff7fa3;
    border-radius: 100px;
    width: 50px;
    height: 50px;
    border-color: #FD6C9E;
    border: 0px solid black;
    transition: 0.3s;
}
.competeurPanier
{
    font-weight: bold;
    top: -5px;
    left: 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    color: whitesmoke;
    position: absolute;
    background-color: red;
}
nav > ul > li > button:hover
{
    background: #ffb6c1;
    transform: scale(1.05);
}
nav > ul > li > button > a
{
    font-family: 'Delius';
    color: whitesmoke;
    text-decoration: none;
    font-weight: bold;
}
nav > div > img
{
    height: 90px;
    margin-left: 20px;
}
main
{
    position: relative;
    flex-grow: 1;
}
footer
{
    align-items: center;
    display: flex;
    height: 50px;
    width: 100%;
    background-color: #faf1e7;
}
footer > p
{
    color: #b48a78;
    margin-left: 10px;
    font-weight: bold;
}
@media (max-width: 900px) {
    header {
        height: 70px;
    }
    nav {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }
    nav > ul {
        flex-direction: column;
        align-items: flex-end; /* Place les boutons à droite */
        background: #faf1e7;
        position: absolute;
        top: 70px;
        right: 0; /* Aligne le menu à droite */
        left: auto;
        min-width: 170px;
        width: auto; /* Prend la largeur du contenu */
        max-width: 90vw;
        padding: 20px 0 10px 0;
        display: none;
        z-index: 100;
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    }
    nav > ul.active {
        display: flex;
    }
    nav > ul > li {
        margin: 10px 20px 10px 0; /* espace à droite */
        width: auto;
        display: flex;
        justify-content: flex-end; /* Aligne chaque bouton à droite */
    }
    nav > ul > li > button {
        width: 140px;
        min-width: 120px;
        text-align: center; /* Centre le texte dans le bouton */
        display: flex;
        align-items: center;
        justify-content: center; /* Centre le contenu horizontalement */
    }
    nav > ul > li > button > a {
        width: 100%;
        text-align: center; /* Centre le texte du lien */
        display: block;
    }
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin-right: 20px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 200;
    }
    .menu-toggle span {
        height: 4px;
        width: 100%;
        background: #ff7fa3;
        margin: 5px 0;
        border-radius: 2px;
        display: block;
        transition: 0.3s;
    }
    nav > div > img {
        height: 60px;
        margin-left: 10px;
    }
}

/* Show menu-toggle only on mobile */
.menu-toggle {
    display: none;
}
@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }
}