html {
  scroll-behavior: smooth;
}

.custom-sidebar {
  position: fixed;
  right: 0;
  background-color: var(--white);
  padding: 0px;
  transition: transform 0.3s ease;
  top: 210px;
  opacity:0;
  min-width: 300px;
  max-width: 300px;
  box-shadow: 1px 3px 3px 1px rgb(16 40 33 / 28%);    
  z-index: 2;
  transform: translateX(100%);
}
.custom-sidebar.sidebar-active {
   transform: translateX(0%);
   opacity:1;
}
.custom-sidebar .heading-32 {
  font-size: 20px;
  background-color: var(--secondary);
  color: #fff;
  padding: 20px;
  line-height: 1.2;
  margin-bottom: 0;
}
.custom-sidebar a {
    padding: 0 0 0 28px;
    position: relative;
    line-height: 20px;
    margin-bottom: 0;
    width: 100%;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: normal;
}

.custom-sidebar .sidebar-close {
  position: absolute;
  right: 10px;
  top: 15px;
  color: #fff;
  cursor: pointer;
  background-color: var(--brown);
  width: 30px;
  height: 30px;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #fdfdfd;
  border-radius: 100%;
}
.sidebar-close:before {
  position: absolute;
  content: "X";
  top: 1px;
}
.custom-sidebar ul {
  counter-reset: custom;
  list-style-type: none;
  padding: 30px 25px;
  margin: 0px;
  display: flex;
  flex-wrap: wrap;
}
.custom-sidebar ul li {
    counter-increment: custom;
    padding: 0;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}
.custom-sidebar ul li:not(:last-child){
  margin-bottom: 15px;
}
.custom-sidebar ul li.active:before {
  background: var(--red);
}
.custom-sidebar ul li.active > a {
  color: var(--red);
  font-weight: 600;
}
.custom-sidebar ul li:before {
  content: counters(custom, ".") " ";
  width: 20px;
  height: 20px;
  font-size: 12px;
  margin-right: 15px;
  background: #696969;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  padding-top: 2px;
}
.custom-sidebar li.active a {
  color: var(--darkbg);
}
button.sidebar-toggle-button{
	 position: fixed;
    right: 0;
    z-index: 2;
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform-origin: 100% 100%;
    -webkit-transform-origin: 100% 0%;
    border-radius: 8px 8px 0 0;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    top: 55%;
    outline: none;

        border-radius: 2px;
    border: 1px solid var(--brown);
}
button.sidebar-toggle-button i{
	    margin-left: 10px;font-size: 18px;
}


button.sidebar-toggle-button.btn-theme:hover{border-color: var(--darkbg);}