/* Style pour le slider */
.slider {
    /* width: 500px; */
    position: absolute;
    top: 170px;
    left: -40%; /* Modifier la propriété left */
    height: 500px;
    /* overflow: scroll; */
    padding: 10px;
    transition: left .5s ease; /* Modifier la propriété left */
    width: 35%;
    background-color: #01257D;
    color: white;
    border-radius: 6px;
  }

  .slider.active {
    left: 20px;
  }
  
  /* Style pour le contenu du slider */
  .slider-content {
    overflow-y: auto;
    max-height: 80%;
  }
  

  /* Style pour le bouton d'ouverture */
  .openSlider {
    position: absolute;
    top: 110px;
    left: 20px; /* Modifier la propriété left */
    z-index: 999;
    color: #00FFFF;
    cursor: pointer;
    background-color:#01257D ;
    padding: 3px;
    border-radius: 5px;
    font-size: calc(.8rem + 1.2vw);
  }
  
  


aside{
    width: 40%;
    height: 100vh;
    background-color: #01257D;
    color: white;
    padding: 15px;
    border-radius: 10px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    overflow: scroll;
}


::-ms-browse-scrollbar
{
    width: 10px;
    background-color:none;
    margin: 10px;
}
::-ms-browse-scrollbar-thumb
{
    width: 6px;
    
    border-radius: 7px;
    background-color:  #00ffff7e;
}
::-ms-browse-scrollbar-track
{
    display: none;
}

::-webkit-scrollbar
{
    width: 10px;
    background-color:none;
    margin: 10px;
}
::-webkit-scrollbar-thumb
{
    width: 6px;
    
    border-radius: 7px;
    background-color: #00ffff7d;
}
::-webkit-scrollbar-track
{
    display: none;
}

aside summary{
    font-size: calc(0.5rem + 1vw);
    font-weight: bold;
    cursor: pointer; 
}
aside ul {
    position: relative;
    left: 30px;
    top: 10px;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    width: 93%;
    font-size: calc(0.5rem + .7vw);
}

aside ul li a{
    color: white;
    display: flex;
    align-items: center;
    column-gap: 10px;
    text-decoration: none;
    transition: all.2s;
    font-weight: bold;
}

aside ul li a:hover{
    color: #003;
}
aside ul li a img{
    height: 25px;
}


@media (max-width:900px){
    .slider {
        width: 50%;
        left: -50%;
    }
    
}

@media (max-width:650px){
    .slider {
        width: 60%;
        left: -60%;
    }
    aside ul li a img{
        height: 20px;
    }
    
}

@media (max-width: 480px){
    .slider {
        width: 70%;
        left: -70%;
    }
}


@media (max-width: 350px){
    .slider {
        width: 75%;
        left: -75%;
    }
}