html.dark {
  filter: invert(0.865);
}

body {
  font-family: sans-serif;
}

.dark body {
  background: #fff;
}

.dark-mode {
  display: flex;
  justify-content: center;
}
.dark-mode-toggle {
  background: #ddd;
  padding: 3px;
  border-radius: 20px;
  display: inline-flex;
  width: 105px;
  justify-content: space-between;
  align-items: center;
}

.dark-mode-toggle a {
  padding: 3px 2px;
  border-radius: 50%;
  cursor: pointer;
  color: #000;
  text-decoration: none;
  width: 28px;
  display: inline-block;
  text-align: center;
}

.auto-selected .dark-mode-toggle .auto,
.dark-selected .dark-mode-toggle .dark,
.light-selected .dark-mode-toggle .light {
  background: #aaa;
}

button, .button {
  background: none;
  border: none;
  box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
  box-sizing: border-box;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  display: inline-block;
  white-space: nowrap;
  text-decoration: none;
  vertical-align: baseline;
  text-align: center;
  margin: 0;
  min-width: 1rem;
  line-height: 1.9rem;
  padding: 0 .6rem;
  border-radius: 4px;
  overflow: visible;
  transform: translate3d(0,0,0);
  color: #000 !important;
  /* transition: background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1); */
}

.button.primary, button.primary {
  background: #3f51b5;
  color: #fff !important;
}
.dark button.primary, .dark .button.primary {
  filter: invert(1);
}

.material-icons {
  vertical-align: middle;
}
