/*

*/
.theme-switch {
  position: relative;
  width: 130px;
  height: 32px;
  margin-left: 20px
}
.theme-switch input {
  display: none;
}

.switch {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(var(--color-dark-rgb), 0.04);
  border-radius: 30px;
  padding: 0px;
  height: 32px;
  cursor: pointer;
  font-size: 14px;
  user-select: none;
}

.switch label {
  flex: 1;
  text-align: center;
  z-index: 2;
  cursor: pointer;
}

.theme-slider {
  position: absolute;
  top: 0px;
  left: 0px;
  width: calc(33.333% - 0px);
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:var(--color-white);
  box-shadow: 0 0 10px rgba(var(--color-dark-rgb), 0.1);
  border-radius: 20px;
  transition: transform 0.3s ease;
  z-index: 1;
}

/* Posities */
#theme-light:checked ~ .switch .theme-slider {
  transform: translateX(0%);
}

#theme-system:checked ~ .switch .theme-slider {
  transform: translateX(100%);
}

#theme-dark:checked ~ .switch .theme-slider {
  transform: translateX(200%);
}