/*Simple css to style it like a toggle switch
https://dev.to/ananyaneogi/create-a-dark-light-mode-switch-with-css-variables-34l8
*/
.theme-switch-wrapper {
  display: flex;
  align-items: center;
}
.theme-switch-wrapper  em {
    margin-left: 10px;
    font-size: 1rem;
  }
.theme-switch {
  display: inline-block;
  height: 34px;
  position: relative;
  width: 60px;
}
.theme-switch input {
  display:none;
}
.slider {
  background-color: #4bacdb;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
}
.slider:before {
  background-color: #f2ca50;
  bottom: 4px;
  content: "";
  height: 26px;
  left: 4px;
  position: absolute;
  transition: .4s;
  width: 26px;
}
input:checked + .slider {
  background-color: #4f4f4f;
}
input:checked + .slider:before {
  transform: translateX(18px);
  box-shadow: 8px 8px #c6c289;
  rotate: -16deg;
  background-color: transparent;
}
.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
}


/* USE FOR ICONS
  @import url('https://use.fontawesome.com/releases/v5.2.0/css/all.css');
  :root {
    --icon: "\f185";
  }
  [data-theme="dark"] {
    --icon: "\f186";
  }
  .slider::before{
    font-family: "Font Awesome 5 Free";
    content: var(--icon);
  }
*/
