.wrapper {
  display: flex;
  height: 100vh;
  width: 100vw;
}
.sidebar {
  display: flex;
  flex-direction: column;
  position: absolute;
  width: calc(100% - 60px);
  height: 100vh;
  background-color: var(--foreground-color);
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  transition: width 0.3s ease, padding 0.3s ease;
  overflow: hidden;
  z-index: 2000;
}
.sidebar-close {
  width: 0px;
}
#sidebar-btn-show {
  background-color: inherit;
  position: fixed;
  color: white;
  padding: 10px;
  font-size: x-large;
  left: calc(100% - 38px);
  top: 0.25rem /* 4px */;
}
.sidebar-header {
  display: flex;
  height: 60px;
}
#sidebar-btn-home {
  display: flex;
  place-items: center;
  flex: 1 1 auto;
  background-color: inherit;
  color: inherit;
  padding-left: 8px;
}
#sidebar-btn-home span {
  font-size: 30px;
  line-height: 36px;
}
.sidebar-menu {
  flex: 1 1 auto;
}
.sidebar-menu nav {
  padding: 8px;
}
.sidebar-menu-item {
  display: flex;
  place-items: center;
  flex: 1 1 auto;
  padding: 8px;
}
.sidebar-menu-item a span {
  flex: 1 1 auto;
}
.stage {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1 1 auto;
  padding: 1.25rem;
  overflow-x: hidden;
  overflow-y: scroll;
}

@media (min-width: 680px) {
  .wrapper {
    display: flex;
    flex-direction: row;
    height: 100vh;
    width: 100vw;
  }
  .sidebar {
    width: 280px;
    background-color: var(--background-color);
    position: static;
  }
  .sidebar-close {
    width: 0px;
  }
  .stage {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }
  #sidebar-btn-show {
    background-color: inherit;
    position: fixed;
    color: white;
    padding: 10px;
    font-size: large;
    left: auto;
    top: 0.25rem;
  }
}