/*#theme-switcher {*/
/*  margin-top: 6px;*/
/*}*/
.switch {
  display: inline-block;
  position: relative;
}
.switch__input {
  height: 100%;
  width: 100%;
  opacity: 0;
  padding: 0;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  cursor: pointer;
}
.switch__label {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  background-color: #2B2B2B;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(.46,.03,.52,.96);
}
.switch__indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateX(-72%);
  display: block;
  width: 20px;
  height: 20px;
  background-color: #7B7B7B;
  border-radius: 9999px;
  box-shadow: 5px 0px 0 0 rgb(0 0 0 / 20%) inset;
}
.switch__indicator::before,
.switch__indicator::after {
  position: absolute;
  content: '';
  display: block;
  background-color: #FFFFFF;
  border-radius: 9999px;
}
.switch__indicator::before {
  top: 9px;
  left: 9px;
  width: 7px;
  height: 7px;
  background-color: #FFFFFF;
  opacity: 0.6;
}
.switch__indicator::after {
  bottom: 12px;
  right: 11px;
  width: 4px;
  height: 4px;
  background-color: #FFFFFF;
  opacity: 0.8;
}
.switch__decoration {
  position: absolute;
  top: 63%;
  left: 50%;
  display: block;
  width: 5px;
  height: 5px;
  background-color: #FFFFFF;
  border-radius: 9999px;
  animation: twinkle 0.8s infinite -0.6s;
}
.switch__decoration::before,
.switch__decoration::after {
  position: absolute;
  display: block;
  content: '';
  width: 5px;
  height: 5px;
  background-color: #FFFFFF;
  border-radius: 9999px;
}
.switch__decoration::before {
  top: -11px;
  left: 8px;
  opacity: 1;
  animation: twinkle 1s infinite;
}
.switch__decoration::after {
  top: -3px;
  left: 15px;
  animation: twinkle 1s infinite -0.2s;
}
.switch__indicator,
.switch__indicator::before,
.switch__indicator::after {
  transition: all 0.4s cubic-bezier(.46,.03,.52,.96);
}
.switch__input:checked + .switch__label {
  background-color: #8FB5F5;
  border-color: #347CF8;
}
.switch__input:checked + .switch__label > .switch__indicator {
  background-color: #ECD21F;
  box-shadow: none;
  transform: translate(-50%, -50%) translateX(72%);
}
.switch__input:checked + .switch__label > .switch__indicator::before,
.switch__input:checked + .switch__label > .switch__indicator::after {
  display: none;
}
.switch__input:checked + .switch__label > .switch__decoration {
  top: 63%;
  transform: translateX(50%);
  -webkit-animation: cloud 8s linear infinite alternate-reverse both;
  animation: cloud 8s linear infinite alternate-reverse both;
  width: 10px;
  height: 10px;
}
.switch__input:checked + .switch__label > .switch__decoration::before {
  width: 5px;
  height: 5px;
  top: auto;
  bottom: 0;
  left: -4px;
  animation: none;
}
.switch__input:checked + .switch__label > .switch__decoration::after {
  width: 7px;
  height: 7px;
  top: auto;
  bottom: 0;
  left: 8px;
  animation: none;
}
.switch__input:checked + .switch__label > .switch__decoration,
.switch__input:checked + .switch__label > .switch__decoration::before,
.switch__input:checked + .switch__label > .switch__decoration::after {
  border-radius: 9999px 9999px 0 0;
}
.switch__input:checked + .switch__label > .switch__decoration::after {
  border-bottom-right-radius: 9999px;
}
