@use 'synergy-colors';
@use 'synergy-fonts';
@use 'synergy-animations';


//ASIDE/////////////////////////////////////////////////////////////

.nav{
    font-family: map-get(synergy-fonts.$text, font-family);
    font-style: map-get(synergy-fonts.$text, font-style);
    font-weight: map-get(synergy-fonts.$text, font-weight);
    font-size: map-get(synergy-fonts.$text, font-size);
    line-height: map-get(synergy-fonts.$text, line-height);
}

.header__aside {

  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 16px;
  color: map-get(synergy-colors.$blue, 300);
  font-size: 24px;
  font-weight: bold;

  position: fixed; /* Hacer que el header sea fijo */
  top: 0; /* Fijar la posición en la parte superior de la página */
  left: 40px; /* Centrar el header en el eje x */
  width: 210px; /* Establecer el ancho del header al 100% para que ocupe todo el ancho del contenedor padre */
  z-index: 1; 

  background-color: white;
}

.icon__aside {
  height: 32px;
}

.title__header__aside {
  margin-left: 16px;
}

.nav{
    position: relative;
    width: 300px;
    border-radius: 0 16px 16px 0;
    background-color: white;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-right: 20px;
    transition: all .3s ease-in-out;
    border-bottom-right-radius: 16px;
    height: 100%;
}

.nav:hover{
    width: 370px;
}

.list{
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    border-bottom-right-radius: 16px;
    margin-top: 75px;
    // overflow-x: hidden;
    overflow-y: auto;
}

.list__item{
    list-style: none;
    width: 100%;
    text-align: center;
    transition: all .5s ease-in-out;
}


.list__item--click{
    cursor: pointer;
}

.list__button{
    display: flex;
    align-items: center;
    gap: 1em;
    width: 70%;
    margin: 0 auto;
    transition: all .3s ease-in-out;
    padding-right: 10px;
    padding-left: 10px;
    border-radius: 6px;
    cursor: pointer;
    height: 50px;
}

.list__button:hover{
    background-color: map-get(synergy-colors.$blue, 50);
}

.list__arrow{
    margin-left: auto;
    transition: all .3s ease-in-out;
}

.nav__link{
    display: block;
    padding: 15px 0;
    text-decoration: none;
    transition: all .3s ease-in-out;
}

.nav__link--inside{
    padding-left: 0;
}

.nav__link--inside:hover{
    transition: all .3s ease-in-out;
}

.list__show{
    width: 80%;
    margin-left: auto;
    list-style: none;
    height: 0;
    transition: all .7s ease-in-out;
    overflow: hidden;
    padding-left: 0;
}

.list__inside--1{
    border-left: 2px solid map-get(synergy-colors.$purple, 300);
}

.list__inside--2{
    border-left: 2px solid map-get(synergy-colors.$blue, 300);
}

.nav__link--inside{
    border-radius: 6px;
    transition: all 3s ease-in-out;
}

.active-arrow{
    transform: rotate(-90deg);
}

.active-list__show{
    height: 100%;
}

.list__icon{
    color: map-get(synergy-colors.$blue, 300);
}

.list__arrow{
    color: map-get(synergy-colors.$blue, 300);
}



.selected{
    border-left: 4px solid map-get(synergy-colors.$blue, 300);
    transition: border-left 0.1s ease-in-out;
    background-color: map-get(synergy-colors.$blue, 50);
}