#pushbar{
    top:0px;
    left:0px;
    position: fixed;
    border: 1px black solid;
    width:70%;
    height:100%;
    z-index: 999;
    background-color: white;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    /* display: flex; */
    /* display:none; */
    
}

.pushbar-animation-ouverture{
    animation-duration: 0.5s;
    animation-name: ouverture;
}

.pushbar-animation-fermeture{
    animation-duration: 1s;
    animation-name: fermeture;
}

#pushbar-fondgris{
    position: fixed;
    opacity: 0.5;
    width:100%;
    height:100%;
    background-color: black;
    z-index: 998;
    border: 1px solid black;
    /* display:none; */
}



.pushbar-item{
    
    display:flex;
    justify-content: center;
    align-items: center;

    text-align: left;
    font-size: var(--texte-taille-7);
    height:100%;
    width:100%;
    border: 1px solid black;

    text-transform: uppercase;

    font-family: var(--police-texte);

    font-style: italic;


    font-weight: bold;

    

    /* opacity: 0.5; */

    color:black;
}

.pushbar-fermer{
    
    color: white;
    position:fixed;
   
    top:0;
    left:70%;
}


.pushbar-item:hover{
    background-color: black;
    color:white;
}

@keyframes ouverture {
    from {
        /* left:calc(-1 * var(--espace-13)); */
        display:none;
        transform-origin: top left;
        transform: scale(0,1);
        /* top: -100%; */
        
    }

    to{
        /* left:0px; */
        display:flex;
        transform: scale(1, 1);
        transform-origin: top left;
        top: 0;
    }
}

@keyframes fermeture {
    from {
        
        transform-origin: top left;
        transform: scale(1, 1);
        
        
    }
    
    to{
        transform: scale(0, 1);
        transform-origin: top left;
        
    }
}

@media(min-width:768px){
    #pushbar{
        width:var(--espace-13);
    }

    .pushbar-fermer{
    
    
        left:var(--espace-13);
    }
}