*{
    margin: 0;
    padding: 0;

}
main{
   
    margin-left: -20px;
    margin-top: 20px;
   
}
.footer-content{
    text-align: center;
}
html{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5rem;
}
body{
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: auto 1fr;

}
#sidebar{
    box-sizing: border-box;
    height: 100vh;
    width: 270px;
    padding: 5px 1em;
    background-color: #eef0f1;
    border-right: 1px solid;
    position: sticky;
    top: 0;
    align-self: start;
    transition: 300ms ease-in-out;
    overflow: hidden;
    text-wrap: nowrap;
}
#sidebar.close{
    padding: 2px;
    width: 48px;
}
#sidebar.close.text{
    opacity: 0;

}
#sidebar ul{
    list-style: none;
}
#sidebar > ul > li:first-child{
   display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
    .logo{
        font-weight: 800;
    }
}
#sidebar ul li.active a{
    color: #084776;
   

}

#sidebar a, #sidebar .dropdown-btn, #sidebar .logo{
    border-radius: 4em;
    padding: .55em;
    text-decoration: none;
    color: #084776;
    display: flex;
    align-items: center;
    gap: 1em;


}
.fa-caret-down {
    float: right;
    padding-right: 8px;
  }
.dropdown-btn{
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
}
.dropdown-container {
    display: none;
    padding-left: 8px;
}
#sidebar svg{
    flex-shrink: 0;
}

#sidebar a span, #sidebar .dropdown-btn span{
    flex-grow: 1;

}

#sidebar.sub-menu{
    
    display: grid;
    grid-template-rows: 0fr;
    transition: 300ms ease-in-out;
    > div{
        overflow: hidden;
    }
}

#sidebar.sub-menu.show{
    grid-template-rows: 1fr;
    
}
.dropdown-btn svg{
    transition: 200ms ease;
}

.rotate svg:last-child{
    rotate: 180deg;
}



#sidebar .sub-menu a{
    padding: left 1em;
}
#toggle{
    margin-left: auto;
    /* padding: 1em; */
    border: none;
    border-radius: .5em;
    background: none;
    cursor: pointer;
    height: auto;
    svg{
        transition: rotate 150ms ease;
    }
}

#container {
    display: flex;
  }
main{
    padding: 20px;
    /* width: 100%; */
 }




