.headerHolder {
    position: absolute;
    height: 100vh;
    /* width: 100vw; */
    z-index: 1000; /* raise header above page content */
}
header {
    background-color: rgb(60, 60, 60) ;
    height: 100px;
    width: 100vw;
    position: relative;
    z-index: 1001; /* ensure header element is above other elements */
    display: flex;
    align-items: center;
}
.headerLogoHolder {
    display: block;
    height: 100%;
    aspect-ratio: 1/1;
    box-sizing: border-box;
    position:absolute;
    left: 5vw;
    padding: 5px;
    z-index: 2;
}
.headerLogo {
    width: 100%;
    height: 100%;
    background-color: rgb(255, 0, 0);
    background-image: url(../img/original.svg);
    background-size: 90%;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    border: 1px solid white;
}
.sessionButton {
    height: 70%;
    /* aspect-ratio: 1/1; */
    box-sizing:border-box;
    position: absolute;
    right: calc(10vw + 75px);
    border-style: none;
    border: 1px solid white;
    border-radius: 1vh;
    background-color: rgb(128, 90, 174);
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 5%; */

}
/* Style pour le bouton de session quand l'utilisateur est connecté */
.sessionButtonLoggedIn {
    padding: 0 2vh;
    background-image: none; /* Supprimer l'icône */
    font-size: 3vh;
    text-decoration: none;
    /* aspect-ratio: 2/1; */
}
.sessionButtonIcon {
    height: 100%;
}

/* Style pour le nom d'utilisateur */
.sessionUserName {
    font-size: 2vh;
    white-space: nowrap; /* Empêcher le retour à la ligne */
    overflow: hidden; /* Cacher le texte qui dépasse */
    text-overflow: ellipsis; /* Ajouter "..." si le texte est trop long */
}
.burgerButton {
    background-color: transparent;
    border-style: none;
}
.burgerButtonHolder {
    position: absolute;
    right: 5vw;
    height: 100%;
    aspect-ratio: 1/1;
    box-sizing: border-box;
    padding: 1.5vh;
}
nav {
    width: 100%;
    height: calc(100vh - 15vh);
    background-color: rgb(128, 90, 174);
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    position: absolute;
    opacity: 1;
    display: none;
    justify-content: center;
    z-index: 1001; /* ensure nav dropdown sits above content */
}
.navList {
    height: 100%;
    width: 55%;
    border-left: 1px solid white;
    border-right: 1px solid white;
    list-style: none;
}
.navItem {
    width: 100%;
    height: 25%;
}
.navItem:hover > *, .navItem:active > * {
    color: rgb(170, 170, 170);
}
.navLink {
    display: block;
    display: flex;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: white;
    font-size: 5vh;
    align-items: center;
    padding-left: 5vw;
}
@media screen and (max-width: 1200px) {
    header {
        height: 67.5px;
    }
    nav {
        height: calc(100vh - 67.5px);
    }
    .navList {
        width: 70%;
    }
    
}
@media screen and (max-width: 768px) {
    header {
        height: 50px;
    }
    .headerLogoHolder {
        left: 50vw;
        transform: translate(-50%, 50%);
    }
    .sessionButton {
        left: 5vw;
        right: auto;
    }
    nav {
        height: calc(100vh - 50px);
    }
    .navList {
        width: 85%;
    }
    
}

@media screen and (max-width: 320px) {
    .navList {
        width: 100%;
    }
    
}