.toggle-container {
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0),
    white
  );
}
#light-1 {
  scale: 0;
  top: 35px;
  transition: all 0.35s ease;
}
#light-2 {
  scale: 1;
  top: 0;
  transition: all 0.35s ease;
}
#dark-1 {
  scale: 1;
  top: 0;
  transition: all 0.35s ease;
}
#dark-2 {
  scale: 0;
  top: 35px;
  transition: all 0.35s ease;
}
.card-switch-1 {
  appearance: none;
  position: relative;
  height: 35px;
  width: 62px;
  border-radius: 20px;
  background-image: linear-gradient(220deg, Gold, DarkOrange);
  cursor: pointer;
  &::before {
    content: "";
    position: absolute;
    height: 75%;
    aspect-ratio: 1;
    border-radius: 50%;
    left: 30%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: Ivory;
    z-index: 1;
    transition: all 0.35s ease;
  }
  &::after {
    height: 35px;
    width: 62px;
    position: relative;
    display: flex;
    align-items: center;
    left: 38px;
    color: Ivory;
    font: var(--fa-font-solid);
    font-size: 18px;
    content: "\f185";
    transition: all 0.35s ease;
  }
}
.card-switch-1:checked {
  background-image: linear-gradient(120deg, SteelBlue, Black);
  &::before {
    background-color: Azure;
    left: 70%;
  }
  &::after {
    color: Azure;
    content: "\f186";
    left: 10px;
  }
}