
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px 10px 15px;
  background-color: var(--couleurs-blanc);
}

@media(min-width:500px){
    header{
padding: 20px 32px;
justify-content: space-between;
    }
}

#logo {
    display: flex;
    align-items: center;
    gap: 11px;
}

#logo svg{
    width: 38px;
    height: 40px;
    aspect-ratio: 19/20;
}

#logo p{
  width: 48px;
}

.presentPage{
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
}

#menu{
    display: flex;
    align-items: center;
    gap: 8px;
    align-self: stretch;
}

#menu-toggle {
    display: block;
}

.burger-line {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 5px 0;
    transition: 0.4s;
}


#mainNav{
    display: none;
    align-items: center;
    gap: 28px;
}


.subnav{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:10px;
    position:relative;
   height:auto;
    width:100%;
    z-index: 12;
    flex-direction: column;
    background: white;
}

@media(min-width:1100px){
    .subnav{
         height:60px;
    }
}

.subnav button{
    z-index: 12;
}

.subnav-content{
    display:none;
    position: static;
    top:60px;
    width:180px;
    background-color: var(--Blanc);
    z-index:100;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
}


.subnav .open{
    display: flex;
}

.subnav:hover .subnav-content, .subnav-content:hover{
display: flex;
}

.subnav-content a{
    min-height: 20px;
    padding: 20px 5px;
}

.subnav button{
    cursor: pointer;
    height: 50px;
}

.subnav svg{
    width:12px;
    height: 8px;
}

.subnav button{
    display: flex;
    align-items: center;
    justify-content: center;
    gap:8px;
}

 #mainNav {
		
        display: none;
        flex-direction: column;
        align-items:flex-end;
        position: absolute;
        z-index: 5;
        top: 8vh; /* Juste en dessous de l'en-tête */
        right: 0;
        background-color:var(--colorBack);
        width: 80%;
        z-index: 12;
        margin:0;
		gap:0;
        padding-top: 0;
        
    }
    
    @media(min-width:440px){
        #mainNav{
            width:70%;
        }
    }
    
     @media(min-width:550px){
        #mainNav{
            width:60%;
        }
    }


     @media(min-width:660px){
        #mainNav{
            width:50%;
        }
    }
    
    @media(min-width:900px){
        #mainNav{
            width:40%;
        }
    }


    #mainNav.show {
        display: flex;
    }

    #mainNav a {
        display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
        padding: 1em;
        text-align: center;
        border-top: 1px solid #fff;
        background-color:white;
        width: 100%;
        height: 5rem;
         z-index: 12;
    }


#subnav1 button{
    color: var(--Noir, #000);
text-align: center;
font-family: Helvetica;
font-size: 16px;
font-weight: 300;
line-height: var(--Fonts-H3helvetica-Lineheight, 20px); /* 125% */
letter-spacing: var(--Fonts-H3helvetica-LetterSpacing, 2px);
text-transform: uppercase;
position:relative;
}


#mainNav a{
    color: var(--Noir, #000);
    text-align: center;
    font-family: Helvetica;
    font-size: 16px;
    font-weight: 300;
    line-height: var(--Fonts-H3helvetica-Lineheight, 20px); /* 125% */
    letter-spacing: var(--Fonts-H3helvetica-LetterSpacing, 2px);
    text-transform: uppercase;
    height:60px;
    display: flex;
    align-items: center;
    flex-direction: row;
    padding:0;
}

#menu button{
    cursor:pointer;
}


@media(min-width:1100px){
    #menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}


#menu p{
    display:none;
}


#mainNav{
    display: flex;
align-items: center;
gap: 28px;
flex-direction: row;
position:relative;
width:auto;
top:auto;
right:auto;

}

#menu{
    display: flex;
}




.subnav{
    flex-direction: row;
    width:auto;
}

.subnav-content{
    display:none;
    position: absolute;
    top:60px;

    width:180px;
    background-color: var(--Blanc);
    z-index:100;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
}

}

#mainNav.show{
    display:flex;
}