/* écran d'un PC petit */

@media screen and (max-width: 1200px) {
    aside #logo h2 {
        display: none;
    }

    aside #sidebar h3 {
        display: none;
    }

    aside #sidebar a {
        width:  5.5rem;
    }

    aside #sidebar a:nth-child(6) {
        position: relative;
        margin-top: 5rem;
    }

    aside #sidebar a:last-child {
        position: relative;
        margin-top: -3rem;
    }

    .blocked {
        display: none;
    }
}

/* Téléphone / tablette */ 

@media screen and (max-width: 768px) {
    aside {
        position: fixed;
        left: -100%;
        background: var(--couleur-white);
        width: 18rem;
        z-index: 3;
        box-shadow: 1rem 3rem 4rem var(--couleur-light);
        height: 100vh;
        padding-right: var(--padding-cartes);
        display: none;
        animation: showMenu 400ms ease forwards;
    }

    @keyframes showMenu {
        to {
            left: 0;
        }
    }

    aside #logo {
        margin-left: 1rem;
    }

    aside #logo h2 {
        display: inline;
    }

    aside #sidebar h3 {
        display: inline;
    }

    aside #sidebar a {
        width: 100%;
        height: 3.4rem;
    }

    aside #sidebar a:nth-child(6) {
        position: absolute;
        bottom: 8.5rem;
    }

    aside #sidebar a:last-child {
        position: absolute;
        bottom: 5rem;
    }

    aside .close {
        display: inline-block;
        cursor: pointer;
    }

    aside #close-btn svg.use {
        height: 1rem;
        width: 1rem;
    }

    #right {
        width: 94%;
        margin: 0 auto 4rem;
    }

    #right #top {
        position: fixed;
        top: 0;
        left: 0;
        align-items: center;
        padding: 0 0.8rem;
        height: 4.6rem;
        background: var(--couleur-white);
        width: 100%;
        margin: 0;
        z-index: 2;
        box-shadow: 0 1rem 1rem var(--couleur-light);
    }

    #right #profile #info {
        display: none;
    }

    #right #top button svg.use {
        fill: var(--couleur-dark);
    }

    #right #top button {
        display: inline-block;
        background: transparent;
        cursor: pointer;
        color: var(--couleur-dark);
        position: absolute;
        left: 1rem;
    }

}