.sidebar {
  position: fixed;
  left: 0;
  bottom: 0;
  top: 2rem;
  background-color: var(--first-color);
  width: 3.5rem;
  border-right: 0.1px solid var(--first-color-alt);
  z-index: 70;
  padding-top: 2rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.sidebar.active {
  transform: translateX(0) !important;
}

.sidebar-toggle {
  z-index: 80;
  position: fixed;
  top: 3rem;
  left: 0; /* Start at the left edge of the viewport */
  background-color: var(--first-color);
  border-radius: 0 0 0.5rem 0;
  width: 1.5rem;
  height: 3rem;
  cursor: pointer;
  transition: left 0.3s ease; /* Animate the left property instead of transform */
}

.sidebar-toggle.toggle-active {
  left: 3.5rem; /* Adjust this value to match the width of your sidebar */
}

.sidebar-button {
  background-color: var(--first-color);
  border-right: 1px solid var(--first-color-alt);
  height: 3.5rem;
  width: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
  transition: background-color 0.5s;
}

.sidebar-button:hover {
  background-color: var(--body-color-alt);
}

.sidebar-button img {
  height: 2rem;
  margin-bottom: 0.3rem;
}

.sidebar-button div {
  font-family: var(--body-font);
  font-size: 0.8rem;
  font-weight: 550;
  color: var(--first-color-alt);
}
