@charset "utf-8";

:host {
  --duration: .4s;
  --size: 200px;
  --fill-ripple: var(--color-default-light);
  text-align: left;
}

:host, slot {
  display: block;
  font-family: var(--font);
}

#root {
  position: relative;
}

#ripple {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  overflow: hidden;
  z-index: -1;
}

div.ripple {
  background: var(--fill-ripple);
  position: absolute;
  border-radius: 50%;
  width: 0;
  height: 0;
  transition: var(--duration) all ease-in;
  transform: translate(-50%, -50%);
}

div.ripple.run {
  width: var(--size);
  height: var(--size);
  background-color: var(--fill-static);
}

slot {
  cursor: pointer;
}

:host([selected]) {
  background: rgba(0, 0, 0, 0.03);
}

:host(:hover) {
  background: rgba(0, 0, 0, 0.08);
}

::slotted(*) {
  display: block;
  text-decoration: none;
  padding: 16px 24px;
  font-family: var(--font);
}
