@font-face {
  font-family: 'Nunito';
  src:url('/nunito/static/Nunito-Regular.ttf') format('truetype');
  src:url('/nunito/static/Nunito-Bold.ttf') format('truetype');
  src:url('/nunito/static/Nunito-SemiBold.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito'
}

.sidebar {
    position: fixed;
    left: -13px;
    top: 3rem;
    z-index: 1;
    width: 250px;
    height: 100vh;
    padding: 0 1.3rem;
    color: white;
    overflow: hidden;
    background: white;
    margin-top: 13px;
    border-right: 0.1px solid black;
    transition: width 0.3s, left 0.3s; /* Added transition for smooth toggle */ 
}

.sidebar.closed {
    width: 74px;
}

.logout {
    position: absolute;
    bottom: 54px;
    left: 0;
    width: 100%;
}

/* Main body */

#page.drawers {
    margin-top: 0px;
    position: relative;   
    transition: width 0.3s;
}

.sidebar.closed ~ #page.drawers.drag-container {
    margin-left: 5%;
    max-width:95%
}

.toggle-btn {
    position: fixed;
    height: 2rem;
    width: 2rem;
    top: 6rem;
    left: 13.5rem;
    background: none;
    border: none;
    color: rgb(11, 11, 11);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    border-radius: 50%;
    background-color: #f0efeb;
    transition: left 0.3s;   
}

.sidebar.closed ~ .toggle-btn {
    left: 2.9rem; 

.toggle-btn.closed {
    left: 2.3rem;}

#sidebar {
  width: 75px;  
}

#sidebar-btn {
  margin-left: -170px;
  transition: margin-left 0.3s ease; 
}

#page-wrapper #page{
margin-top: 0;
}

.moremenu .nav-link.active:focus, .moremenu .nav-link.active:hover {
  background-color: #f8f9fa;
  border-bottom-color: #f8f9fa;
}

.primary-navigation .navigation .nav-link {
  height: 60px;
  color: #1d2125;
  border-top: 0px solid #fff0;
}


.nav-link:focus, a.dropdown-toggle:focus{
  outline: 0;
  box-shadow: 0 0 0 0px rgba(15,108,191,.75);
}

.moremenu .nav-link {
  height: 60px;
  display: flex;
  align-items: center;
  border-right: none;
  border-bottom: solid 0px transparent;
  border-left: none;
  border-top: none;
}