  @keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}
.icon{
    height: 24px;
    margin-left: 5px;
    margin-right: 5px;
}

.icon-switcher {
  width: 50px;
  height: 24px;
  position: relative;
  cursor: pointer;
  user-select: none;
}
.icon-switcher > .control {
  display: none;
}
.icon-switcher > .control + .peg {
  display: inline-block;
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #999999;
  transition: 0.2s;
  background-color: #fff;
}
.icon-switcher > .control ~ .bg {
  border-radius: 12px;
  width: 100%;
  height: 100%;
  border: 1px solid #999999;
  background-color: #fff;
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.icon-switcher > .control ~ .bg::before {
  content: "";
  position: absolute;
  left: calc(100% - 20px);
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #262626;
  transition: 0.2s ease-out;
}
.icon-switcher > .control ~ .bg::after {
  content: "";
  position: absolute;
  left: calc(100% - 14px);
  top: -1px;
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #fff;
  transition: 0.2s ease-out;
}
.icon-switcher > .control:checked + .peg {
  left: calc(100% - 24px);
}
.icon-switcher > .control:checked ~ .bg {
  background-color: #262626;
}
.icon-switcher > .control:checked ~ .bg::before {
  left: 6px;
  width: 14px;
  height: 14px;
  background-color: #ffd712;
  filter: blur(4px);
}
.icon-switcher > .control:checked ~ .bg::after {
  background-color: #ffd712;
  width: 12px;
  height: 12px;
  top: initial;
  left: 8px;
}
 .nav-item .bg-light{
  background-color: #fff;
  border-radius: 10px;
  padding:2px;
  color: #000;
}
.nav-item .bg-dark{
  background-color: #000;
  border-radius: 10px;
  padding:2px;
  color: #fff;
}

  .nav-item{ 
    transition: all 250ms ease-in-out;
    border: none;
    border-radius: 10px;
  }
@media (min-width: 540px) {
  .offcanvas-end{
    width: 65%;
  }
  
}
@media (min-width: 768px) {
  .offcanvas-end{
    width: 40%;
  }
}
@media (min-width: 992px) {
  .nav-item {
    background-color: #0000 !important;
  }
}
