html:before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    z-index: -5;
    background: linear-gradient(180deg,rgba(50,70,80,.9) 0,#0d101b 100%);
}

body:before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-attachment: initial;
    background-color: transparent;
    background-image: url(../images/pattern.png);
    background-size: 4.6875rem;
    background-repeat: repeat;
    background-attachment: initial;
    z-index: -5;
}

body {
    margin: 0;
    font-family: var(--bs-body-font-family);
    font-size: var(--bs-body-font-size);
    font-weight: var(--bs-body-font-weight);
    line-height: var(--bs-body-line-height);
    color: var(--bs-body-color);
    text-align: var(--bs-body-text-align);
    background-color: var(--bs-body-bg);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

.app {padding-top: 3.25rem;}
.app-content {padding: 2rem 2rem;flex: 1;}

.main-header {
    height: 3.25rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1020;
    background: rgba(29,40,53,.95);
    display: flex;
    transition: all .15s ease-in-out;
}

.main-header .menu-toggler {
    border: none;
    background: 0 0;
    height: 100%;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.main-header .menu-toggler .bar{width:1.625rem;display:block;height:1px;background:rgba(255,255,255,.4);transition:all .2s linear}
.main-header .menu-toggler .bar+.bar{margin-top:.25rem}

body.sb-sidenav-toggled #wrapper #sidebar-wrapper {
  margin-left: 0;
}

#wrapper {
  overflow-x: hidden;
}

#sidebar-wrapper {
  width: 16.875rem;
  bottom: 0;
  position: fixed;
  top: 3.25rem;
  z-index: 1010;
  left: 0;
  transition: margin 0.25s ease-out;
}

#page-content-wrapper {
  min-width: 100vw;
  padding: 2rem 2rem;
  flex: 1;
  margin-left: 16.875rem;
}

@media (min-width: 768px) {
  #sidebar-wrapper {
    margin-left: 0;
  }

  #page-content-wrapper {
    min-width: 0;
    width: 100%;
  }

  body.sb-sidenav-toggled #wrapper #sidebar-wrapper {
    margin-left: -15rem;
  }
}

body.sb-sidenav-toggled #page-content-wrapper {
    -webkit-animation: appContentCollapse .15s both cubic-bezier(.7,0,.3,1);
    animation: appContentCollapse .15s both cubic-bezier(.7,0,.3,1);
    margin-left: 0;
}
